是否可以加载 ios 应用程序的调试版本来试飞?

Is it possible to load a debug verion of an ios app to test flight?

在 testflight 上进行一些测试时,我们遇到了一些应用程序崩溃问题。试飞中提供的崩溃报告不是很有用,因为我无法在我的应用程序中看到崩溃发生在哪个点。也没有显示日志输出。因此,我尝试将调试版本上传到 testflight,以至少将其提供给内部测试人员。 上传调试版本后,我收到了这封电子邮件:

ITMS-90338: Non-public API usage - The app references non-public symbols in Frameworks/Flutter.framework/Flutter: _IOIteratorNext, _IOObjectRelease, _IORegistryEntryCreateCFProperties, _IORegistryEntryGetChildIterator, _IOServiceGetMatchingServices, _IOServiceNameMatching, _kIOMasterPortDefault, _ptrace. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at

通常无法将调试版本上传到 testflight 吗?

一般来说上传Debug版本到TestFlight是没有问题的。我希望 Flutter 在他们的 Debug 构建中使用这些 non-public 符号,但在 Release 中删除它们。 (“此外,请注意,上述一个或多个 API 可能位于您的应用程序附带的静态库中。”)

另请参阅:https://github.com/flutter/flutter/issues/64430

来自Flutter Engine。如果 FLUTTER_RUNTIME_MODE 是 DEBUG 或 PROFILE,请参阅 IOKit.h 他们导入私有方法的地方。