managed
eas-cli 3.15.1
- I have used command eas credentials, deleted old Distribution Certificate and Provisioning Profiles.
- Create new build I let eas create required apple setup.
- eas build -p ios --profile production
Log in to Apple Developer account>
…
Logged in Local session
Bundle identifier registered **** (<This is correct, just written here for example)
…
Provisioning profile (id: ****) does not exist in Apple Developer Portal
Select devices for the ad hoc build: » 2 devices selected
Created new profile: ****
…
Project Credentials Configuration
Project ****
Bundle Identifier **** (<This is correct)
Result in Build Details > Run fastlane:
+------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| Summary for gym 2.213.0 |
+------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| workspace | ./example.xcworkspace |
| scheme | example |
| clean | false |
| output_directory | ./build |
| output_name | example |
| configuration | Release |
| silent | false |
| skip_package_ipa | false |
| skip_package_pkg | false |
| export_options.method | ad-hoc |
<<CORRECT>>
| export_options.provisioningProfiles.com.example.production | correct apple UID |
<<WRONG, this does not exist neither in eas credentials or app developer portal >>
| export_options.provisioningProfiles.com.example.development| *[expo] com.example.production AdHoc 168... |
| export_xcargs | OTHER_CODE_SIGN_FLAGS="" |
| build_path | /Users/expo/Library/Developer/Xcode/Archives/2023-07-18 |
| result_bundle | false |
| buildlog_path | /Users/expo/workingdir/logs |
| destination | generic/platform=iOS |
| suppress_xcode_output | true |
| xcodebuild_formatter | xcpretty |
| build_timing_summary | false |
| disable_xcpretty | true |
| skip_profile_detection | false |
| xcodebuild_command | xcodebuild |
| skip_package_dependencies_resolution | false |
| disable_package_automatic_updates | false |
| use_system_scm | false |
| xcode_path | /Applications/Xcode.app |
+------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
There seems to be a mismatch between your provided `export_method` in gym
and the selected provisioning profiles. You passed the following options:
export_method:
Bundle identifier: com.example.development (<This is wrong and the build fails every time. Why and how?)
Profile name: *[expo] com.example.production AdHoc 168..
Profile type: ad-hoc
Xcode logs shows error:
Provisioning profile "*[expo] com.example.production AdHoc 168.." has app ID "com.example.production", which does not match the bundle ID "com.example.development". (in target 'example' from project 'example')
Any help is greatly appreciated. And please do help if you have any clue or possible advancement on this issue. It is preventing me from building iOS apps at the moment. I have used almost all of my free builds for this month trying to solve this trying different configurations
-Best regards, Kehitys