Cannot build iOS app with automatic signing #3362
Replies: 3 comments 6 replies
-
|
hello @techdaddies-kevin i see this error in the logs; This means that in the ios_signing section of your yaml configuration, you are referencing a provisioning profile that has not yet been uploaded to Codemagic. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
@dtrdic Can you please look at build ID 6945b9cd9ceb9b1986a80b6f for me? When I run the build, CodeMagic appears to be automatically creating a provisioning profile in App Store Connect for me. But clearly something is wrong, because it fails with a "App requires a provisioning profile. Select a provisioning profile in the Signing & Capabilities editor." Here is the relevant portion of my YAML, I think: - name: Set up keychain to be used for code signing using Codemagic CLI 'keychain' command
script: keychain initialize
- name: Fetch signing files
script: |
app-store-connect fetch-signing-files "$BUNDLE_ID" \
--type IOS_APP_STORE \
--create
- name: Set up signing certificate
script: keychain add-certificates
- name: Set up code signing settings on Xcode project
script: |
xcode-project use-profiles
- name: Increment build number
script: |
cd $CM_BUILD_DIR/ios/App
agvtool new-version -all $(($PROJECT_BUILD_NUMBER))
- name: Build ipa for distribution
script: |
cd $CM_BUILD_DIR/ios/App
xcode-project build-ipa \
--workspace "$XCODE_WORKSPACE" \
--scheme "$XCODE_SCHEME" |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?
Ionic/Cordova
Steps to reproduce
I have followed the tutorials (I think) but iOS builds just will not work. I get an immediate "No matching profiles found for bundle identifier "our bundle ID here" and distribution type app_store. Is something wrong with my yaml?
I have uploaded the signing key to the keystore and have created a new envvar group called "code_signing" and have created a var called CERTIFICATE_PRIVATE_KEY and with the private key in the value and assigned it to that group. But still it seems codemagic is trying to use manual signing or something.
Expected results
Automatic signing to work correctly
Actual results
Automatic signing is not working
Build id (optional)
693c76ac6f8472e8cea8fd05
Beta Was this translation helpful? Give feedback.
All reactions