简体   繁体   English

Apple App Store中的“应用程序在启动时崩溃”,但它在Debug / Adhock中运行良好吗?

[英]“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." 请修改您的应用并在设备上进行测试,以确保它能够在不崩溃的情况下启动。“

  • What could be the possible reason of causing this issue ? 造成这个问题的可能原因是什么?

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.pasTUIDevice / UIUserInterfaceIdiomPad参考),

iOSapi.UIKit.pas ( UIUserInterfaceIdiomPhone references), iOSapi.UIKit.pasUIUserInterfaceIdiomPhone引用),

FMX.Platform.iOS.pas ( UIUserInterfaceIdiomPad references), FMX.Platform.iOS.pasUIUserInterfaceIdiomPad参考),

double check if they could be avoided. 仔细检查是否可以避免。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 iOS 应用程序在购买订阅后启动时崩溃但仅在发布到 AppStore 时,TestFlight 工作正常 - iOS app crashing on startup after purchasing a subscription but only when released to the AppStore, TestFlight works fine 应用程序在iPhone 5 6.1.4上崩溃,但在其他应用程序上正常运行 - App crashing on iPhone 5 6.1.4 but works fine on others 在设备上启动app的例外,在模拟器中工作正常 - Exception on app startup in device,works fine in simulator iOS应用程序在启动时崩溃 - iOS App crashing at startup 在Apple Enterprise Store中发布应用程序,它如何工作? - Publishing an app in the Apple Enterprise Store, how it works? Xamarin应用程序在设备启动时崩溃,在模拟器中运行良好 - Xamarin app crashes on startup on device, works fine in simulator iPad应用在iPad 3上崩溃,在iPad 2上正常运行,内存不足警告 - iPad app crashing on iPad 3, works fine on iPad 2, low memory warning Firebase应用在启动时崩溃 - Firebase App crashing on startup swift App在App Store上启动时崩溃 - 在设备上完美运行 - App Crashes at startup on App Store review - works perfectly on devices iOS应用在发布模式下崩溃,在调试模式下工作 - iOS app crashing in release mode, works in debug mode
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM