问题
Good morning,
I have installed Delphi XE8 on my computer with windows 7 X64, also I have a virtual machine with virtualbox with Yosemite (10.10) also I have the paserver 16.0 and Xcode version 6.3.1 (6S1002), the problem is that when I compiling with IOS simulator 8.3, does not work, get to compile perfectly but opens the splashscreen and then shuts down.
I tried to reinstall xcode reinstall Mac, but everything remains the same.
回答1:
On project source I put my Application on the main thread.
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
I also had a TPushEvents
component which was Autoactivate=True
by default. I changed it to false. also uncheck pushmessages from project options.
Extra: Here is 2 SO questions similar to yours which have answers
xcode simulator crashing xcode when trying to run app
App opens then immediately closes - iphone simulator
Hope these help
来源:https://stackoverflow.com/questions/30372183/opens-the-splashscreen-then-shuts-down-ios-delphi-xe8