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

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

Open
eecklund opened this issue Jun 15, 2020 · 5 comments
Open

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

eecklund opened this issue Jun 15, 2020 · 5 comments

Comments

@eecklund
Copy link

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/__codesigndoc__054464438/Runner.xcarchive"
...

Last lines of the build log:
User defaults from command line:
IDEArchivePathOverride = /tmp/__codesigndoc__054464438/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

@karagraysen
Copy link

Hi @eecklund,

Thanks for reaching out.

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

@eecklund
Copy link
Author

eecklund commented Jun 25, 2020 via email

@karagraysen
Copy link

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

@eecklund
Copy link
Author

eecklund commented Jun 25, 2020 via email

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

3 participants
@karagraysen @eecklund and others