XCode10环境MobileVLCKit关于libstdc++6.0.9报错symbol(s) not found for architecture arm64的解决办法
ld: symbol(s) not found for architecture arm64
平台文件夹文件名文件大小路径
模拟器运行
CoreSimulator
libstdc++.6.0.9.dylib
766,624B
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/
模拟器编译
iPhoneSimulator
libstdc++.6.0.9.tbd
206,800B
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/
iOS真机
iPhoneOS
libstdc++.6.0.9.tbd
209,673B
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/
macAPP
MacOSX
libstdc++.6.0.9.tbd
206,751B
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/
最后一步:
Build Settings -> C++ Standard Library 选择 libc++
General -> Linked Frameworks and Libraries 选择 libstdc++6.0.09.tbd
文件下载地址: 点我下载