美文网首页iOS程序猿
framework not found IOSurface fo

framework not found IOSurface fo

作者: zforrest | 来源:发表于2017-09-29 14:24 被阅读0次

    最近升级到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工程

    相关文章

      网友评论

        本文标题:framework not found IOSurface fo

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