Hi all!
I was trying to solve this problem for weeks. I reissued certificates, provisioning profiles - nothing. I checked App ID configuration in developer.apple.com - Associated Domains, Push Notification and Sign in with Apple are checked. However, when I try to build my project (IPA) with βFlutter buildβ step it shows me this error.
Moreover I can build successfully via βXCode archive and Export for iOSβ step but IPA-file doesnβt include my sksl.json which was generated while warming-up shader.
So if it possible to solve this error in βFlutter buildβ step, or any other variant to include sksl.json into IPA?
Config:
- project_location: /Users/vagrant/git
- platform: ios
- additional_build_params: <unset>
- is_debug_mode: true
- cache_level: all
- ios_output_type: archive
- ios_additional_params: --bundle-sksl-path flutter_01.sksl.json --release
- ios_output_pattern: [*build/ios/iphoneos/*.app *build/ios/archive/*.xcarchive]
- ios_codesign_identity: <unset>
- android_output_type: apk
- android_additional_params: --release
- android_output_pattern: [*build/app/outputs/apk/*/*.apk *build/app/outputs/bundle/*/*.aab]
- android_bundle_output_pattern: [*build/app/outputs/bundle/*/*.aab]
iOS Codesign settings
Installed codesign identities:
- iPhone Distribution: MyAPP
- Apple Development: DEV User (CODE)
Stored Flutter codesign settings:
- No codesign identity set
Build iOS app
$ flutter "build" "ipa" "--bundle-sksl-path" "flutter_01.sksl.json" "--release"
πͺ Building with sound null safety πͺ
Archiving myapp...
Automatically signing iOS for device deployment using specified development team in Xcode project: CODE
Running pod install...
84.7s
Running Xcode build...
Xcode archive done. 129.0s
Built /Users/vagrant/git/build/ios/archive/Runner.xcarchive.
ββ App Settings βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Version Number: 1.4.3 β
β Build Number: 332 β
β Display Name: My App β
β Deployment Target: 12.0 β
β Bundle Identifier: Myapp β
β β
β To update the settings, please refer to https://docs.flutter.dev/deployment/ios β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Building App Store IPA...
1,113ms
Encountered error while creating the IPA:
error: exportArchive: "Runner.app" requires a provisioning profile with the Associated Domains, Push Notifications, and Sign in with Apple features.
Try distributing the app in Xcode: "open /Users/vagrant/git/build/ios/archive/Runner.xcarchive"
Export iOS app artifact
- $BITRISE_DEPLOY_DIR/Runner.xcarchive.zip
- $BITRISE_XCARCHIVE_PATH: /Users/vagrant/git/build/ios/archive/Runner.xcarchive
- BITRISE_XCARCHIVE_ZIP_PATH: /Users/vagrant/deploy/Runner.xcarchive.zip
Collecting cache
Failed to get project gradle version: no gradlew found at: /Users/vagrant/git/android/gradlew
Failed to collect flutter cache, error: package resolution file (/Users/vagrant/git/.packages) not found, error: stat /Users/vagrant/git/.packages: no such file or directory