本文介绍了打开启动画面,然后关闭IOS Delphi XE8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

早上好

我已经在装有Windows 7 X64的计算机上安装了Delphi XE8,也有一个带有带Yosemite(10.10)的virtualbox的虚拟机,也有paserver 16.0和Xcode版本6.3.1(6S1002),问题是当我使用IOS模拟器8.3进行编译,无法正常工作,可以完美编译,但可以打开启动画面,然后关闭.

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.

我尝试重新安装xcode,然后重新安装Mac,但是一切保持不变.

I tried to reinstall xcode reinstall Mac, but everything remains the same.

推荐答案

在项目源上,我将我的应用程序放在了主线程上.

On project source I put my Application on the main thread.

Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;

我还有一个 TPushEvents 组件,默认情况下该组件为 Autoactivate = True .我将其更改为false.还要取消选中项目选项中的pushmessages.

I also had a TPushEvents component which was Autoactivate=True by default. I changed it to false. also uncheck pushmessages from project options.

额外:这是与您类似的2个有问题的答案

Extra: Here is 2 SO questions similar to yours which have answers

尝试运行应用时,xcode模拟器崩溃了xcode

应用程序打开后立即关闭-iPhone模拟器

希望这些帮助

这篇关于打开启动画面,然后关闭IOS Delphi XE8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 12:33