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
网友评论