Please provide more details. App Preview runs on your mobile device, so it should not have any impact on your XDK. Where are you seeing the "process.exit()" call? In App Preview or somewhere in the XDK?
The reason I'm confused is because you refer to adding a plugin in the XDK and reference App Preview, which are totally isolated from each other. Can you provide a specific example that would allow me to reproduce and understand precisely what is going on, I need that in order to figure out a workaround or direct engineering in order to find a solution.
Screenshots or a video are very helpful to help me understand the issue.
I see you are on a Mac. There was a change in how and where the XDK local files are installed that occasionally causes trouble. The simplest way to resolve it is to a) exit the XDK and b) open a terminal window and type the following at the prompt:
rm -rf ~/Library/Application\ Support/XDK
You will lose the list of projects in the XDK project list, but you can open your projects by going to the Projects tab and using the GREEN button at the lower left to "Open an Intel XDK Project." Then find the <project-name>.xdk file for the project of interest and open it to open your project.
But first, you might try creating the "hello world" project to be sure that fixed the issue.
Tried the above and doesn't make any difference for me except all my projects need to be added in manually
Has anyone got this working on Mac? I'm on MacOS Sierra 10.12.6 if that helps?