fastlane: gym could not work now
In the past, I used fastlane gym working well,my script is:
PROVISIONING_PROFILE_SPECIFIER='${PROVISIONING_PROFILE_SPECIFIER}' fastlane gym --workspace ${workspace_path} --scheme ${scheme} --clean true --configuration ${configuration} --xcargs "PRODUCT_BUNDLE_IDENTIFIER='${bundle_id}' DEVELOPMENT_TEAM='${DEVELOPMENT_TEAM}'" --export_method ${export_method} --archive_path ${archive_path} --codesigning_identity "${rightDistributionSign}" --xcpretty_report_json "${json_path}" --export_options ${ExoptionPlist} --output_directory ${ipa_path} --output_name ${ipa_name} || exit
And when our iOS developer added different targets ,my script could not work now,and it reported:
[19:46:59]: $ set -o pipefail && xcodebuild -workspace /Users/diaojunxian/Documents/MIFit2-iOS/MiFit.xcworkspace -scheme MiFit -configuration Release -destination 'generic/platform=iOS' -archivePath /Users/diaojunxian/Documents/MIFit2-iOS/APP/2017_01_23_19_46_out/MiFit_2017_01_23_19_46.xcarchive PRODUCT_BUNDLE_IDENTIFIER='HM.wristband2' DEVELOPMENT_TEAM='SZWFVCN5DB' clean archive CODE_SIGN_IDENTITY=iPhone\ Distribution:\ Anhui\ Huami\ Information\ Technology\ Co.,\ Ltd. | tee /Users/diaojunxian/Library/Logs/gym/MiFit-MiFit.log | xcpretty --report json-compilation-database --output /Users/diaojunxian/Documents/MIFit2-iOS/APP/2017_01_23_19_46_out/compile_commands.json
[19:47:01]: ▸ 2017-01-23 19:47:01.102 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:01]: ▸ Details: Failed to expand identifiers "{(
[19:47:01]: ▸ "group.com.huami.ag"
[19:47:01]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:01]: ▸ Object: <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
[19:47:01]: ▸ Method: -_appIDFeatureStateIncludingEntitlements:
[19:47:01]: ▸ Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:01]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:01]: ▸ 2017-01-23 19:47:01.105 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:01]: ▸ Details: Failed to expand identifiers "{(
[19:47:01]: ▸ "group.com.huami.ag"
[19:47:01]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:01]: ▸ Object: <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
[19:47:01]: ▸ Method: -_appIDFeatureStateIncludingEntitlements:
[19:47:01]: ▸ Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:01]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:01]: ▸ 2017-01-23 19:47:01.944 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:01]: ▸ Details: Failed to expand identifiers "{(
[19:47:01]: ▸ "group.com.huami.ag"
[19:47:01]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:01]: ▸ Object: <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
[19:47:01]: ▸ Method: -_appIDFeatureStateIncludingEntitlements:
[19:47:01]: ▸ Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:01]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:01]: ▸ 2017-01-23 19:47:01.947 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:01]: ▸ Details: Failed to expand identifiers "{(
[19:47:01]: ▸ "group.com.huami.ag"
[19:47:01]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:01]: ▸ Object: <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
[19:47:01]: ▸ Method: -_appIDFeatureStateIncludingEntitlements:
[19:47:01]: ▸ Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:01]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:02]: ▸ Cleaning MiFit/MifitSiri [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/AHEasing [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/AFNetworking [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning MiFit/MifitWidget [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/CAAnimationBlocks [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/CocoaLumberjack [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/DDTouchCircleButton [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/Bolts [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/FLEX [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/FMDB [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/FXBlurView [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/GBDeviceInfo [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/FBSDKCoreKit [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/FBSDKLoginKit [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/FBSDKShareKit [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/HMAlgoLib [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/HMSportSDK [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/MBProgressHUD [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/MJRefresh [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/MagicalRecord [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/Mantle [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/Masonry [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/RSKImageCropper [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/ReactiveCocoa [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/Realm [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/SDWebImage [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/SSKeychain [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/SVPullToRefresh [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/UICKeyChainStore [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/WebViewJavascriptBridge [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/objc-geohash [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/pop [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/zipzap [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning XMNativeLogin/XMNativeLogin [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning XMNativeLogin/XMNativeLoginResources [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/Pods-MiFit [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning MiFit/MiFit [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:08]: ▸ 2017-01-23 19:47:08.602 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:08]: ▸ Details: Failed to expand identifiers "{(
[19:47:08]: ▸ "group.com.huami.ag"
[19:47:08]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:08]: ▸ Object: <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
[19:47:08]: ▸ Method: -_appIDFeatureStateIncludingEntitlements:
[19:47:08]: ▸ Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:08]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:08]: ▸ 2017-01-23 19:47:08.604 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:08]: ▸ Details: Failed to expand identifiers "{(
[19:47:08]: ▸ "group.com.huami.ag"
[19:47:08]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:08]: ▸ Object: <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
[19:47:08]: ▸ Method: -_appIDFeatureStateIncludingEntitlements:
[19:47:08]: ▸ Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:08]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:08]: ▸ 2017-01-23 19:47:08.649 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:08]: ▸ Details: Failed to expand identifiers "{(
[19:47:08]: ▸ "group.com.huami.ag"
[19:47:08]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:08]: ▸ Object: <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
[19:47:08]: ▸ Method: -_appIDFeatureStateIncludingEntitlements:
[19:47:08]: ▸ Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:08]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:08]: ▸ 2017-01-23 19:47:08.650 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:08]: ▸ Details: Failed to expand identifiers "{(
[19:47:08]: ▸ "group.com.huami.ag"
[19:47:08]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:08]: ▸ Object: <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
[19:47:08]: ▸ Method: -_appIDFeatureStateIncludingEntitlements:
[19:47:08]: ▸ Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:08]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:08]: ▸ Clean Succeeded
[19:47:08]: ▸ 2017-01-23 19:47:08.855 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:08]: ▸ Details: Failed to expand identifiers "{(
[19:47:08]: ▸ "group.com.huami.ag"
[19:47:08]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:08]: ▸ Object: <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
[19:47:08]: ▸ Method: -_appIDFeatureStateIncludingEntitlements:
[19:47:08]: ▸ Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:08]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:08]: ▸ 2017-01-23 19:47:08.859 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:08]: ▸ Details: Failed to expand identifiers "{(
[19:47:08]: ▸ "group.com.huami.ag"
[19:47:08]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:08]: ▸ Object: <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
[19:47:08]: ▸ Method: -_appIDFeatureStateIncludingEntitlements:
[19:47:08]: ▸ Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:08]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:09]: ▸ 2017-01-23 19:47:09.036 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:09]: ▸ Details: Failed to expand identifiers "{(
[19:47:09]: ▸ "group.com.huami.ag"
[19:47:09]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:09]: ▸ Object: <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
[19:47:09]: ▸ Method: -_appIDFeatureStateIncludingEntitlements:
[19:47:09]: ▸ Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:09]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:09]: ▸ 2017-01-23 19:47:09.038 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:09]: ▸ Details: Failed to expand identifiers "{(
[19:47:09]: ▸ "group.com.huami.ag"
[19:47:09]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:09]: ▸ Object: <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
[19:47:09]: ▸ Method: -_appIDFeatureStateIncludingEntitlements:
[19:47:09]: ▸ Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:09]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:09]: ▸ Building MiFit/MifitWidget [Release]
[19:47:09]: ▸ Check Dependencies
[19:47:09]: ▸ ❌ Code signing is required for product type 'App Extension' in SDK 'iOS 10.2'
[19:47:09]: ▸ Building Pods/AFNetworking [Release]
[19:47:09]: ▸ Check Dependencies
[19:47:09]: ▸ Building XMNativeLogin/XMNativeLogin [Release]
[19:47:09]: ▸ Check Dependencies
[19:47:09]: ▸ Building MiFit/MifitSiri [Release]
[19:47:09]: ▸ Check Dependencies
[19:47:09]: ▸ ❌ Code signing is required for product type 'App Extension' in SDK 'iOS 10.2'
[19:47:09]: ▸ 2017-01-23 19:47:09.370 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:09]: ▸ Details: Failed to expand identifiers "{(
[19:47:09]: ▸ "group.com.huami.ag"
[19:47:09]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:09]: ▸ Object: <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
[19:47:09]: ▸ Method: -_appIDFeatureStateIncludingEntitlements:
[19:47:09]: ▸ Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:09]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:09]: ▸ 2017-01-23 19:47:09.371 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:09]: ▸ Details: Failed to expand identifiers "{(
[19:47:09]: ▸ "group.com.huami.ag"
[19:47:09]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:09]: ▸ Object: <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
[19:47:09]: ▸ Method: -_appIDFeatureStateIncludingEntitlements:
[19:47:09]: ▸ Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:09]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:09]: ▸ ** ARCHIVE FAILED **
[19:47:09]: ▸ The following build commands failed:
[19:47:09]: ▸ Check dependencies
[19:47:09]: ▸ Check dependencies
[19:47:09]: ▸ (2 failures)
2017-01-23 19:47:01.102 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details: Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object: <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
Method: -_appIDFeatureStateIncludingEntitlements:
Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:01.105 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details: Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object: <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
Method: -_appIDFeatureStateIncludingEntitlements:
Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:01.944 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details: Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object: <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
Method: -_appIDFeatureStateIncludingEntitlements:
Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:01.947 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details: Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object: <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
Method: -_appIDFeatureStateIncludingEntitlements:
Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
▸ Cleaning MiFit/MifitSiri [Release]
▸ Check Dependencies
▸ Cleaning Pods/AHEasing [Release]
▸ Check Dependencies
▸ Cleaning Pods/AFNetworking [Release]
▸ Check Dependencies
▸ Cleaning MiFit/MifitWidget [Release]
▸ Check Dependencies
▸ Cleaning Pods/CAAnimationBlocks [Release]
▸ Check Dependencies
▸ Cleaning Pods/CocoaLumberjack [Release]
▸ Check Dependencies
▸ Cleaning Pods/DDTouchCircleButton [Release]
▸ Check Dependencies
▸ Cleaning Pods/Bolts [Release]
▸ Check Dependencies
▸ Cleaning Pods/FLEX [Release]
▸ Check Dependencies
▸ Cleaning Pods/FMDB [Release]
▸ Check Dependencies
▸ Cleaning Pods/FXBlurView [Release]
▸ Check Dependencies
▸ Cleaning Pods/GBDeviceInfo [Release]
▸ Check Dependencies
▸ Cleaning Pods/FBSDKCoreKit [Release]
▸ Check Dependencies
▸ Cleaning Pods/FBSDKLoginKit [Release]
▸ Check Dependencies
▸ Cleaning Pods/FBSDKShareKit [Release]
▸ Check Dependencies
▸ Cleaning Pods/HMAlgoLib [Release]
▸ Check Dependencies
▸ Cleaning Pods/HMSportSDK [Release]
▸ Check Dependencies
▸ Cleaning Pods/MBProgressHUD [Release]
▸ Check Dependencies
▸ Cleaning Pods/MJRefresh [Release]
▸ Check Dependencies
▸ Cleaning Pods/MagicalRecord [Release]
▸ Check Dependencies
▸ Cleaning Pods/Mantle [Release]
▸ Check Dependencies
▸ Cleaning Pods/Masonry [Release]
▸ Check Dependencies
▸ Cleaning Pods/RSKImageCropper [Release]
▸ Check Dependencies
▸ Cleaning Pods/ReactiveCocoa [Release]
▸ Check Dependencies
▸ Cleaning Pods/Realm [Release]
▸ Check Dependencies
▸ Cleaning Pods/SDWebImage [Release]
▸ Check Dependencies
▸ Cleaning Pods/SSKeychain [Release]
▸ Check Dependencies
▸ Cleaning Pods/SVPullToRefresh [Release]
▸ Check Dependencies
▸ Cleaning Pods/UICKeyChainStore [Release]
▸ Check Dependencies
▸ Cleaning Pods/WebViewJavascriptBridge [Release]
▸ Check Dependencies
▸ Cleaning Pods/objc-geohash [Release]
▸ Check Dependencies
▸ Cleaning Pods/pop [Release]
▸ Check Dependencies
▸ Cleaning Pods/zipzap [Release]
▸ Check Dependencies
▸ Cleaning XMNativeLogin/XMNativeLogin [Release]
▸ Check Dependencies
▸ Cleaning XMNativeLogin/XMNativeLoginResources [Release]
▸ Check Dependencies
▸ Cleaning Pods/Pods-MiFit [Release]
▸ Check Dependencies
▸ Cleaning MiFit/MiFit [Release]
▸ Check Dependencies
2017-01-23 19:47:08.602 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details: Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object: <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
Method: -_appIDFeatureStateIncludingEntitlements:
Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:08.604 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details: Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object: <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
Method: -_appIDFeatureStateIncludingEntitlements:
Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:08.649 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details: Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object: <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
Method: -_appIDFeatureStateIncludingEntitlements:
Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:08.650 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details: Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object: <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
Method: -_appIDFeatureStateIncludingEntitlements:
Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
▸ Clean Succeeded
2017-01-23 19:47:08.855 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details: Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object: <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
Method: -_appIDFeatureStateIncludingEntitlements:
Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:08.859 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details: Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object: <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
Method: -_appIDFeatureStateIncludingEntitlements:
Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:09.036 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details: Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object: <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
Method: -_appIDFeatureStateIncludingEntitlements:
Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:09.038 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details: Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object: <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
Method: -_appIDFeatureStateIncludingEntitlements:
Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
▸ Building MiFit/MifitWidget [Release]
▸ Check Dependencies
❌ Code signing is required for product type 'App Extension' in SDK 'iOS 10.2'
▸ Building Pods/AFNetworking [Release]
▸ Check Dependencies
▸ Building XMNativeLogin/XMNativeLogin [Release]
▸ Check Dependencies
▸ Building MiFit/MifitSiri [Release]
▸ Check Dependencies
❌ Code signing is required for product type 'App Extension' in SDK 'iOS 10.2'
2017-01-23 19:47:09.370 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details: Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object: <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
Method: -_appIDFeatureStateIncludingEntitlements:
Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:09.371 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details: Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object: <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
Method: -_appIDFeatureStateIncludingEntitlements:
Thread: <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
** ARCHIVE FAILED **
The following build commands failed:
Check dependencies
Check dependencies
(2 failures)
[19:47:09]: Exit status: 65
[19:47:09]: 📋 For a more detailed error log, check the full log at:
[19:47:09]: 📋 /Users/diaojunxian/Library/Logs/gym/MiFit-MiFit.log
+-------------+-------------------------+
| Build environment |
+-------------+-------------------------+
| xcode_path | /Applications/Xcode.app |
| gym_version | 2.9.0 |
| sdk | iPhoneOS10.2.sdk |
+-------------+-------------------------+
[!] Error building the application - see the log above
Who can help me?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 22 (1 by maintainers)
@diaojunxian
Your project has multiple targets, I’d assume you have app extensions, right?
When you set
PROVISIONING_PROFILEfrom command line like in your example, this build setting will apply for all targets, including nested apps and extensions.So in your case profile for
HM.wristband.MifitWidgetwill be applied to all targets and that’s why you have this error.The best approach is to set exact provisioning profile build setting for each target as part of Xcode project. I would also recommend to start using
PROVISIONING_PROFILE_SPECIFIERinstead of deprecatedPROVISIONING_PROFILEif you are using Xcode 8.You can use custom defined build settings to like so:
Then you could define these vars when running scripts from command line or in
xcconfigfiles:and specify this xcconfig on project level:
There are other ways to achieve it, e.g. creating new build configurations with different build settings, etc.
@diaojunxian
gymhasbuildlog_pathoption, which can be used to specify output directory path for build logs. It will be then named likeProject-Scheme.log. This is the “raw”xcodebuildlog, which may contain more information.xcprettycan filter out some useful bits. So it would make sense to have a look underCheck dependenciessection inxcodebuildlog. It could be also related to https://github.com/supermarin/xcpretty/pull/265In my case, the ‘No matching profile for…’ message was not displayed by
xcpretty, but I found it in xcode build log; and actual problem was missing profile on CI server after renewing them.