3

我已经通过嵌入Watch 应用程序多次将该应用程序部署到App Store。但是,由于 Xcode 7.x 我无法存档应用程序(适用于开发)。

ValidateEmbeddedBinary DerivedData/App/Build/Intermediates/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App.app/PlugIns/App\ WatchKit\ Extension.appex cd /Users/me/Development/App/iOS export PATH="/Applications/Xcode. app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr /sbin:/sbin" builtin-embeddedBinaryValidationUtility /Users/me/Development/App/iOS/DerivedData/App/Build/Intermediates/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App/PlugIns/App\ WatchKit\ Extension。appex -signing-cert 3120BEFCF28921F980E9AE4115E0EF0172C066EF -info-plist-path /Users/me/Development/App/iOS/DerivedData/App/Build/Intermediates/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App.app/Info.plist

错误:WatchKit 扩展不包含任何 WatchKit 应用程序。验证 WatchKit App 的 Info.plist 中 WKWatchKitApp 的值是否设置为 YES。

我已经尝试了许多其他线程中建议的答案:

错误:WatchKit 扩展不包含任何 WatchKit 应用程序。

WatchKit 应用程序无法在模拟器上运行

Watch 应用程序仍然使用 WatchOS1 编写。我错过了什么?我对此感到非常沮丧,因为我无法发货,而且我花了这么多小时徒劳无功

编辑

我已将应用程序的部署目标从 7.0 更改为 8.2,现在它已存档。疯狂的。

但是我不希望放弃 iOS7(代表约 10% 的用户)。

归档后将所有目标设置为 8.2 并在应用程序的目标中再次设置回 7.0。不再抱怨。Xcode,请停止这种疯狂!

4

0 回答 0