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

fix: No error message displayed for cert issue #2592

Closed
eseidel opened this issue Oct 29, 2024 · 0 comments · Fixed by #2593
Closed

fix: No error message displayed for cert issue #2592

eseidel opened this issue Oct 29, 2024 · 0 comments · Fixed by #2593
Assignees
Labels
bug Something isn't working

Comments

@eseidel
Copy link
Contributor

eseidel commented Oct 29, 2024

App ID: 07f65816-7a12-4f21-89cd-293d4fc20ce8

xcodebuild -version 
Xcode 16.1
Build version 16B40

I did:

flutter create ios_foo
cd ios_foo
flutter build ios
shorebird init
shorebird release ios

Result:

 shorebird release ios
✓ Fetching apps (0.2s)
✗ Failed to build:
 (26.4s)

If you aren't sure why this command failed, re-run with the --verbose flag to see more information.

You can also file an issue if you think this is a bug. Please include the following log file in your report:
/Users/eseidel/Library/Application Support/shorebird/logs/1730220239805_shorebird.log

If you look at the log you find (buried):

[+8474 ms] ** EXPORT FAILED **


           2024-10-29 09:44:18.217 xcodebuild[59819:15631403] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path "/var/folders/fv/fqqmfjqd6zvdqrbrv78gt4m80000gn/T/Runner_2024-10-29_09-44-18.217.xcdistributionlogs".
           2024-10-29 09:44:18.282 xcodebuild[59819:15631403] [MT] IDEDistribution: Command line name "app-store" is deprecated. Use "app-store-connect" instead.
           error: exportArchive Communication with Apple failed

           error: exportArchive No signing certificate "iOS Distribution" found

           error: exportArchive Communication with Apple failed

           error: exportArchive No signing certificate "iOS Distribution" found

           error: exportArchive Communication with Apple failed

           error: exportArchive No signing certificate "iOS Distribution" found

           error: exportArchive Team "Eric Seidel" does not have permission to create "iOS App Store" provisioning profiles.

           error: exportArchive No profiles for 'dev.shorebird.' were found

           error: exportArchive Communication with Apple failed

           error: exportArchive No signing certificate "iOS Distribution" found

           error: exportArchive Communication with Apple failed

           error: exportArchive No signing certificate "iOS Distribution" found

           error: exportArchive Communication with Apple failed

           error: exportArchive No signing certificate "iOS Distribution" found

           error: exportArchive Communication with Apple failed

           error: exportArchive No signing certificate "iOS Distribution" found

           error: exportArchive Communication with Apple failed

           error: exportArchive No signing certificate "iOS Distribution" found

           error: exportArchive Communication with Apple failed

           error: exportArchive No signing certificate "iOS Distribution" found

           error: exportArchive Communication with Apple failed

           error: exportArchive No signing certificate "iOS Distribution" found

           error: exportArchive Communication with Apple failed

           error: exportArchive No signing certificate "iOS Distribution" found

           error: exportArchive Communication with Apple failed

           error: exportArchive No signing certificate "iOS Distribution" found

           error: exportArchive Communication with Apple failed

           error: exportArchive No signing certificate "iOS Distribution" found

           error: exportArchive Communication with Apple failed

           error: exportArchive No signing certificate "iOS Distribution" found

           error: exportArchive Communication with Apple failed

           error: exportArchive No signing certificate "iOS Distribution" found

           error: exportArchive Communication with Apple failed

           error: exportArchive No signing certificate "iOS Distribution" found

           error: exportArchive Communication with Apple failed

           error: exportArchive No signing certificate "iOS Distribution" found
[        ] Building App Store IPA... (completed in 8.5s)
[        ] "flutter ipa" took 25,327ms.
[   +2 ms] ensureAnalyticsSent: 0ms
[        ] Running 2 shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 0

I wonder if we should grep for lines from XCode which include "error:" and display those?

If you do flutter build ipa (rather than build ios) you get:

flutter build ipa

Archiving dev.shorebird....
Automatically signing iOS for device deployment using specified development team in Xcode project: 8R83HS5GZ2
Running Xcode build...                                                  
 └─Compiling, linking and signing...                         3.3s
Xcode archive done.                                         15.8s
✓ Built build/ios/archive/Runner.xcarchive (234.9MB)

[✓] App Settings Validation
    • Version Number: 1.0.0
    • Build Number: 1
    • Display Name: Ios Foo
    • Deployment Target: 12.0
    • Bundle Identifier: dev.shorebird.

[!] App Icon and Launch Image Assets Validation
    ! App icon is set to the default placeholder icon. Replace with unique icons.
    ! Launch image is set to the default placeholder icon. Replace with unique launch image.

To update the settings, please refer to https://flutter.dev/to/ios-deploy

Building App Store IPA...                                           6.4s
Encountered error while creating the IPA:
error: exportArchive Communication with Apple failed
error: exportArchive No signing certificate "iOS Distribution" found
error: exportArchive Team "Eric Seidel" does not have permission to create "iOS App Store" provisioning profiles.
error: exportArchive No profiles for 'dev.shorebird.' were found
error: exportArchive Communication with Apple failed
error: exportArchive No signing certificate "iOS Distribution" found
error: exportArchive Communication with Apple failed
error: exportArchive No signing certificate "iOS Distribution" found
error: exportArchive Communication with Apple failed
error: exportArchive No signing certificate "iOS Distribution" found
error: exportArchive Communication with Apple failed
error: exportArchive No signing certificate "iOS Distribution" found
error: exportArchive Communication with Apple failed
error: exportArchive No signing certificate "iOS Distribution" found
error: exportArchive Communication with Apple failed
error: exportArchive No signing certificate "iOS Distribution" found
error: exportArchive Communication with Apple failed
error: exportArchive No signing certificate "iOS Distribution" found
error: exportArchive Communication with Apple failed
error: exportArchive No signing certificate "iOS Distribution" found
error: exportArchive Communication with Apple failed
error: exportArchive No signing certificate "iOS Distribution" found
error: exportArchive Communication with Apple failed
error: exportArchive No signing certificate "iOS Distribution" found
error: exportArchive Communication with Apple failed
error: exportArchive No signing certificate "iOS Distribution" found
error: exportArchive Communication with Apple failed
error: exportArchive No signing certificate "iOS Distribution" found
error: exportArchive Communication with Apple failed
error: exportArchive No signing certificate "iOS Distribution" found
error: exportArchive Communication with Apple failed
error: exportArchive No signing certificate "iOS Distribution" found
error: exportArchive Communication with Apple failed
error: exportArchive No signing certificate "iOS Distribution" found
error: exportArchive Communication with Apple failed
error: exportArchive No signing certificate "iOS Distribution" found


Try distributing the app in Xcode: "open /Users/eseidel/Documents/GitHub/demos/ios_foo/build/ios/archive/Runner.xcarchive"
@eseidel eseidel added the bug Something isn't working label Oct 29, 2024
@felangel felangel self-assigned this Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants