有条有理
有条有理
  • 发布:2023-11-20 16:23
  • 更新:2024-03-28 09:50
  • 阅读:716

IOS离线打包:error: Build input file cannot be found:

分类:5+ SDK

各位大佬 求救:
error: Build input file cannot be found: '/Users/whb/Library/Developer/Xcode/DerivedData/HBuilder-Hello-boiutasgvgcdukdqqlnbvfpftufn/Build/Products/Debug-iphoneos/HBuilder.app/HBuilder'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'HBuilder' from project 'HBuilder-Hello')

2023-11-20 16:23 负责人:无 分享
已邀请:
套马杆的套子

套马杆的套子 - 没有解决不了的问题,只有解决不完的问题

这个帮助过我
可以参考下
https://www.cnblogs.com/richard-youth/p/10002797.html

  • 有条有理 (作者)

    ExtractAppIntentsMetadata (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/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.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-boiutasgvgcdukdqqlnbvfpftufn/Build/Products/Debug-iphoneos/HBuilder.app/HBuilder --compile-time-extraction


    我是直接用离线ios包运行程序,报的是这个文件找不到--binary-file /Users/whb/Library/Developer/Xcode/DerivedData/HBuilder-Hello-boiutasgvgcdukdqqlnbvfpftufn/Build/Products/Debug-iphoneos/HBuilder.app/HBuilder

    2023-11-21 10:28

有条有理

有条有理 (作者)

ExtractAppIntentsMetadata (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/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.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-boiutasgvgcdukdqqlnbvfpftufn/Build/Products/Debug-iphoneos/HBuilder.app/HBuilder --compile-time-extraction

我是直接用离线ios包运行程序,报的是这个文件找不到--binary-file /Users/whb/Library/Developer/Xcode/DerivedData/HBuilder-Hello-boiutasgvgcdukdqqlnbvfpftufn/Build/Products/Debug-iphoneos/HBuilder.app/HBuilder

iOSDeveloper

iOSDeveloper - 专注于iOS相关领域。联系QQ:752562065

解决了吗?

1***@qq.com

1***@qq.com

解决了吗,我也是一样的问题,脑壳痛

孤星

孤星 -

楼主解决了吗,同样的问题~~

3***@qq.com

3***@qq.com

楼主解决了吗,同样的问题~~

c***@163.com

c***@163.com

同样的问题。。关注一下等解决。。。在模拟器上运行没有问题,真机或者build的时候就会报这个错。。。error: Build input file cannot be found: '/Users/tang/Library/Developer/Xcode/DerivedData/HBuilder-Hello-axcscxatrsbzsldufoqqsrgagzua/Build/Products/Debug-iphoneos/HBuilder.app/HBuilder'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'HBuilder' from project 'HBuilder-Hello')

  • iOSDeveloper

    HBuilder 输出日志上传一下

    2024-03-05 16:36

  • 1***@163.com

    可以看看我的回答

    2024-03-08 11:44

1***@163.com

1***@163.com

可以这么尝试下解决问题

将下图Excluded Architectures里的arm64去掉,应该就可以archive打包了

3***@qq.com

3***@qq.com

我的解决办法 build-settings最下面 vaild_archs debud release 都设置 arm64 x86_64

要回复问题请先登录注册