[英]“App is crashing on startup” in Apple App store, but it works fine in Debug/Adhock?
I have a blank app, which is having none code. 我有一个空白的应用程序,没有代码。 I've generated corresponding provisioning profiles for it and attached them to it.
我为它生成了相应的配置文件并将它们附加到它上面。 I've set the compiler options - generate universal binary.
我已经设置了编译器选项 - 生成通用二进制文件。
I have Mac OS X 10.11.1 ( El Capitan ), XCode 7.1, iOS SDK 9.1, Delphi 10 Seattle. 我有Mac OS X 10.11.1(El Capitan),XCode 7.1,iOS SDK 9.1,Delphi 10 Seattle。 I am testing on iPad 3 / iOS 9.1 and iPhone 4 / iOS 7.1.2
我正在测试iPad 3 / iOS 9.1和iPhone 4 / iOS 7.1.2
When I try in debug and adhock - the app runs like charm, anyway my builds is rejected in Apple Application Store by the reason : 当我尝试调试和adhock时 - 应用程序像魅力一样运行,无论如何我的构建在Apple Application Store中被拒绝的原因是:
"2.1 Details “2.1详情
We were unable to review your app, as it crashed on launch. 我们无法审核您的应用,因为它在发布时崩溃了。
Next Steps 下一步
Please revise your app and test it on a device to ensure it will launch without crashing." 请修改您的应用并在设备上进行测试,以确保它能够在不崩溃的情况下启动。“
It turns out that the hint @BinaryGuy have made is solution of the problem. 事实证明,@ BinaryGuy的提示已经解决了问题。 Seems like UI_USER_INTERFACE_IDIOM is kept and linked into the compiled IPA if the developer use some of the classes containing a link toward it.
似乎UI_USER_INTERFACE_IDIOM保存并链接到编译的IPA中,如果开发人员使用某些包含指向它的链接的类。
The classes which causing the issues is primarely related to the previously accessible hardware ID's on the Apple products, now these classes seems like is deprecated and causing the Application Store rejection without obvious reason. 导致这些问题的类主要与Apple产品上以前可访问的硬件ID相关,现在这些类似乎已被弃用并导致Application Store拒绝而没有明显的原因。
Please if You are using some of the follow Delphi units : 如果您正在使用以下德尔福单位:
FMX.Helpers.iOS.pas ( TUIDevice / UIUserInterfaceIdiomPad references), FMX.Helpers.iOS.pas ( TUIDevice / UIUserInterfaceIdiomPad参考),
iOSapi.UIKit.pas ( UIUserInterfaceIdiomPhone references), iOSapi.UIKit.pas ( UIUserInterfaceIdiomPhone引用),
FMX.Platform.iOS.pas ( UIUserInterfaceIdiomPad references), FMX.Platform.iOS.pas ( UIUserInterfaceIdiomPad参考),
double check if they could be avoided. 仔细检查是否可以避免。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.