Sunday, November 8, 2026
HomeiOS Developmentios - Why does my Github Motion fail when attempting to construct...

ios – Why does my Github Motion fail when attempting to construct an IPA (Not utilizing fastlane)

[ad_1]

I’m attempting to make use of GitHub Actions for CI/CD, when attempting to create the IPA file I get a failure when looking for the provisioning profile.

I’ve the recordsdata saved within the secrets and techniques part of Github, they usually seem to load correctly.

  env:
    BUILD_CERTIFICATE_BASE64: ***
    P12_PASSWORD: ***
    BUILD_PROVISION_PROFILE_BASE64: ***
    KEYCHAIN_PASSWORD: ***
1 id imported.

I created a ExportOptions.plist file and tried printing that out to make sure GitHub was studying it correctly.

    {
  "technique" => "ad-hoc"
  "provisioningProfiles" => {
    "com.strykeout.Demo_CICD" => "PROFILE UUID"
  }

  "signingCertificate" => "iPhone Distribution: Nathan (XXXXXXX)"

  "signingStyle" => "guide"
  "teamID" => "XXXXXXXX"

}

2022-01-31 22:55:17.741 xcodebuild[1633:7990] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path "/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/Demo_CICD_2022-01-31_22-55-17.740.xcdistributionlogs".

error: exportArchive: "Demo_CICD.app" requires a provisioning profile.

** EXPORT FAILED **
Error Area=IDEProvisioningErrorDomain Code=9 ""Demo_CICD.app" requires a provisioning profile." UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription="Demo_CICD.app" requires a provisioning profile., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Choices property record.}

It looks as if it could’t discover the provisioningProfiles part of the export choices, nevertheless it’s clearly there.

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments