h***@vip.qq.com
h***@vip.qq.com
  • 发布:2024-06-13 08:45
  • 更新:2024-06-13 20:08
  • 阅读:112

【报Bug】请官方大大,和大佬们,帮看一下加入阿里云推送后云端打包ios自定义基座真机和模拟器失败

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: 14.5

HBuilderX类型: 正式

HBuilderX版本号: 4.15

手机系统: iOS

手机系统版本号: iOS 17

手机厂商: 苹果

手机机型: iphone12

页面类型: vue

vue版本: vue3

打包方式: 云端

项目创建方式: HBuilderX

示例代码:

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-000D29A41AFB401E }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:D0995472-7DCA-4B75-94CB-36790607A347, OS:17.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:D0995472-7DCA-4B75-94CB-36790607A347, OS:17.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:FEF882E5-6D59-4258-A360-A5AB7088F137, OS:17.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:FEF882E5-6D59-4258-A360-A5AB7088F137, OS:17.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:46FD9851-6B75-4B63-9994-7323454CD5B6, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:46FD9851-6B75-4B63-9994-7323454CD5B6, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:F6E43BF4-CEDA-403A-BA34-633EFE70B6BC, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:F6E43BF4-CEDA-403A-BA34-633EFE70B6BC, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:94B3B082-032E-4F34-ACC3-79AE0B77EBCD, OS:17.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:94B3B082-032E-4F34-ACC3-79AE0B77EBCD, OS:17.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:58F69B9D-009C-4FBE-A162-4C410E336300, OS:17.2, name:iPhone 15 }
{ platform:iOS Simulator, id:58F69B9D-009C-4FBE-A162-4C410E336300, OS:17.2, name:iPhone 15 }
{ platform:iOS Simulator, id:4B79CD15-3A70-45B4-8997-1572E446370A, OS:17.2, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:4B79CD15-3A70-45B4-8997-1572E446370A, OS:17.2, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:C059A0AA-01D5-4629-A8B3-D6E2D41E8D30, OS:17.2, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:C059A0AA-01D5-4629-A8B3-D6E2D41E8D30, OS:17.2, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:527666E3-2DA8-4634-9E83-AE13C009EAF3, OS:17.2, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:527666E3-2DA8-4634-9E83-AE13C009EAF3, OS:17.2, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:3FC7B39D-0020-4171-8F2C-86477A1B1BED, OS:17.2, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:3FC7B39D-0020-4171-8F2C-86477A1B1BED, OS:17.2, name:iPhone SE (3rd generation) }
ARCHIVE FAILED The following build commands failed:
Ld /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-dyctkxipkfbrbtbpulcesfaekhza/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/InstallationBuildProductsLocation/Applications/HBuilder.app/HBuilder normal (in target 'HBuilder' from project 'HBuilder')

加入阿里云推送后云打包 ios失败

操作步骤:

加入阿里云推送后云端打包ios自定义基座真机和模拟器失败

预期结果:

加入阿里云推送后云端打包ios自定义基座真机和模拟器正常

实际结果:

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-000D29A41AFB401E }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:D0995472-7DCA-4B75-94CB-36790607A347, OS:17.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:D0995472-7DCA-4B75-94CB-36790607A347, OS:17.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:FEF882E5-6D59-4258-A360-A5AB7088F137, OS:17.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:FEF882E5-6D59-4258-A360-A5AB7088F137, OS:17.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:46FD9851-6B75-4B63-9994-7323454CD5B6, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:46FD9851-6B75-4B63-9994-7323454CD5B6, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:F6E43BF4-CEDA-403A-BA34-633EFE70B6BC, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:F6E43BF4-CEDA-403A-BA34-633EFE70B6BC, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:94B3B082-032E-4F34-ACC3-79AE0B77EBCD, OS:17.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:94B3B082-032E-4F34-ACC3-79AE0B77EBCD, OS:17.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:58F69B9D-009C-4FBE-A162-4C410E336300, OS:17.2, name:iPhone 15 }
{ platform:iOS Simulator, id:58F69B9D-009C-4FBE-A162-4C410E336300, OS:17.2, name:iPhone 15 }
{ platform:iOS Simulator, id:4B79CD15-3A70-45B4-8997-1572E446370A, OS:17.2, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:4B79CD15-3A70-45B4-8997-1572E446370A, OS:17.2, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:C059A0AA-01D5-4629-A8B3-D6E2D41E8D30, OS:17.2, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:C059A0AA-01D5-4629-A8B3-D6E2D41E8D30, OS:17.2, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:527666E3-2DA8-4634-9E83-AE13C009EAF3, OS:17.2, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:527666E3-2DA8-4634-9E83-AE13C009EAF3, OS:17.2, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:3FC7B39D-0020-4171-8F2C-86477A1B1BED, OS:17.2, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:3FC7B39D-0020-4171-8F2C-86477A1B1BED, OS:17.2, name:iPhone SE (3rd generation) }
ARCHIVE FAILED The following build commands failed:
Ld /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-dyctkxipkfbrbtbpulcesfaekhza/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/InstallationBuildProductsLocation/Applications/HBuilder.app/HBuilder normal (in target 'HBuilder' from project 'HBuilder')

