Skip to content

Instantly share code, notes, and snippets.

@daiki1003
Created March 19, 2023 11:38
Show Gist options
  • Save daiki1003/6fff5adb2fe1a52a9e66862ce448649f to your computer and use it in GitHub Desktop.
Save daiki1003/6fff5adb2fe1a52a9e66862ce448649f to your computer and use it in GitHub Desktop.
...
...
...
...
[ ] executing: /usr/bin/arch -arm64e xcrun xcodebuild -exportArchive -allowProvisioningDeviceRegistration -allowProvisioningUpdates -archivePath /path/to/repo/build/ios/archive/Runner.xcarchive -exportPath /path/to/repo/build/ios/ipa -exportOptionsPlist /var/folders/w6/qxkr32dx1lldsm0_9zhlhsqm0000gn/T/flutter_tools.D1BNO4/flutter_build_ios.WdfAVw/ExportOptions.plist
[+14308 ms] ** EXPORT FAILED **
2023-03-19 03:13:55.914 xcodebuild[87646:62234695] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path "/var/folders/w6/qxkr32dx1lldsm0_9zhlhsqm0000gn/T/Runner_2023-03-19_03-13-55.914.xcdistributionlogs".
error: exportArchive: Provisioning profile "iOS Team Store Provisioning Profile: $$${PRODUCT_BUNDLE_IDENTIFIER}" doesn't match the entitlements file's value for the application-identifier entitlement.
Error Domain=IDEProfileQualificationErrorDomain Code=8 "Provisioning profile "iOS Team Store Provisioning Profile: $$${PRODUCT_BUNDLE_IDENTIFIER}" doesn't match the entitlements file's value for the application-identifier entitlement." UserInfo={NSLocalizedDescription=Provisioning profile "iOS Team Store Provisioning Profile: $$${PRODUCT_BUNDLE_IDENTIFIER}" doesn't match the entitlements file's value for the application-identifier entitlement., IDEProfileQualificationError_RequiredEntitlements={
"application-identifier" = "$(AppIdentifierPrefix)$$${PRODUCTION_PRODUCT_BUNDLE_IDENTIFIER}";
"aps-environment" = development;
"com.apple.developer.team-identifier" = $$${TEAM_ID};
}, IDEDistributionIssueSeverity=3, IDEProfileQualificationError_Profile=<DVTEmbeddedProvisioningProfile 0x120717d00: name: iOS Team Store Provisioning Profile: $$${PRODUCT_BUNDLE_IDENTIFIER}, UUID: 6255d6fe-..., teamName: $$${TEAM_NAME}, teamIdentifierPrefixes: (
$$${TEAM_ID}
), entitlements: {
"application-identifier" = "$$${TEAM_ID}.$$${PRODUCT_BUNDLE_IDENTIFIER}";
"aps-environment" = production;
"beta-reports-active" = 1;
"com.apple.developer.applesignin" = (
Default
);
"com.apple.developer.team-identifier" = $$${TEAM_ID};
"get-task-allow" = 0;
"keychain-access-groups" = (
"$$${TEAM_ID}.*",
"com.apple.token"
);
}, appIdentifierName: $$${APP_NAME}, applicationIdentifierPrefixes: (
$$${TEAM_ID}
), dateCreated: 2023-03-18 18:14:08 +0000, dateExpired: 2024-03-14 16:49:34 +0000, certificateKinds: {(
"1.2.840.113635.100.6.1.7",
"1.2.840.113635.100.6.1.4"
)}, certificateSHA1Hashes: {(
888..., // 最後省略
25C..., // 最後省略
ABA... // 最後省略
)}, supportedUDIDs: {(
)}, isUniversal: 0, isXcodeManaged: 1, platforms: {(
<DVTPlatform:0x131f24dd0:'com.apple.platform.watchos':<DVTFilePath:0x131f24d20:'/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform'>>,
<DVTPlatform:0x131f22560:'com.apple.platform.iphoneos':<DVTFilePath:0x131f224f0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>
)}, filePath: <DVTFilePath:0x14ee85fa0:'/path/to/Library/MobileDevice/Provisioning Profiles/6255d6fe-5c00-4d8a-bb50-1fa28c044961.mobileprovision'>>}
[ ] Building App Store IPA... (completed in 14.3s)
[ ] "flutter ipa" took 88,884ms.
[ +134 ms] ensureAnalyticsSent: 133ms
[ ] Running 1 shutdown hook
[ ] Shutdown hooks complete
[ ] exiting with code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment