LOVE约定
LOVE约定
  • 发布:2023-03-30 19:21
  • 更新:2023-03-31 09:16
  • 阅读:973

为什么iOS打包错误

分类:HBuilder

错误日志: https://ide.dcloud.net.cn/build/errorLog/097df850-ceeb-11ed-97e0-81590bf62a28

Appid: H5D8DBADB
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild archive -sdk iphoneos16.2 -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 = iphoneos16.2

Prepare packages

Computing target dependency graph and provisioning inputs

Create build description
Build description signature: 90b5b8fe90dadbbe095359e5474139e7
Build description path: /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-deskxcevlouyifanbrradfnnfixh/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/XCBuildData/90b5b8fe90dadbbe095359e5474139e7-desc.xcbuild

note: Building targets in dependency order
[PackagePath]/HBuilder.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'HBuilder' from project 'HBuilder')
[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"HelloAeeAppProfileDistribution\" doesn't support the Associated Domains capability. (in target 'HBuilder' from project 'HBuilder')
[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"HelloAeeAppProfileDistribution\" doesn't include the com.apple.developer.associated-domains 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:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:58423B95-8229-45D1-8861-D047BF56A224, OS:16.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:F2E9A704-1E11-40E6-9BCB-E65671FB01CF, OS:16.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:D2FACAB3-8F20-4269-892C-B518053CAF42, OS:16.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:A38C4C7A-4F45-4CA0-9D77-D0611954E7AF, OS:16.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:B90E1882-DE6D-4596-9F1E-B50BE96CDB2A, OS:16.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:A7B4BD12-957E-4735-9EC3-B25F575C24D6, OS:16.2, name:iPhone 14 }
{ platform:iOS Simulator, id:DF3C4D9D-5268-4AD6-850C-7C05B2E03AA9, OS:16.2, name:iPhone 14 Plus }
{ platform:iOS Simulator, id:40FE04BB-EEF7-4A66-93F1-0FF9F1CBAD58, OS:16.2, name:iPhone 14 Pro }
{ platform:iOS Simulator, id:EA99E381-8157-4786-95DA-AF4322F8B3E8, OS:16.2, name:iPhone 14 Pro Max }
{ platform:iOS Simulator, id:A842F6EA-B83B-4893-9C34-CC28BE1AE0F1, OS:16.2, name:iPhone SE (3rd generation) }
ARCHIVE FAILED

大佬们求助

2023-03-30 19:21 负责人:无 分享
已邀请:
BoredApe

BoredApe - 有问题就会有答案。

[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"HelloAeeAppProfileDistribution\" doesn't support the Associated Domains capability. (in target 'HBuilder' from project 'HBuilder')  
[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"HelloAeeAppProfileDistribution\" doesn't include the com.apple.developer.associated-domains entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update. (in target 'HBuilder' from project 'HBuilder')

参考文档:iOS云打包如何设置通用链接等Capabilities配置
开启Associated Domains服务后需要重新生成profile文件

  • LOVE约定 (作者)

    已解决,感谢大佬,再次感谢!

    2023-03-31 11:16

LOVE约定

LOVE约定 (作者)

QQ : 2440221104 求大佬们请教下

要回复问题请先登录注册