the build fails to deploy with a versioning error:
<body style="background-color:#14161C">
<style>
body {
color:#C8C8C8;
overflow-x: hidden;
padding-top: 0px;
padding-right: 5px;
padding-bottom: 5px;
padding-left: 5px;
font-family: monaco;
}
h4 {
margin-bottom: 4px;
font-weight: bold;
color: #DF3F3F;
}
</style>
<h4>Failed Step: Flutter build ipa and automatic versioning</h4>
<div style="white-space: pre-wrap;line-height: 1.5">
<span style="color:#B58900">Did not find latest build for app 6737467431</span>
Archiving com.wuncreatives.wunapp...
Upgrading contents.xcworkspacedata
Updating project for Xcode compatibility.
Upgrading project.pbxproj
Upgrading Runner.xcscheme
Upgrading Info.plist
Removing script build phase dependency analysis.
Adding input path to Thin Binary build phase.
ios/Runner/AppDelegate.swift uses the deprecated @UIApplicationMain attribute, updating.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
No valid code signing certificates were found
You can connect to your Apple Developer account by signing in with your Apple ID
in Xcode and create an iOS Development Certificate as well as a Provisioning
Profile for your project by:
1- Open the Flutter project's Xcode target with
open ios/Runner.xcworkspace
2- Select the 'Runner' project in the navigator then the 'Runner' target
in the project settings
3- Make sure a 'Development Team' is selected under Signing & Capabilities > Team.
You may need to:
- Log in with your Apple ID in Xcode first
- Ensure you have a valid unique Bundle ID
- Register your device with your Apple Developer Account
- Let Xcode automatically provision a profile for your app
4- Build or run your project again
5- Trust your newly created Development Certificate on your iOS device
via Settings > General > Device Management > [your new certificate] > Trust
For more information, please visit:
https://developer.apple.com/library/content/documentation/IDEs/Conceptual/
AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html
Or run on an iOS simulator without code signing
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
No development certificates available to code sign app for device deployment
Build failed :|
Step 11 script Flutter build ipa and automatic versioning
exited with status code 1
</div>
</body>