iOS程序猿

framework not found IOSurface fo

2017-09-29  本文已影响0人  zforrest

最近升级到xcode9之后编译出来的framwork ,.a文件再拿到xcode8上面编译就会出现这个问题

Error:ld: framework not found IOSurface for architecture armv7

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

Showing first 200 warnings only

Error:ld: framework not found FileProvider for architecture arm64

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

Showing first 200 warnings only

解决办法:找到xcode9中Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/这个文件夹将:1.IOSurface.framework 2.FileProviderUI.framework 3.FileProvider.framework拷贝到xcode8的相同目录中去

之后clean工程

上一篇 下一篇

猜你喜欢

热点阅读