i***@mshclass.com
i***@mshclass.com
  • 发布:2024-01-10 15:55
  • 更新:2024-01-11 17:02
  • 阅读:321

【报Bug】ios使用云端插件打自定义基座包失败

分类:HBuilderX

产品分类: HbuilderX

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: Windows 11 家庭中文版

HBuilderX版本号: 3.99

操作步骤:

在使用云端插件的情况下打包

预期结果:

能正常打包

实际结果:

打包失败

bug描述:

uniapp在使用云端插件的情况下打自定义基座包会打包失败

错误日志: https://ide.dcloud.net.cn/build/errorLog/da261c80-af8b-11ee-a981-d99a25e31d5a

2024-01-10 15:55 负责人:无 分享
已邀请:
i***@mshclass.com

i***@mshclass.com (作者)

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

Prepare packages

Computing target dependency graph and provisioning inputs

Create build description
Build description signature: c22e72e402438c4a7a5af1fa71de7cea
Build description path: /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-dpgyrhvttlyycddrnzxazxekrlct/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/XCBuildData/c22e72e402438c4a7a5af1fa71de7cea.xcbuilddata

note: Building targets in dependency order
[PackagePath]/HBuilder.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'HBuilder' from project 'HBuilder')
[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"mszsNclassApp\" doesn't support the Associated Domains capability. (in target 'HBuilder' from project 'HBuilder')
[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"mszsNclassApp\" 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')2024-01-10 15:42:57.125 xcodebuild[49326:971000] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
--- 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-001214A41AFB401E }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:9E65F4F8-6D3C-487B-AB4C-BCCA597FB156, OS:16.4, name:iPad (10th generation) }
{ platform:iOS Simulator, id:9E65F4F8-6D3C-487B-AB4C-BCCA597FB156, OS:16.4, name:iPad (10th generation) }
{ platform:iOS Simulator, id:A197913A-C77D-422D-8003-EB302A8B7D51, OS:16.4, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:A197913A-C77D-422D-8003-EB302A8B7D51, OS:16.4, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:B4B22119-76EE-43B8-9314-4CBFB974A65F, OS:16.4, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:B4B22119-76EE-43B8-9314-4CBFB974A65F, OS:16.4, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:0F71987E-255B-4557-A23F-A52E5335E390, OS:16.4, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:0F71987E-255B-4557-A23F-A52E5335E390, OS:16.4, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:98EE07A7-C3D7-4397-8B55-7BD53478FE77, OS:16.4, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:98EE07A7-C3D7-4397-8B55-7BD53478FE77, OS:16.4, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:9B5D8302-706D-4B0E-924E-A288953093BE, OS:16.4, name:iPhone 14 }
{ platform:iOS Simulator, id:9B5D8302-706D-4B0E-924E-A288953093BE, OS:16.4, name:iPhone 14 }
{ platform:iOS Simulator, id:FD2D93BC-9B53-4735-8053-9A2D588BAAF9, OS:16.4, name:iPhone 14 Plus }
{ platform:iOS Simulator, id:FD2D93BC-9B53-4735-8053-9A2D588BAAF9, OS:16.4, name:iPhone 14 Plus }
{ platform:iOS Simulator, id:CBF3992F-06CC-467D-B0ED-B94CF334BDA0, OS:16.4, name:iPhone 14 Pro }
{ platform:iOS Simulator, id:CBF3992F-06CC-467D-B0ED-B94CF334BDA0, OS:16.4, name:iPhone 14 Pro }
{ platform:iOS Simulator, id:09AD8C58-71AF-40C0-935D-135A82367946, OS:16.4, name:iPhone 14 Pro Max }
{ platform:iOS Simulator, id:09AD8C58-71AF-40C0-935D-135A82367946, OS:16.4, name:iPhone 14 Pro Max }
{ platform:iOS Simulator, id:025FF366-2341-4FF6-9BF8-76F1395E427D, OS:16.4, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:025FF366-2341-4FF6-9BF8-76F1395E427D, OS:16.4, name:iPhone SE (3rd generation) }
ARCHIVE FAILED

BoredApe

BoredApe - 有问题就会有答案。

[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"mszsNclassApp\" doesn't support the Associated Domains capability. (in target 'HBuilder' from project 'HBuilder')  
[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"mszsNclassApp\" 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文件

要回复问题请先登录注册