ios 报错处理

ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/lib/libstdc++.6.0.9.tbd, missing required architecture arm64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/lib/libstdc++.6.0.9.tbd (2 slices)

ld: in /Users/hufei/Desktop/svnNew/广告包/ywf/ywf/Common/TXLiteAVSDK_Enterprise/TXLiteAVSDK_Player.framework/TXLiteAVSDK_Player(TXPlayInfoResponse.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/hufei/Desktop/svnNew/广告包/ywf/ywf/Common/TXLiteAVSDK_Enterprise/TXLiteAVSDK_Player.framework/TXLiteAVSDK_Player' for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

两处表粗体部分的错误

解决办法

targets - build sttings下搜索
1、Excluded Architecture    添加值 :arm64

2 、VALID_ARCHS 增加 x86_64

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容