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 Mac App Development provisioning profiles matching 'design.codeux.authpass' #360

Open
mrcnski opened this issue Feb 6, 2024 · 0 comments

Comments

@mrcnski
Copy link

mrcnski commented Feb 6, 2024

Hello! I just forked the repository and followed the steps in CONTRIBUTING.md, but I get the following message at the run step:

$ flutter run -t lib/env/development.dart
Connected devices:
macOS (desktop) • macos • darwin-arm64 • macOS 14.2.1 23C71 darwin-arm64

Checking for wireless devices...

[1]: macOS (macos)

[...]

Launching lib/env/development.dart on macOS in debug mode...
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:00006001-001211012E23401E }
{ platform:macOS, arch:x86_64, id:00006001-001211012E23401E }
/Users/marcin/Sync/Repos/github.com/mrcnski/authpass/authpass/macos/Pods/Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.12, but the range of supported deployment target versions is 10.13 to 14.2.99. (in target 'GTMSessionFetcher' from project 'Pods')
/Users/marcin/Sync/Repos/github.com/mrcnski/authpass/authpass/macos/Runner.xcodeproj: error: No profiles for 'design.codeux.authpass' were found: Xcode couldn't find any Mac App Development provisioning profiles matching 'design.codeux.authpass'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'Runner' from project 'Runner')
/Users/marcin/Sync/Repos/github.com/mrcnski/authpass/authpass/macos/Pods/Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.12, but the range of supported deployment target versions is 10.13 to 14.2.99. (in target 'GTMSessionFetcher-GTMSessionFetcher_Core_Privacy' from project 'Pods')
/Users/marcin/Sync/Repos/github.com/mrcnski/authpass/authpass/macos/Pods/Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 14.2.99. (in target 'HotKey' from project 'Pods')
/Users/marcin/Sync/Repos/github.com/mrcnski/authpass/authpass/macos/Pods/Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.12, but the range of supported deployment target versions is 10.13 to 14.2.99. (in target 'GTMAppAuth' from project 'Pods')
/Users/marcin/Sync/Repos/github.com/mrcnski/authpass/authpass/macos/Pods/Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.12, but the range of supported deployment target versions is 10.13 to 14.2.99. (in target 'AppAuth' from project 'Pods')
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Flutter Assemble' from project 'Runner')
** BUILD FAILED **

Building macOS application...                                           
Exception: Build process failed

As far as I see, the only actual error here is this:

/Users/marcin/Sync/Repos/github.com/mrcnski/authpass/authpass/macos/Runner.xcodeproj: error: No profiles for 'design.codeux.authpass' were found: Xcode couldn't find any Mac App Development provisioning profiles matching 'design.codeux.authpass'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'Runner' from project 'Runner')

So I tried to run xcodebuild -allowProvisioningUpdates in authpass/macos, but I got this:

xcodebuild -allowProvisioningUpdates
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -allowProvisioningUpdates

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

ComputeTargetDependencyGraph
warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
note: Target dependency graph (2 targets)
    Target 'Runner' in project 'Runner'
        ➜ Explicit dependency on target 'Flutter Assemble' in project 'Runner'
    Target 'Flutter Assemble' in project 'Runner' (no dependencies)

GatherProvisioningInputs

CreateBuildDescription
Build description signature: 4b00b98655f323893a9ab9653d4a362a
Build description path: /Users/marcin/Sync/Repos/github.com/mrcnski/authpass/authpass/macos/build/XCBuildData/4b00b98655f323893a9ab9653d4a362a.xcbuilddata

warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Flutter Assemble' from project 'Runner')
/Users/marcin/Sync/Repos/github.com/mrcnski/authpass/authpass/macos/Runner.xcodeproj: error: No profile for team '64ZPC769JY' matching 'Mac App Store AuthPass Distribution Profile' found: Xcode couldn't find any provisioning profiles matching '64ZPC769JY/Mac App Store AuthPass Distribution Profile'. 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')
note: Run script build phase 'Run Script' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')
** BUILD FAILED **

And at that point I gave up. 😂 I'm not familiar enough with XCode to understand or debug this.

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

1 participant