xcodebuild: Selected developer portal team required?

I'm trying to understand the cause of the following warning message, which is now generated several times during a command-line build using Xcode 8.0 (8A218a):


(note: in the name of the idenfiier below, I've replaced actual names with xxx.xxx)


[MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11204/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292

Details: Failed to expand identifiers "{(

"group.com.xxx.xxx"

)}": 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:

Method: -_appIDFeatureStateIncludingEntitlements:

Thread: {number = 1, name = main}

Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.

Same issue here, anyone know of a workaround?

I am facing the same issue. Did you find a solution/workaroud ?

Same issue :


2016-11-10 11:47:36.180 xcodebuild[61568:2028192] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11527/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292

[11:47:36]: ▸ Details: Failed to expand identifiers "{(

[11:47:36]: ▸ "group.com.xxx.xxx"

[11:47:36]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}

[11:47:36]: ▸ Object: <Xcode3TargetCapabilitiesContext: 0x7fcd252218c0>

[11:47:36]: ▸ Method: -_appIDFeatureStateIncludingEntitlements:

[11:47:36]: ▸ Thread: <NSThread: 0x7fcd1fd13740>{number = 1, name = main}

[11:47:36]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.

[11:47:36]: ▸ 2016-11-10 11:47:36.184 xcodebuild[61568:2028192] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11527/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292

[11:47:36]: ▸ Details: Failed to expand identifiers "{(

[11:47:36]: ▸ "group.com.xxx.xxxx"

[11:47:36]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}

[11:47:36]: ▸ Object: <Xcode3TargetCapabilitiesContext: 0x7fcd252218c0>

[11:47:36]: ▸ Method: -_appIDFeatureStateIncludingEntitlements:

[11:47:36]: ▸ Thread: <NSThread: 0x7fcd1fd13740>{number = 1, name = main}

[11:47:36]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.

Same issue. Any solution?

Same issue. Any solution?

Same issue. I can't find what's going on, any help from Apple?

Same issue.

Any solution so far?

Just received a notice from Apple that this bug report was closed because it was a duplicate of another, without any further information. (Not especially informative or helpful IMO.)

Actually, there is a lot of info there.


Should make you happy to know (a) Apple is already aware of the issue(s) and (b) you're not alone, meaning it's not something under you control you have to lose sleep over, racked with guilt, worried that your next performance review will go south 😉 - I'd call that much very helpful.


Expect to be contacted if they think you can specifically help and/or contribute more as they work the issue.


Thanks for helping throw light thus far, and be sure to add bug report #s for reference.

I'm having the same issue. Any update on a workaround?

Any solution for this?

Same issue.

Xcode8.2.1.

Any Solution?

Same issue.

Xcode: Version 8.2.1 (8C1002)

This warning will appear when project contains extention and using auto codesign. But In my case, it is ok now.


In the begining, this warnning leads to ipa export fail " ipa will be installed fail ". Then I change the xcodebuild commands, and it works.


1. My command like this:


xcodebuild -exportArchive -exportOptionsPlist ./exportPlist.plist -archivePath ./build/xxx.xcarchive -exportPath ./build/


2. exportPlist.plist should contain teamID && method && uploadSymbols, like this:


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-/

<plist version="1.0">

<dict>

<key>teamID</key>

<string>xxx</string>

<key>method</key>

<string>enterprise</string>

<key>uploadSymbols</key>

<false/>

</dict>

</plist>

Using xcodebuild to build a development app, I do not see codesigning failing with Xcode8.2.1 (OS X El Capitan v10.11.6), although I see the same warnings as mentioned : "The operation requires a selected developer portal team"

But note that codesigning works successfully irrespective of those warnings.


However, using xcodebuild to build dev app with Xcode 8.3.1 & OSX Sierra v10.12.4, not only shows the same warnings, but also fails the codesigning

21:44:33 Details: Failed to expand identifiers "{(
21:44:33 "$(SECURITY_GROUP_IDENTIFIER)"
21:44:33 )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
21:44:33 Object: <Xcode3TargetCapabilitiesContext: 0x7fce7529dc00>
21:44:33 Method: -_appIDFeatureStateIncludingEntitlements:buildConfiguration:
21:44:33 Thread: <NSThread: 0x7fce6b415a90>{number = 1, name = main}

21:44:33 "$(SECURITY_GROUP_IDENTIFIER)"

21:44:33 )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}

21:44:33 Object: <Xcode3TargetCapabilitiesContext: 0x7fce7529dc00>

21:44:33 Method: -_appIDFeatureStateIncludingEntitlements:buildConfiguration:

21:44:33 Thread: <NSThread: 0x7fce6b415a90>{number = 1, name = main}

21:44:33 Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.

21:44:33 Code signing is required for product type 'Application' in SDK 'iOS 10.3'
21:44:33 Code signing is required for product type 'Application' in SDK 'iOS 10.3'
21:44:33 Code signing is required for product type 'Application' in SDK 'iOS 10.3'
21:44:33 Code signing is required for product type 'Application' in SDK 'iOS 10.3'
21:44:33 Code signing is required for product type 'Application' in SDK 'iOS 10.3'
21:44:3321:44:33 ** ARCHIVE FAILED **




Can you guys verify if codesigning only fails on OS X Sierra?
Or atleast mention the environment in which you notice this failure (Xcode version/ OSX version)

Might want to hold up until you can test with today's Xcode 8.3.2...

xcodebuild: Selected developer portal team required?
 
 
Q