Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jlubeck opened this issue Feb 27, 2020 · 5 comments
Open

Comments

@jlubeck
Copy link

jlubeck commented Feb 27, 2020

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]:  
@rjstelling
Copy link

rjstelling commented Mar 3, 2020

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]: ```

@cathyharmon
Copy link

Hello,

We are looking into this.

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

Thanks,
Cathy

@Abdul-Hannan
Copy link

Abdul-Hannan commented Apr 23, 2020

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.

@karagraysen
Copy link

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

@ChaossAdept7
Copy link

Having the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants