codesigndoc icon indicating copy to clipboard operation
codesigndoc copied to clipboard

Codesigndoc is using different team and identity for app-store export

Open jlubeck opened this issue 4 years ago β€’ 5 comments

As you can see in the output, it initially chooses the proper team on Codesign settings used for archive but then for some reason it changes the team after I select the ipa export method.

And here is the log: xcodebuild-output.log

jan@Jans-MacBook-Pro ios % codesigndoc scan xcode
Scan the directory for project files
You can specify the Xcode project/workscape file to scan with the --file flag.
Found one project file: Runner.xcworkspace.

πŸ”¦  Scanning Schemes ...
$ xcodebuild "-workspace" "/Users/jan/Projects/flutter/harmony/ios/Runner.xcworkspace" "-list"

Select the Scheme you usually use in Xcode
Please select from the list:
[1] : Flutter
[2] : Pods-Runner
[3] : Runner
[4] : shared_preferences
[5] : shared_preferences_macos
[6] : shared_preferences_web
(type in the option's number, then hit Enter) [1] : 3

Xcode (xcodebuild) version: Xcode 11.3.1 (Build version 11C504)


πŸ”¦  Running an Xcode Archive, to get all the required code signing settings...
$ xcodebuild "-workspace" "/Users/jan/Projects/flutter/harmony/ios/Runner.xcworkspace" "-scheme" "Runner" "clean" "archive" "-archivePath" "/var/folders/6d/7fb8q3_576358cs38040dm8h0000gn/T/__codesigndoc__041129199/Runner.xcarchive"
......................

πŸ’‘  Saving xcodebuild output into file: /Users/jan/Projects/flutter/harmony/ios/codesigndoc_exports/xcodebuild-output.log


πŸ”¦  Analyzing the archive, to get export code signing settings...

Codesign settings used for archive:
development team: Fleetmode LLC (HC9BRC3KWP)
codesign identity: Apple Development: Stan Van Meter (C5V6LZ5ZQ5) [4122616504988310474]
provisioning profiles: iOS Team Provisioning Profile: * -> com.harmonyiot.harmony

Targets to sign:
- com.harmonyiot.harmony with 0 capabilities

Select the ipa export method
Please select from the list:
[1] : development
[2] : app-store
[3] : ad-hoc
[4] : enterprise
(type in the option's number, then hit Enter) [1] : 2

Codesign Indentity for app-store ipa export: Apple Distribution: Draki Agency LLC (ZH8ZTBZWUK) [6130657345175660378] - development team: Draki Agency LLC
Provisioning Profile to sign target (com.harmonyiot.harmony): iOS Team Store Provisioning Profile: * (301782b5-9a6d-4525-9080-d0d65b083496)

Codesign settings will be used for app-store .ipa/.app export:
development team: Draki Agency LLC (ZH8ZTBZWUK)
codesign identity: Apple Distribution: Draki Agency LLC (ZH8ZTBZWUK) [6130657345175660378]
provisioning profiles: iOS Team Store Provisioning Profile: * -> com.harmonyiot.harmony

Do you want to collect another ipa export code sign files
(select NO to finish collecting codesign files and continue) [yes/NO]:  

jlubeck avatar Feb 27 '20 21:02 jlubeck

Exactly the same is happening to me.

 => Creating a temporary directory for codesigndoc ...
 => Downloading version: 2.4.1
 => Downloading codesigndoc from (https://github.com/bitrise-io/codesigndoc/releases/download/2.4.1/codesigndoc-Darwin-x86_64) to (/var/folders/nk/pg_b9jh918xg7rzjwg5tm7200000gn/T/codesigndocXXXXXX.emZhs2ki/codesigndoc) ...
###################################################################################################################################################################################################################################################### 100.0%###################################################################################################################################################################################################################################################### 100.0%
 => Making it executable ...
 => codesigndoc version: 2.4.1
 => Running codesigndoc scan ...

Scan the directory for project files
You can specify the Xcode project/workscape file to scan with the --file flag.
Found multiple project file: ..
Select the project file you want to scan
Please select from the list:
[1] : /Volumes/Projects/β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ-iOS/β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ.xcworkspace
[2] : /Volumes/Projects/β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ-iOS/Prototypes/BlackBox/BlackBox.xcworkspace
[3] : /Volumes/Projects/β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ-iOS/Prototypes/Dashboard/Dashboard DS.xcworkspace
[4] : /Volumes/Projects/β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ-iOS/Prototypes/DashboardGen/DashboardGen.xcworkspace
[5] : /Volumes/Projects/β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ-iOS/Prototypes/Postcards/Postcards.xcworkspace
[6] : /Volumes/Projects/β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ-iOS/Prototypes/SurvicateTry/SurvryTry/SurvryTry.xcworkspace
(type in the option's number, then hit Enter) [1] : 

πŸ”¦  Scanning Schemes ...
$ xcodebuild "-workspace" "/Volumes/Projects/β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ-iOS/β–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆ.xcworkspace" "-list"

Select the Scheme you usually use in Xcode
Please select from the list:
[1] : πŸ€– Create Scheme
[2] : πŸ¦† Create Swift
[3] : πŸ›  Build Model
[4] : Airship
[5] : Airship tvOS
[6] : AirshipAccengage
[7] : AirshipAccengageTests
[8] : AirshipAutomation
[9] : AirshipCore
[10] : AirshipCore tvOS
[11] : AirshipCoreTests
[12] : AirshipExtendedActions
[13] : AirshipLocation
[14] : AirshipMessageCenter
[15] : BarcodeKit
[16] : Braintree
[17] : Braintree3DSecure
[18] : BraintreeAmericanExpress
[19] : BraintreeApplePay
[20] : BraintreeCard
[21] : BraintreeCore
[22] : BraintreeDataCollector
[23] : BraintreePaymentFlow
[24] : BraintreePayPal
[25] : BraintreeUI
[26] : BraintreeUnionPay
[27] : BraintreeVenmo
[28] : Certificates
[29] : Demo
[30] : DiskCacheKit
[31] : FeatureSwitch
[32] : Fingertips
[33] : β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
[34] : β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | Release
[35] : β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆKit
[36] : HTTPFormEncoder
[37] : HTTPFormRequest | iOS
[38] : HTTPFormRequest | macOS
[39] : IntegrationTests
[40] : Mangle
[41] : Obfuscate
[42] : PayPalDataCollector
[43] : PayPalDataCollector-StaticLibrary
[44] : PayPalOneTouch
[45] : PayPalOneTouch-StaticLibrary
[46] : PayPalUtils
[47] : PhotoLibraryKit
[48] : PresentationKit
[49] : Project Info
[50] : SpeckledJimKit
[51] : SpeckledJimKit | Archive
[52] : SwiftUtilityExtensions | iOS
[53] : SwiftUtilityExtentions | macOS
[54] : SwipeCellKit
[55] : UITests
[56] : UnitTests
(type in the option's number, then hit Enter) [1] : 33

Xcode (xcodebuild) version: Xcode 11.3.1 (Build version 11C504)


πŸ”¦  Running an Xcode Archive, to get all the required code signing settings...
$ xcodebuild "-workspace" "/Volumes/Projects/β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ-iOS/β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ.xcworkspace" "-scheme" "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ" "clean" "archive" "-archivePath" "/var/folders/nk/pg_b9jh918xg7rzjwg5tm7200000gn/T/**codesigndoc**455733204/β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
...............................................................................................................................................................................................................................................................................................................

πŸ’‘  Saving xcodebuild output into file: /Volumes/Projects/β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ-iOS/codesigndoc_exports/xcodebuild-output.log


πŸ”¦  Analyzing the archive, to get export code signing settings...

Codesign settings used for archive:
development team: β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ.com limited (β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ)
codesign identity: Apple Development: Richard Stelling (β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ) [6581609916385426740]
provisioning profiles: iOS Team Provisioning Profile: com.β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ.m.β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ -> com.β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ.m.β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ

Targets to sign:
- com.β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ.m.β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ with 0 capabilities

Select the ipa export method
Please select from the list:
[1] : development
[2] : app-store
[3] : ad-hoc
[4] : enterprise
(type in the option's number, then hit Enter) [1] : 2

Codesign Indentity for app-store ipa export: iPhone Distribution: Lionheart Applications Ltd (β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ) [4709399836150590987] - development team: Lionheart Applications Ltd
Provisioning Profile to sign target (com.β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ.m.β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ): iOS Team Store Provisioning Profile: * (ad2418d2-6300-4652-abef-3c3f368fdbe2)

Codesign settings will be used for app-store .ipa/.app export:
development team: Lionheart Applications Ltd (PYQF8Y7S2V)
codesign identity: iPhone Distribution: Lionheart Applications Ltd (β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ) [4709399836150590987]
provisioning profiles: iOS Team Store Provisioning Profile: * -> com.β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ.m.β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ

Do you want to collect another ipa export code sign files
(select NO to finish collecting codesign files and continue) [yes/NO]: ```

rjstelling avatar Mar 03 '20 15:03 rjstelling

Hello,

We are looking into this.

@rjstelling Have you used codesigndoc successfully before? Do you recognize both team names?

Thanks, Cathy

cathyharmon avatar Mar 03 '20 18:03 cathyharmon

it used to work fine in the past, now its automatically selecting an archive option, we want it to let us specify which archive scheme to use.

Abdul-Hannan avatar Apr 23 '20 15:04 Abdul-Hannan

We have a task to resolve this issue already. We will notify everyone here once it has been fixed.

karagraysen avatar May 04 '20 10:05 karagraysen

Having the same issue

ChaossAdept7 avatar Mar 27 '21 00:03 ChaossAdept7