我们的应用程序在 iOS 9 时崩溃,由 Xcode 10 上传
our app crashed in iOS 9 which upload by Xcode 10
我们的应用程序在 iOS 9 时崩溃,由 Xcode 10 GM Seed 上传到 App Store。当使用 XCode 10 GM Debug Or Archive To Ad_Hoc 时,它是 运行 完美的。这是一些调用堆栈。
Xcode 10 GM 是否与 image.assets 或其他人有任何关系?
苹果回复
不要等待 Apple 修复,而是使用 Xcode 9 提交,同时对新 API 使用 NSInvocation。它涉及更多代码,但您的用户会很高兴。
编辑 4: 来自 Xcode 10.2 beta 发行说明:
Resolved an issue that affected app compatibility with iOS 9.0, 9.1, and 9.2 when distributing an app for local or enterprise distribution. App asset catalogs built using Xcode 10 with a deployment target of iOS 9.0, 9.1 or 9.2 produced content incompatible with the runtimes of those iOS versions when distributed using local or enterprise distribution. Rebuilding the app with Xcode 10.2 resolves this issue. (46893768, 44535967)
编辑 3: 来自修订后的 Xcode 10.1 发行说明:
Asset Catalog
Known Issues
Apps that contain asset catalogs built using Xcode 10 or later with a deployment target set to iOS 9.0, 9.1 or 9.2 produce content incompatible with the runtimes of those iOS versions. (44535967, 45723580, 45723189)
问题依旧。 ♂️
编辑 2: 显然,问题仍未完全解决。
编辑: Xcode 10.1 现已发布。
这已在 Xcode 10.1 beta 2 中修复:
Resolves an issue that affected app compatibility with iOS 9.0, 9.1 and 9.2. Apps containing asset catalogs built with Xcode 10 whose deployment target was set to iOS 9.0, 9.1 or 9.2 would produce content incompatible with the runtimes of those iOS versions. Rebuilding the application with Xcode 10.1 resolves this issue. (44535967)
我找到了 Xcode 10.1 Archive
的解决方案
将构建系统设置为旧构建系统而不是默认构建系统
文件 -> 工作区设置 -> 构建系统:更改为旧版构建系统
我在自己的应用程序上测试过,效果很好。
希望 Apple 能尽快修复此崩溃。
此错误已解决。
Asset Catalog
Resolved Issues
Resolved an issue that affected app compatibility with iOS 9.0, 9.1, and 9.2 when distributing an app on the App Store. App asset catalogs built using Xcode 10 with a deployment target of iOS 9.0, 9.1 or 9.2 produce content incompatible with the runtimes of those iOS versions when distributed via the App Store. Rebuild and resubmit the app using Xcode 10.1 to resolve the issue. (44535967, 45723580, 45723189)
Xcode 10.1 Release Notes
我们的应用程序在 iOS 9 时崩溃,由 Xcode 10 GM Seed 上传到 App Store。当使用 XCode 10 GM Debug Or Archive To Ad_Hoc 时,它是 运行 完美的。这是一些调用堆栈。
Xcode 10 GM 是否与 image.assets 或其他人有任何关系?
苹果回复
不要等待 Apple 修复,而是使用 Xcode 9 提交,同时对新 API 使用 NSInvocation。它涉及更多代码,但您的用户会很高兴。
编辑 4: 来自 Xcode 10.2 beta 发行说明:
Resolved an issue that affected app compatibility with iOS 9.0, 9.1, and 9.2 when distributing an app for local or enterprise distribution. App asset catalogs built using Xcode 10 with a deployment target of iOS 9.0, 9.1 or 9.2 produced content incompatible with the runtimes of those iOS versions when distributed using local or enterprise distribution. Rebuilding the app with Xcode 10.2 resolves this issue. (46893768, 44535967)
编辑 3: 来自修订后的 Xcode 10.1 发行说明:
Asset Catalog
Known Issues
Apps that contain asset catalogs built using Xcode 10 or later with a deployment target set to iOS 9.0, 9.1 or 9.2 produce content incompatible with the runtimes of those iOS versions. (44535967, 45723580, 45723189)
问题依旧。 ♂️
编辑 2: 显然,问题仍未完全解决。
编辑: Xcode 10.1 现已发布。
这已在 Xcode 10.1 beta 2 中修复:
Resolves an issue that affected app compatibility with iOS 9.0, 9.1 and 9.2. Apps containing asset catalogs built with Xcode 10 whose deployment target was set to iOS 9.0, 9.1 or 9.2 would produce content incompatible with the runtimes of those iOS versions. Rebuilding the application with Xcode 10.1 resolves this issue. (44535967)
我找到了 Xcode 10.1 Archive
的解决方案将构建系统设置为旧构建系统而不是默认构建系统
文件 -> 工作区设置 -> 构建系统:更改为旧版构建系统
我在自己的应用程序上测试过,效果很好。
希望 Apple 能尽快修复此崩溃。
此错误已解决。
Asset Catalog
Resolved Issues
Resolved an issue that affected app compatibility with iOS 9.0, 9.1, and 9.2 when distributing an app on the App Store. App asset catalogs built using Xcode 10 with a deployment target of iOS 9.0, 9.1 or 9.2 produce content incompatible with the runtimes of those iOS versions when distributed via the App Store. Rebuild and resubmit the app using Xcode 10.1 to resolve the issue. (44535967, 45723580, 45723189) Xcode 10.1 Release Notes