uniapp Xcode15运行到Simulator17报错Building for 'iOS-simulator', but linking in object file (/3.96/SDK...

报错信息:

Building for 'iOS-simulator', but linking in object file (/Users/pingguo/Desktop/sj-charge/3.96/SDK/SDK/Libs/DCUniRecord.framework/DCUniRecord[arm64][3](PGRecord.o)) built for 'iOS'


Linker command failed with exit code 1 (use -v to see invocation)


解决方法:

TARGETS-->Build Settings->Architectures->Excluded Architectures增加arm64



问题:如果按上述修改后,真机运行报错,Build input file cannot be found: '/Users/pingguo/Library/Developer/Xcode/DerivedData/HBuilder-Hello-eqohwgwtssbhhueramgrnqlptlai/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?

暂时不知道怎么兼容!!!!!


参考:https://www.jianshu.com/p/be196185e1b3

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容