云打包

- 发布:2025-03-13 19:39
- 更新:2025-03-13 20:44
- 阅读:49
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 15.3.2 (24D81)
HBuilderX类型: 正式
HBuilderX版本号: 4.56
手机系统: iOS
手机系统版本号: iOS 18
手机厂商: 苹果
手机机型: 13
页面类型: vue
vue版本: vue3
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
正常产出
正常产出
实际结果:
打包报错,提示:Provisioning profile \"UniAppFB-Distribution-20240411\" doesn't match the entitlements file's value for the com.apple.security.application-groups entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update.
打包报错,提示:Provisioning profile \"UniAppFB-Distribution-20240411\" doesn't match the entitlements file's value for the com.apple.security.application-groups entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update.
bug描述:
Appid: __UNI__201BD71
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 Release
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: 7b5589abe2c56c273245ec038adc38a6
Build description path: /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-fqatsxkkiyfjhffjjofffdpbdhwc/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/XCBuildData/7b5589abe2c56c273245ec038adc38a6.xcbuilddata
[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"UniAppFB-Distribution-20240411\" doesn't match the entitlements file's value for 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:555388F8-BC5E-4416-BC24-E689DF79B56A, OS:18.1, name:iPad (10th generation) }
{ platform:iOS Simulator, id:555388F8-BC5E-4416-BC24-E689DF79B56A, OS:18.1, name:iPad (10th generation) }
{ platform:iOS Simulator, id:E9EF897B-6A5E-4A00-9B20-739B884D6818, OS:18.1, name:iPad Air 11-inch (M2) }
{ platform:iOS Simulator, id:E9EF897B-6A5E-4A00-9B20-739B884D6818, OS:18.1, name:iPad Air 11-inch (M2) }
{ platform:iOS Simulator, id:A5B1969D-9C86-4872-AFB0-7A00AC88238E, OS:18.1, name:iPad Air 13-inch (M2) }
{ platform:iOS Simulator, id:A5B1969D-9C86-4872-AFB0-7A00AC88238E, OS:18.1, name:iPad Air 13-inch (M2) }
{ platform:iOS Simulator, id:5EABA124-4458-4C87-A59A-367427D7BC83, OS:18.1, name:iPad Pro 11-inch (M4) }
{ platform:iOS Simulator, id:5EABA124-4458-4C87-A59A-367427D7BC83, OS:18.1, name:iPad Pro 11-inch (M4) }
{ platform:iOS Simulator, id:2D9ABA85-91BA-4BD6-A81A-49F891864840, OS:18.1, name:iPad Pro 13-inch (M4) }
{ platform:iOS Simulator, id:2D9ABA85-91BA-4BD6-A81A-49F891864840, OS:18.1, name:iPad Pro 13-inch (M4) }
{ platform:iOS Simulator, id:8022080A-80D2-418C-991D-9D9C753B381B, OS:18.1, name:iPad mini (A17 Pro) }
{ platform:iOS Simulator, id:8022080A-80D2-418C-991D-9D9C753B381B, OS:18.1, name:iPad mini (A17 Pro) }
{ platform:iOS Simulator, id:3F9ACF45-21BC-4DE8-AEB2-F1591AF66519, OS:18.1, name:iPhone 16 }
{ platform:iOS Simulator, id:3F9ACF45-21BC-4DE8-AEB2-F1591AF66519, OS:18.1, name:iPhone 16 }
{ platform:iOS Simulator, id:930286D2-B9AF-404C-AEBB-B0347FE9C7A9, OS:18.1, name:iPhone 16 Plus }
{ platform:iOS Simulator, id:930286D2-B9AF-404C-AEBB-B0347FE9C7A9, OS:18.1, name:iPhone 16 Plus }
{ platform:iOS Simulator, id:2FE2CC93-497A-4A99-9FEA-085C7A002426, OS:18.1, name:iPhone 16 Pro }
{ platform:iOS Simulator, id:2FE2CC93-497A-4A99-9FEA-085C7A002426, OS:18.1, name:iPhone 16 Pro }
{ platform:iOS Simulator, id:3BC7C1F0-3971-4824-9E4D-ABEF88200044, OS:18.1, name:iPhone 16 Pro Max }
{ platform:iOS Simulator, id:3BC7C1F0-3971-4824-9E4D-ABEF88200044, OS:18.1, name:iPhone 16 Pro Max }
{ platform:iOS Simulator, id:D58D64F3-5EFB-40CB-BC1E-1A770886658C, OS:18.1, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:D58D64F3-5EFB-40CB-BC1E-1A770886658C, OS:18.1, name:iPhone SE (3rd generation) }
** ARCHIVE FAILED **The following build commands failed:
Archiving project HBuilder with scheme HBuilder
(1 failure)
1 个回复
天生DR - 天生我材必有用
检查 Profile 文件是否有效