z***@163.com
z***@163.com
  • 发布:2024-11-08 15:58
  • 更新:2024-11-08 16:04
  • 阅读:55

【报Bug】IOS打包失败报错

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

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

HBuilderX类型: Alpha

HBuilderX版本号: 4.28

手机系统: iOS

手机系统版本号: iOS 18

手机厂商: 苹果

手机机型: iPhoneX

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

更换APP启动页面后重新打包

预期结果:

打包成功

实际结果:

打包失败报错

bug描述:

CompileStoryboard [PackagePath]/HBuilder/Base.lproj/LaunchScreen.storyboard (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --companion-strings-file en:[PackagePath]/HBuilder/en.lproj/LaunchScreen.strings --companion-strings-file zh-Hans:[PackagePath]/HBuilder/zh-Hans.lproj/LaunchScreen.strings --module HBuilder --output-partial-info-plist /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-fckdhaaiymoltffcqvbvfufchshc/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/HBuilder.build/Release-iphoneos/HBuilder.build/Base.lproj/LaunchScreen-SBPartialInfo.plist --auto-activate-custom-fonts --target-device iphone --minimum-deployment-target 12.0 --output-format human-readable-text --compilation-directory /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-fckdhaaiymoltffcqvbvfufchshc/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/HBuilder.build/Release-iphoneos/HBuilder.build/Base.lproj [PackagePath]/HBuilder/Base.lproj/LaunchScreen.storyboard
/ com.apple.ibtool.errors /
[PackagePath]/HBuilder/Base.lproj/LaunchScreen.storyboard: error: Line 19: Specification mandates value for attribute View
Line 19: attributes construct error
Line 19: Couldn't find end of Start Tag imageCompileAssetCatalog /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-fckdhaaiymoltffcqvbvfufchshc/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/InstallationBuildProductsLocation/Applications/HBuilder.app [PackagePath]/HBuilder/Assets.xcassets (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
/Applications/Xcode.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-fckdhaaiymoltffcqvbvfufchshc/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/HBuilder.build/Release-iphoneos/HBuilder.build/assetcatalog_dependencies --output-partial-info-plist /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-fckdhaaiymoltffcqvbvfufchshc/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/HBuilder.build/Release-iphoneos/HBuilder.build/assetcatalog_generated_info.plist --app-icon AppIcon --compress-pngs --enable-on-demand-resources YES --development-region en --target-device iphone --minimum-deployment-target 12.0 --platform iphoneos --compile /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-fckdhaaiymoltffcqvbvfufchshc/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/InstallationBuildProductsLocation/Applications/HBuilder.app [PackagePath]/HBuilder/Assets.xcassets

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-001408E93AA3401E, name:My Mac }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:A66E81EE-FC0D-43CC-A8DE-2276E3EEAEFF, OS:17.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:A66E81EE-FC0D-43CC-A8DE-2276E3EEAEFF, OS:17.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:375629A7-6907-42C0-8CD3-B59E4434D358, OS:17.5, name:iPad (10th generation) }
{ platform:iOS Simulator, id:375629A7-6907-42C0-8CD3-B59E4434D358, OS:17.5, name:iPad (10th generation) }
{ platform:iOS Simulator, id:4A2DA7F5-22B8-48BC-BA63-0ABB4F4D743E, OS:17.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:4A2DA7F5-22B8-48BC-BA63-0ABB4F4D743E, OS:17.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:C1BF841D-D72E-4D99-9E34-054A96A5B277, OS:17.5, name:iPad Air 11-inch (M2) }
{ platform:iOS Simulator, id:C1BF841D-D72E-4D99-9E34-054A96A5B277, OS:17.5, name:iPad Air 11-inch (M2) }
{ platform:iOS Simulator, id:507BAEA4-B802-4E61-97C9-520CE1BBB068, OS:17.5, name:iPad Air 13-inch (M2) }
{ platform:iOS Simulator, id:507BAEA4-B802-4E61-97C9-520CE1BBB068, OS:17.5, name:iPad Air 13-inch (M2) }
{ platform:iOS Simulator, id:36CA859E-4C3F-4A09-8BA6-F1693CE3F2B3, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:36CA859E-4C3F-4A09-8BA6-F1693CE3F2B3, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:1D4DB61E-9556-4F6A-92E5-90E94516F22C, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:1D4DB61E-9556-4F6A-92E5-90E94516F22C, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:63223F2D-6521-47BE-BA37-E347539E6889, OS:17.5, name:iPad Pro 11-inch (M4) }
{ platform:iOS Simulator, id:63223F2D-6521-47BE-BA37-E347539E6889, OS:17.5, name:iPad Pro 11-inch (M4) }
{ platform:iOS Simulator, id:26C24D2D-1759-417B-A389-E9B34C58F398, OS:17.5, name:iPad Pro 13-inch (M4) }
{ platform:iOS Simulator, id:26C24D2D-1759-417B-A389-E9B34C58F398, OS:17.5, name:iPad Pro 13-inch (M4) }
{ platform:iOS Simulator, id:5A1E9A9A-2D18-4E7B-AED5-58A77814B8F8, OS:17.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:5A1E9A9A-2D18-4E7B-AED5-58A77814B8F8, OS:17.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:8434BFB8-54C6-453A-B795-26A5BFECACB1, OS:17.5, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:8434BFB8-54C6-453A-B795-26A5BFECACB1, OS:17.5, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:C96D540B-E769-4C13-8E87-8697329D4728, OS:17.2, name:iPhone 15 }
{ platform:iOS Simulator, id:C96D540B-E769-4C13-8E87-8697329D4728, OS:17.2, name:iPhone 15 }
{ platform:iOS Simulator, id:C7A2AEA6-FD2E-435A-9828-6278F3DB9ADF, OS:17.5, name:iPhone 15 }
{ platform:iOS Simulator, id:C7A2AEA6-FD2E-435A-9828-6278F3DB9ADF, OS:17.5, name:iPhone 15 }
{ platform:iOS Simulator, id:41FF3AEA-F95F-4EC7-9932-0CD6714535D1, OS:17.2, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:41FF3AEA-F95F-4EC7-9932-0CD6714535D1, OS:17.2, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:AC1299D1-1F78-42DC-B94C-277628DCCDFC, OS:17.5, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:AC1299D1-1F78-42DC-B94C-277628DCCDFC, OS:17.5, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:C6AF505A-BBE8-4669-8A36-27821F62A0E1, OS:17.2, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:C6AF505A-BBE8-4669-8A36-27821F62A0E1, OS:17.2, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:30F5DBAF-B5D6-462D-87A7-CE1F79FEB7C7, OS:17.5, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:30F5DBAF-B5D6-462D-87A7-CE1F79FEB7C7, OS:17.5, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:60596786-6C3E-4529-9734-417B37D53A5B, OS:17.2, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:60596786-6C3E-4529-9734-417B37D53A5B, OS:17.2, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:A5028598-3FC6-46E7-AFCE-7CEC9713E217, OS:17.5, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:A5028598-3FC6-46E7-AFCE-7CEC9713E217, OS:17.5, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:7DDCD2C3-00A2-4EC6-98B3-83D31A938CAD, OS:17.2, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:7DDCD2C3-00A2-4EC6-98B3-83D31A938CAD, OS:17.2, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:FF00A80D-30A7-411B-A8D7-06087A911FA1, OS:17.5, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:FF00A80D-30A7-411B-A8D7-06087A911FA1, OS:17.5, name:iPhone SE (3rd generation) }
ARCHIVE FAILED The following build commands failed:
CompileStoryboard [PackagePath]/HBuilder/Base.lproj/LaunchScreen.storyboard (in target 'HBuilder' from project 'HBuilder')
(1 failure)

2024-11-08 15:58 负责人:无 分享
已邀请:
DCloud_App_Array

要回复问题请先登录注册