uni-app IOS打包失败报错
uni-app IOS打包失败报错
操作步骤
- 更换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: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)
重复问题,问题原因查看https://ask.dcloud.net.cn/question/201129