IOS离线打包uniapp的信息时报错如下的解决方法

发布于:2024-05-08 ⋅ 阅读:(29) ⋅ 点赞:(0)

IOS离线打包uniapp的信息时报错如下的解决方法

问题描述:

Extract app intents metadata 0.1 seconds
XExtractAppIntentsMetadata(in target 'HBuilder' from project 'HBuilder-Hello')cd /Users/whb/space/vpt/vptios/HBuilder-Hello/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --output /Users/whb/Library/Developer/Xcode/DerivedData/HBuilder-Hello-boiutasgvgcdukdqqlnbvfpftufn/Build/Products/Debug-iphoneos/HBuilder.app --toolchain-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain--module-name HBuilder --sdk-root /Applications/Xcode.app/Contents/Developer/Platforms/iPhone0s.platform/Developer/SDKs/iPhone0S17,0,sdk--source-files /Users/whb/space/vpt/vptios/HBuilder-Hello/HBuilder-Hello/Dcloud,swift --binary-file /Users/whb/Library/Developer/Xcode/DerivedData/HBuilder-Hello-boiutasgvgcdukdgqlnbvfpftufn/Build/Products/Debug-iphoneos/HBuilder,app/HBuilder --compile-time-extraction
error: Build input file cannot be found:'/Users/whb/Library/Developer/Xcode/DerivedData/HBuilder-Hello-boiutasgvgcdukdqqinbvfpftufn/Build/Products/Debug-iphoneos/HBuilder.app/HBuilder', Did you forget to declare this file as an output of a script phase or custombuild rule which produces it? (in target 'HBuilder' from project 'HBuilder-Hello')
x Build input file cannot be found: "Users/whb/Library/Developer/Xcode/DerivedData/HBuilder-Hello-boiutasgvgcdukd.. morevCopy Swift standard libraries into HBuilder.app 0.1 seconds8 Build input file cannot be found: '/Users/whb/Library/Developer/Xcode/DerivedData/HBuilder-Hello-boiutasgvgcdukd...

问题截图如下:

在这里插入图片描述
问题的解决方案,找到Builde Settings >> Excludee Architectures 后面的值进行置空操作,一般都是arm64,删掉。再进行重新运行即可成功。