В моем проекте Flutter я использую Codemagic в качестве инструмента CI/CD.
После добавления версии в приложение я начал получать эту ошибку в одной из версий.
> flutter build ios --release --no-codesign --build-name=0.0.1 --build-number=33 --flavor dev
Downloading ios tools... 2.4s
Downloading ios-profile tools... 1.5s
Downloading ios-release tools... 7.3s
Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
Building se.getgaston.app for device (ios-release)...
Running pod install... 323.3s (!)
Running Xcode build...
Xcode build done. 875.6s
Built /Users/builder/clone/build/ios/iphoneos/Runner.app.
> xcode-project build-ipa --workspace /Users/builder/clone/ios/Runner.xcworkspace --scheme dev --config Release-dev
Archive Runner.xcworkspace
Execute "xcodebuild -workspace /Users/builder/clone/ios/Runner.xcworkspace -scheme dev -config Release-dev -archivePath build/ios/xcarchive/Runner_j1t8laki.xcarchive archive COMPILER_INDEX_STORE_ENABLE=NO DEVELOPMENT_TEAM=28759WZ2NP 'CODE_SIGN_IDENTITY=iPhone Distribution'"
❌ error: "Runner" requires a provisioning profile with the Push Notifications feature. Select a provisioning profile in the Signing & Capabilities editor. (in target 'Runner' from project 'Runner')
Я проверил сертификат, профиль обеспечения и идентификатор приложения как для рабочей версии, так и для версии с проблемой подписи, и не обнаружил никакой разницы.
В моем проекте Flutter я использую Codemagic в качестве инструмента CI/CD. После добавления версии в приложение я начал получать эту ошибку в одной из версий. [code]> flutter build ios --release --no-codesign --build-name=0.0.1 --build-number=33 --flavor dev Downloading ios tools... 2.4s Downloading ios-profile tools... 1.5s Downloading ios-release tools... 7.3s Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device. Building se.getgaston.app for device (ios-release)... Running pod install... 323.3s (!) Running Xcode build... Xcode build done. 875.6s Built /Users/builder/clone/build/ios/iphoneos/Runner.app.
❌ error: "Runner" requires a provisioning profile with the Push Notifications feature. Select a provisioning profile in the Signing & Capabilities editor. (in target 'Runner' from project 'Runner') [/code] Я проверил сертификат, профиль обеспечения и идентификатор приложения как для рабочей версии, так и для версии с проблемой подписи, и не обнаружил никакой разницы.