CodeSign error: code signing is required for product type 'WatchKit Extension' in SDK 'iOS 8.4'

好久不见. 提交于 2019-12-24 02:19:05

问题


I'm attempting to compile my app with a hosted CI service using xctool. I'm seeing this error during my build:

CodeSign error: code signing is required for product type 'WatchKit Extension' in SDK 'iOS 8.4'

I'm not seeing this when compiling in Xcode (it compiles and code signs perfectly fine).

Here is the command that I'm executing:

xctool ONLY_ACTIVE_ARCH=NO -scheme "ShipIOWatchTest" -sdk "iphoneos" -workspace "ShipIOWatchTest.xcworkspace" clean build CODE_SIGN_IDENTITY="iPhone Distribution: Andrew Page (**********)" 

I believe that I have proper configuration within Xcode. Here are my settings:

Main App Team Selection

Project CodeSigning Settings

Main App CodeSigning Settings

Watch Extension CodeSigning Settings

Watch App CodeSigning Settings

This is very frustrating. Does anyone have any ideas?

来源:https://stackoverflow.com/questions/31484952/codesign-error-code-signing-is-required-for-product-type-watchkit-extension-i

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!