Opens the splashscreen then shuts down IOS Delphi XE8

白昼怎懂夜的黑 提交于 2019-12-11 03:35:22

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!