安心打包
- 发布:2024-03-27 18:53
- 更新:2024-04-07 14:17
- 阅读:344
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 14.2.1 (23C71)
HBuilderX类型: 正式
HBuilderX版本号: 4.06
手机系统: iOS
手机系统版本号: iOS 17
手机厂商: 苹果
手机机型: iphone
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
打包成功
打包成功
实际结果:
打包失败报错
打包失败报错
bug描述:
安心打包报错:
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild archive -sdk iphoneos17.2 -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 = iphoneos17.2
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
Target 'HBuilder' in project 'HBuilder' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: 9a61f833a72f72765b6d8b0e77cdb07f
Build description path: /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-efdglwtnrreeejdprvlfzmkqpmqz/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/XCBuildData/9a61f833a72f72765b6d8b0e77cdb07f.xcbuilddata
[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"FB_Distribution_20230406\" 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')
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, 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-001150CA3EC3C01E }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:5D043906-56D5-4036-94D9-FB34A5B7E5F4, OS:17.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:5D043906-56D5-4036-94D9-FB34A5B7E5F4, OS:17.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:E95AC377-6F00-4B5B-8149-93F4A9F29E0A, OS:17.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:E95AC377-6F00-4B5B-8149-93F4A9F29E0A, OS:17.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:0AF974B2-B14E-41B5-9EF2-FF9648DC37EE, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:0AF974B2-B14E-41B5-9EF2-FF9648DC37EE, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:651C4D22-CE78-4241-8B22-47FA2B3A1CA6, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:651C4D22-CE78-4241-8B22-47FA2B3A1CA6, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:1863E0C6-AB9F-4CBD-8D59-0956108CBE6E, OS:17.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:1863E0C6-AB9F-4CBD-8D59-0956108CBE6E, OS:17.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:7D75C61E-8AF3-4BB1-B81D-3B1BDB80A44E, OS:17.2, name:iPhone 15 }
{ platform:iOS Simulator, id:7D75C61E-8AF3-4BB1-B81D-3B1BDB80A44E, OS:17.2, name:iPhone 15 }
{ platform:iOS Simulator, id:D39DC27B-630D-4EFB-BA84-6ADDB824D1EB, OS:17.2, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:D39DC27B-630D-4EFB-BA84-6ADDB824D1EB, OS:17.2, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:D8D8FCD6-129B-4C11-BA31-2F910015A6AE, OS:17.2, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:D8D8FCD6-129B-4C11-BA31-2F910015A6AE, OS:17.2, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:2FA93E24-604D-4C1D-BD1A-45393B632AD4, OS:17.2, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:2FA93E24-604D-4C1D-BD1A-45393B632AD4, OS:17.2, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:5D4CEDE0-3518-4499-BE6D-A37169946063, OS:17.2, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:5D4CEDE0-3518-4499-BE6D-A37169946063, OS:17.2, name:iPhone SE (3rd generation) }
ARCHIVE FAILED
之前一直用的安心打包,加了appgroup 和小组件之后,安心打包就一直爆这个错。但是传统打包就可以成功
报错信息中描述的这个profile:FB_Distribution_20230406 并不是我的
DolphinFlow (作者)
试过了,没用,一直显示我的profile是这个呢:FB_Distribution_20230406
2024-03-27 19:10
DolphinFlow (作者)
回复 d***@163.com: 传统打包之后还是无法安心打包
2024-03-27 19:23