美文网首页
ios 报错处理

ios 报错处理

作者: 倾城何处不暖阳 | 来源:发表于2020-11-18 10:44 被阅读0次

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

相关文章

网友评论

      本文标题:ios 报错处理

      本文链接:https://www.haomeiwen.com/subject/htoqiktx.html