Appid: UNI6765028
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild archive -sdk iphoneos18.1 -project [PackagePath]/HBuilder.xcodeproj -archivePath [PackagePath]/XArchive/HBuilder.xcarchive -scheme HBuilder -configuration Debug
User defaults from command line:
IDEArchivePathOverride = [PackagePath]/XArchive/HBuilder.xcarchive
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
SDKROOT = iphoneos18.1
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
Target 'HBuilder' in project 'HBuilder' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.1.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --version --output-format xml1
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --print-asset-tag-combinations --output-format xml1 [PackagePath]/HBuilder/Assets.xcassets
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --version --output-format xml1
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.1.sdk -x c -c /dev/null
Build description signature: 9ccdac1e66a5d3b3ca1948865e6d71a3
Build description path: /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-dsusdwkmpawchebrxcxdmkbvtoic/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/XCBuildData/9ccdac1e66a5d3b3ca1948865e6d71a3.xcbuilddata
[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"dida\" doesn't support the App Groups capability. (in target 'HBuilder' from project 'HBuilder')
[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"dida\" doesn't include the com.apple.security.application-groups entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update. (in target 'HBuilder' from project 'HBuilder')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'HBuilder' from project 'HBuilder')
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking \"Based on dependency analysis\" in the script phase. (in target 'HBuilder' from project 'HBuilder')--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008112-000D29A41AFB401E, name:My Mac }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:50854179-90DA-4762-B4B0-B2391FE92E52, OS:18.1, name:iPad (10th generation) }
{ platform:iOS Simulator, id:50854179-90DA-4762-B4B0-B2391FE92E52, OS:18.1, name:iPad (10th generation) }
{ platform:iOS Simulator, id:12C90E47-1360-4BA0-A240-747F3AA548BD, OS:18.1, name:iPad Air 11-inch (M2) }
{ platform:iOS Simulator, id:12C90E47-1360-4BA0-A240-747F3AA548BD, OS:18.1, name:iPad Air 11-inch (M2) }
{ platform:iOS Simulator, id:06F4E4DD-D607-401E-B875-90A46AF2BC70, OS:18.1, name:iPad Air 13-inch (M2) }
{ platform:iOS Simulator, id:06F4E4DD-D607-401E-B875-90A46AF2BC70, OS:18.1, name:iPad Air 13-inch (M2) }
{ platform:iOS Simulator, id:25E532C8-E2E6-4E28-B599-01803627B5D4, OS:18.1, name:iPad Pro 11-inch (M4) }
{ platform:iOS Simulator, id:25E532C8-E2E6-4E28-B599-01803627B5D4, OS:18.1, name:iPad Pro 11-inch (M4) }
{ platform:iOS Simulator, id:15FEB433-F852-4C89-BE95-E5058FAEDE81, OS:18.1, name:iPad Pro 13-inch (M4) }
{ platform:iOS Simulator, id:15FEB433-F852-4C89-BE95-E5058FAEDE81, OS:18.1, name:iPad Pro 13-inch (M4) }
{ platform:iOS Simulator, id:5260961C-899E-4DDC-A09C-8076E466A38E, OS:18.1, name:iPad mini (A17 Pro) }
{ platform:iOS Simulator, id:5260961C-899E-4DDC-A09C-8076E466A38E, OS:18.1, name:iPad mini (A17 Pro) }
{ platform:iOS Simulator, id:6BB64F16-3AFE-4538-9491-D73456F1CBE6, OS:18.1, name:iPhone 16 }
{ platform:iOS Simulator, id:6BB64F16-3AFE-4538-9491-D73456F1CBE6, OS:18.1, name:iPhone 16 }
{ platform:iOS Simulator, id:4D1462CD-819B-4848-9142-E2910E1B3BED, OS:18.1, name:iPhone 16 Plus }
{ platform:iOS Simulator, id:4D1462CD-819B-4848-9142-E2910E1B3BED, OS:18.1, name:iPhone 16 Plus }
{ platform:iOS Simulator, id:AA8D4289-CF82-4D00-9B8C-EACC6EFDDEA4, OS:18.1, name:iPhone 16 Pro }
{ platform:iOS Simulator, id:AA8D4289-CF82-4D00-9B8C-EACC6EFDDEA4, OS:18.1, name:iPhone 16 Pro }
{ platform:iOS Simulator, id:AB69CCBE-AB26-496D-80B9-42B48E115CAA, OS:18.1, name:iPhone 16 Pro Max }
{ platform:iOS Simulator, id:AB69CCBE-AB26-496D-80B9-42B48E115CAA, OS:18.1, name:iPhone 16 Pro Max }
{ platform:iOS Simulator, id:9B4E2FE0-9409-4C04-B654-B36E6E936BC7, OS:18.1, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:9B4E2FE0-9409-4C04-B654-B36E6E936BC7, OS:18.1, name:iPhone SE (3rd generation) }
ARCHIVE FAILED The following build commands failed:
Archiving project HBuilder with scheme HBuilder
(1 failure)
日志:https://app.liuyingyong.cn/build/errorLog/19765d90-d238-11ef-8eae-b52b6c4590fb
3 个回复
最佳回复
DCloud_App_Array
项目的manifest.json中配置了capabilities,:
复制代码
"capabilities": { "entitlements": { "com.apple.security.application-groups": [""] } },
去掉以上配置,或者苹果后台对应的AppID下勾选“App Groups”,重新生成profile文件并下载,再提交云端打包。
关键错误信息:
复制代码
[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile "dida" doesn't support the App Groups capability. (in target 'HBuilder' from project 'HBuilder') [PackagePath]/HBuilder.xcodeproj: error: Provisioning profile "dida" doesn't include the com.apple.security.application-groups entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update. (in target 'HBuilder' from project 'HBuilder')
蔡cai
com.apple.developer.associated-domains是一个权限设置,允许iOS应用通过URL打开其他应用或服务。证书那边有配置相关权限嘛?有重新生成证书吗?应该是这个问题吧
q***@163.com (作者)
谢谢两位,capabilities去掉了,权限加上了,成功了