';会议结束';将应用程序从Delphi启动到iOS模拟器时
我正试图通过以下参数将多平台应用程序(用Delphi XE7+Firemonkey编写)部署到iOS模拟器:';会议结束';将应用程序从Delphi启动到iOS模拟器时,delphi,ios-simulator,delphi-xe7,paserver,Delphi,Ios Simulator,Delphi Xe7,Paserver,我正试图通过以下参数将多平台应用程序(用Delphi XE7+Firemonkey编写)部署到iOS模拟器: 德尔福XE7 OSX 10.8美洲狮 代码5.1.1 命令行工具 PAServer 15.0(iOS SDK 7.1-也使用6.1进行了测试) 我的应用程序需要在Windows、Android、iOS和OSX中运行。除了iOS,其他的都可以使用了,包括我使用相同的设置编译的OSX,没有任何问题 我使用密码创建了一个到我的PASServer的连接配置文件,该配置文件在编译到OSX和为i
- 德尔福XE7
- OSX 10.8美洲狮
- 代码5.1.1
- 命令行工具
- PAServer 15.0(iOS SDK 7.1-也使用6.1进行了测试)
谢谢几天后,我发现了问题所在,因此我将在这里发布解决方案,以帮助可能有相同问题的其他人 转到项目-->项目选项-->版本信息 在de iOS模拟器配置下,Delphi IDE(XE7)自动插入以下键和值: CbundLeverVersion=1.0.0 事实证明,iOS项目还需要其他一些调整: 以下是Embarcaderos iOS演示应用程序“Location”中的密钥,在我将它们插入到项目中后,它解决了我的问题:
CFBundleName = $(ModuleName)
CFBundleDevelopmentRegion = en
CFBundleDisplayName = $(ModuleName)
CFBundleIdentifier = $(ModuleName)
CFBundleInfoDictionaryVersion = 7.1
CFBundlePackageType = APPL
CFBundleSignature = ????
LSRequiresIPhoneOS = true
CFBundleAllowMixedLocalizations = YES
CFBundleExecutable = $(ModuleName)
UIDeviceFamily = iPad & iPhone
CFBundleResourceSpecification = ResourceRules.plist
NSLocationAlwaysUsageDescription = The reason for accessing the location information of the user
NSLocationWhenInUseUsageDescription = The reason for accessing the location information of the user
FMLocalNotificationPermission = false
有一个特殊的键,我相信它是“会话结束”错误的主要原因:UIDeviceFamily
此键有3个选项(不接受任何字符串值):
-iPhone
-iPad
-iPhone和iPad
如果没有这个,iOS模拟器就不知道它是哪种类型的应用程序,所以它不会启动。
您需要添加具有相应键名的键,然后使用相应的组合框选择UI类型
项目中还缺少以下内容:
项目->项目选项->应用程序
iPhone和iPad都有一个列表,列出了默认图标的路径,有几种大小,在创建新项目时没有正确填写
因此,您可以使用自己的图标和图像,也可以使用默认设置:
iPhone:
Application Icon 57x57: $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_57x57.png
Application Icon 60x60: $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_60x60.png
Application Icon 87x87: $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_87x87.png
Application Icon 114x114: $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_114x114.png
Application Icon 120x120: $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_120x120.png
Application Icon 180x180: $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_180x180.png
Launch Image 320x480: $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_320x480.png
Launch Image 640x960: $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_640x960.png
Launch Image 640x1136: $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_640x1136.png
Launch Image 750x1334: $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_750x1334.png
Launch Image 1242x2208: $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_1242x2208.png
Launch Image 2208x1242: $(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_2208x1242.png
Spotlight Search Icon 29x29: $(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_29x29.png
Spotlight Search Icon 40x40: $(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_40x40.png
Spotlight Search Icon 58x58: $(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_58x58.png
Spotlight Search Icon 80x80: $(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_80x80.png
iPad:
Application Icon 72x72: $(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_72x72.png
Application Icon 76x76: $(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_76x76.png
Application Icon 144x144: $(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_144x144.png
Application Icon 152x152: $(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_152x152.png
Launch Image 768x1004: $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_768x1004.png
Launch Image 768x1024: $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_768x1024.png
Launch Image 1024x748: $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_1024x748.png
Launch Image 1024x768: $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_1024x768.png
Launch Image 1536x2008: $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_1536x2008.png
Launch Image 1536x2048: $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_1536x2048.png
Launch Image 2048x1496: $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_2048x1496.png
Launch Image 2048x1536: $(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_2048x1536.png
Spotlight Search Icon 40x40: $(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_40x40.png
Spotlight Search Icon 50x50: $(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_50x50.png
Spotlight Search Icon 80x80: $(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_80x80.png
Spotlight Search Icon 100x100: $(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_100x100.png
Setting Icon 29x29: $(BDS)\bin\Artwork\iOS\iPad\FM_SettingIcon_29x29.png
Setting Icon 58x58: $(BDS)\bin\Artwork\iOS\iPad\FM_SettingIcon_58x58.png
我们有相同的错误消息,尽管环境稍有不同(Delphi XE8和Yosemite) 在我们的例子中,连接的名称中有括号。 我们通过将PAServer置于详细模式,使用“v”命令,并重复在单独的终端中看到的命令来发现这一点
编辑连接名称中的括号为我们解决了问题。另一个不相关的提示是,在向应用商店提交任何内容之前,您必须切换到支持iOS8 64位。感谢您的提示,我不知道这一点。这意味着我必须把我的Mac升级到OSX,对吗?我相信我将无法在我的Mountain Lion中使用iOS8…我相信是的,不记得了,我已经有了OSX和XCode的最新更新。此外,XE7还需要iOS8的热修复程序。但是我使用XE8。