bitrise-io / codesigndoc

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

Mac(m1) Xcode Archive failed : couldn't find any iOS App Development provisioning profiles #159

Open febrianasahara opened 2 years ago

febrianasahara commented 2 years ago

Please include the full (Terminal) output of codesigndoc - in Terminal.app you can save the output into a file with Command+s

In addition to this, if codesigndoc generated an Xcode output log, please attach that too.

Create build description Build description signature: ceb25962252e2514fc3c57e1a5dec6ad Build description path: /var/root/Library/Developer/Xcode/DerivedData/Runner-dgxwdfpmqbqsobdbukghczncvqqf/Build/Intermediates.noindex/ArchiveIntermediates/production/IntermediateBuildFilesPath/XCBuildData/ceb25962252e2514fc3c57e1a5dec6ad-desc.xcbuild

note: Build preparation complete note: Building targets in dependency order error: No profiles for 'com.myproject.abc' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.myproject.abc'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'Runner' from project 'Runner') ARCHIVE FAILED Please check the build log to see what caused the error.

Xcode Archive failed. [PROJECT PATH] and make sure that you can build an Archive, with the scheme: production


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!

shams-ahmed commented 2 years ago

hi @febrianasahara it difficult to look into this issue without the full logs.. from looking at the brief snippet can you confirm com.myproject.abc is installed on dev machine?

the file can be found under: ~/Library/MobileDevice/Provisioning\ Profiles