Xcode 不支持的架构 armv7k

问题描述:

当尝试使用带有 xcode 6.2 的 watchkit 验证我的新应用时,我收到一个奇怪的错误:

When trying to validate my new app using watchkit with xcode 6.2 I get a strange error:

iTunes Store 操作失败.不支持的架构.您的可执行文件包含不受支持的架构[armv7k]".

iTunes Store operation failed. Unsupported architectures. Your executable contains unsupported architectures '[armv7k]'.

armv7k 到底是什么意思?我的所有构建设置(针对应用程序和所有扩展程序)看起来都像以下屏幕截图中的设置:我嵌入的二进制文件的红色是否与问题有关?在我的设备和模拟器上一切正常.提前致谢!

What does armv7k even mean? All my build settings (for the app and all extensions) look like the ones in the following screenshot: Could the red color of my embedded binaries have something to do with the problem? Everything works great on my device and on the simulators. Thanks in advance!

更新:xCode 6.2 和 iOS 8.2 发布.问题依旧.

Update: xCode 6.2 and iOS 8.2 was released. Problem is still there.

很可能没有通过验证,因为您还不能真正提交手表应用.

It's more than likely not passing validation as you can't actually submit watch apps yet.

根据 https://developer.apple.com/watchkit/:

请注意:使用 Xcode 6.2 和 iOS 8.2 SDK 构建的应用程序可能会提交到 App Store.但是,目前不接受 WatchKit 扩展.

Please Note: Apps built with Xcode 6.2 and iOS 8.2 SDK may be submitted to the App Store. However, WatchKit extensions are not accepted at this time.