问题
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