加入阿里云推送后云打包 ios失败

bug描述:

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-000D29A41AFB401E }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:D0995472-7DCA-4B75-94CB-36790607A347, OS:17.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:D0995472-7DCA-4B75-94CB-36790607A347, OS:17.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:FEF882E5-6D59-4258-A360-A5AB7088F137, OS:17.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:FEF882E5-6D59-4258-A360-A5AB7088F137, OS:17.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:46FD9851-6B75-4B63-9994-7323454CD5B6, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:46FD9851-6B75-4B63-9994-7323454CD5B6, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:F6E43BF4-CEDA-403A-BA34-633EFE70B6BC, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:F6E43BF4-CEDA-403A-BA34-633EFE70B6BC, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:94B3B082-032E-4F34-ACC3-79AE0B77EBCD, OS:17.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:94B3B082-032E-4F34-ACC3-79AE0B77EBCD, OS:17.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:58F69B9D-009C-4FBE-A162-4C410E336300, OS:17.2, name:iPhone 15 }
{ platform:iOS Simulator, id:58F69B9D-009C-4FBE-A162-4C410E336300, OS:17.2, name:iPhone 15 }
{ platform:iOS Simulator, id:4B79CD15-3A70-45B4-8997-1572E446370A, OS:17.2, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:4B79CD15-3A70-45B4-8997-1572E446370A, OS:17.2, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:C059A0AA-01D5-4629-A8B3-D6E2D41E8D30, OS:17.2, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:C059A0AA-01D5-4629-A8B3-D6E2D41E8D30, OS:17.2, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:527666E3-2DA8-4634-9E83-AE13C009EAF3, OS:17.2, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:527666E3-2DA8-4634-9E83-AE13C009EAF3, OS:17.2, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:3FC7B39D-0020-4171-8F2C-86477A1B1BED, OS:17.2, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:3FC7B39D-0020-4171-8F2C-86477A1B1BED, OS:17.2, name:iPhone SE (3rd generation) }
ARCHIVE FAILED The following build commands failed:
Ld /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-dyctkxipkfbrbtbpulcesfaekhza/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/InstallationBuildProductsLocation/Applications/HBuilder.app/HBuilder normal (in target 'HBuilder' from project 'HBuilder')

加入阿里云推送后云打包 ios失败

2024-06-13 08:45 负责人:DCloud_App_Array 分享
已邀请:
DCloud_App_Array

DCloud_App_Array

请提供完整的错误链接地址。
注意:链接地址有效期只有3天。

  • h***@vip.qq.com (作者)

    https://app.liuyingyong.cn/build/errorLog/21c32540-2a1e-11ef-b37b-8b1332b43565

    2024-06-14 15:18

  • h***@vip.qq.com (作者)

    https://app.liuyingyong.cn/build/errorLog/21415b20-2a1e-11ef-bd1d-4b22936a7bb5 这个是真机的,上面那个是模拟器的报错

    2024-06-14 15:20

  • DCloud_App_Array

    回复 h***@vip.qq.com: 从日志看是应用使用的支付宝支付模块与阿里云推送模块都使用了UTDID.framework。

    如果是本地原生插件可以尝试删除UTDID.framwork;如果是插件市场的付费插件可以尝试配置ios-exclude.txt(文件中配置UTDID.framework),详情参考文档

    以下是关键错误日志:


    duplicate symbol '_OBJC_CLASS_$_AidManager' in:  
    [SourcePath]/libs/Universal/AlipaySDK.framework/AlipaySDK
    [UniPluginPath]Aliyun-Push/ios//UTDID.framework/UTDID(AidManager.o)
    duplicate symbol '_OBJC_METACLASS_$_AidManager' in:
    [SourcePath]/libs/Universal/AlipaySDK.framework/AlipaySDK

    2024-06-14 15:45

  • h***@vip.qq.com (作者)

    回复 DCloud_App_Array: 好的,谢谢解答,我去试试看。

    2024-06-17 08:47

要回复问题请先登录注册