bitrise-io / codesigndoc

Your friendly iOS Code Signing Doctor
MIT License
318 stars 43 forks source link

Xcode couldn't find any provisioning profiles matching... #124

Open eecklund opened 4 years ago

eecklund commented 4 years ago

codesigndoc isn't able to find my provisioner, but xcode has no problem using it to archive.

Screen Shot 2020-06-15 at 4 33 22 PM

xcodebuild-output.log

MacBook-Pro ios % sudo bash -l -c "$(curl -sfL https://raw.githubusercontent.com/bitrise-io/codesigndoc/master/_scripts/install_wrap-xcode.sh)" Password: => 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/zz/zyxvpxvq6csfxvn_n0000000000000/T/codesigndocXXXXXX.HVRIbtqO/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 one project file: Runner.xcworkspace.

πŸ”¦ Scanning Schemes ... $ xcodebuild "-workspace" "/Users/ed/src/tlm.mobile.ios/src/ios/Runner.xcworkspace" "-list"

Select the Scheme you usually use in Xcode Please select from the list: [1] : camera [2] : Flutter [3] : flutter_plugin_android_lifecycle [4] : flutter_secure_storage [5] : image_picker [6] : local_auth [7] : path_provider [8] : path_provider_macos [9] : permission_handler [10] : Pods-Runner [11] : Runner [12] : shared_preferences [13] : shared_preferences_macos [14] : shared_preferences_web (type in the option's number, then hit Enter) [1] : 11

Xcode (xcodebuild) version: Xcode 11.5 (Build version 11E608c)

πŸ”¦ Running an Xcode Archive, to get all the required code signing settings... $ xcodebuild "-workspace" "/Users/e/src/tlm.mobile.ios/src/ios/Runner.xcworkspace" "-scheme" "Runner" "clean" "archive" "-archivePath" "/tmp/codesigndoc054464438/Runner.xcarchive" ...

Last lines of the build log: User defaults from command line: IDEArchivePathOverride = /tmp/codesigndoc054464438/Runner.xcarchive

note: Using new build system note: Building targets in parallel

CLEAN SUCCEEDED

note: Using new build system note: Building targets in parallel note: Planning build note: Constructing build description error: No profile for team '2MS2MC73HM' matching 'Asure Mobile Distro' found: Xcode couldn't find any provisioning profiles matching '2MS2MC73HM/Asure Mobile Distro'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the Signing & Capabilities tab of the target editor. (in target 'Runner' from project 'Runner')

ARCHIVE FAILED Please check the build log to see what caused the error.

Xcode Archive failed. Open the project: /Users/e/src/tlm.mobile.ios/src/ios/Runner.xcworkspace and make sure that you can build an Archive, with the scheme: Runner

πŸ’‘ Saving xcodebuild output into file: /Users/e/src/tlm.mobile.ios/src/ios/codesigndoc_exports/xcodebuild-output.log


First of all please make sure that you can Archive your app from Xcode. codesigndoc only works if you can archive your app from Xcode. If you can, and you get a valid .ipa/.app file if you export from Xcode, please create an issue on GitHub at: https://github.com/bitrise-io/codesigndoc/issues with as many details & logs as you can share!

Error: failed to run xcodebuild command, error: exit status 65

pigeondev2 commented 4 years ago

Hi @eecklund,

Thanks for reaching out.

Can you please provide a build link that reproduces this problem?

eecklund commented 4 years ago

Sure.

https://app.bitrise.io/app/303b95ba1bbea42d#/builds [https://www.bitrise.io/assets/placeholders/website-social-embed.png]https://app.bitrise.io/app/303b95ba1bbea42d#/builds Bitrise - Mobile Continuous Integration and Deliveryhttps://app.bitrise.io/app/303b95ba1bbea42d#/builds Android, iOS & cross-platform mobile continuous integration / delivery, with 200+ integrations. Sign up and start building (for free!) today. app.bitrise.io

https://app.bitrise.io/build/380da1ec5e4a5e4f#?tab=log


From: Luna Graysen notifications@github.com Sent: Thursday, June 25, 2020 9:17 AM To: bitrise-io/codesigndoc codesigndoc@noreply.github.com Cc: Edward Ecklund Edward.Ecklund@asuresoftware.com; Mention mention@noreply.github.com Subject: Re: [bitrise-io/codesigndoc] Xcode couldn't find any provisioning profiles matching... (#124)

Hi @eecklundhttps://github.com/eecklund,

Thanks for reaching out.

Can you please provide a build link that reproduces this problem?

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/bitrise-io/codesigndoc/issues/124#issuecomment-649534753, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC2SSMTA3T3KYLUKPY7KZWDRYNE5VANCNFSM4N6UYDPA.

pigeondev2 commented 4 years ago

It seems you are no longer experiencing this issue and instead experiencing the panic issue or are you experiencing both?

eecklund commented 4 years ago

Sorry, the panic issue is the number one issue right now. Once that is resolved I can work on this one. I haven't tried adding the auto provisioner step that was suggested on the forums.


From: Luna Graysen notifications@github.com Sent: Thursday, June 25, 2020 12:22 PM To: bitrise-io/codesigndoc codesigndoc@noreply.github.com Cc: Edward Ecklund Edward.Ecklund@asuresoftware.com; Mention mention@noreply.github.com Subject: Re: [bitrise-io/codesigndoc] Xcode couldn't find any provisioning profiles matching... (#124)

It seems you are no longer experiencing this issue and instead experiencing the panic issue or are you experiencing both?

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/bitrise-io/codesigndoc/issues/124#issuecomment-649671593, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC2SSMSWCQG6TC7JDR2UMD3RYN2S7ANCNFSM4N6UYDPA.