找不到xcode 8.3框架用于架构armv7的FileProvider [英] xcode 8.3 framework not found FileProvider for architecture armv7

查看:102
本文介绍了找不到xcode 8.3框架用于架构armv7的FileProvider的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用xcode 9 beta 6构建本机项目时,它可以正常工作.

When I'm using xcode 9 beta 6 building a react-native project, it works fine.

但是在我更改为xcode 8.3之后,它构建失败,并向我显示以下信息:

But after I change to xcode 8.3, it builds failed, and shows me these information:

ld: framework not found FileProvider for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Apple Mach-O Linker (ld) Error Group
: Linker command failed with exit code 1 (use -v to see invocation)

如果我使用xcode 8.3进行开发怎么办?由于以下原因,我无法使用xcode 9: Xcode将ART.xcodeproj添加到库中后崩溃

How could I do if I use xcode 8.3 to develop ? I'm not able to use xcode 9 because of this: Xcode was crashed after adding ART.xcodeproj into Library

感谢所有兄弟:)

推荐答案

FileProvide框架仅在Xcode 9中可用.如果要继续使用Xcode,您需要手动下载并安装Xcode 9. 8个环境,

FileProvide framework is only available in Xcode 9. You need to download and install Xcode 9 manually if you want to continue working on Xcode 8 environment,

通过cocoapods更新框架后,我也收到此错误:

I get this error too after updating my framework via cocoapods:

ld: framework not found FileProvider for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

您需要将FileProvider框架从Xcode 9复制到Xcode 8的目录中.

You need to copy the FileProvider framework from Xcode 9 into the directory of Xcode 8.

  1. 此处下载Xcode 9发行版.
  2. 安装后,转到 Application 文件夹,右键单击Xco​​de9.app,选择 Show Package Contents .
  3. 转到此目录:
  1. Download the Xcode 9 release version here.
  2. After install, go to Application folder, right click on the Xcode9.app, select Show Package Contents.
  3. Go to this directory:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/

  • 复制 FileProvider.framework ,并粘贴到Xcode8.app的同一目录中.
  • 重新启动Xcode8,清理项目并重新构建.
  • Copy the FileProvider.framework, and paste into the same directory of Xcode8.app.
  • Restart your Xcode8, clean your project and rebuild it.
  • 这篇关于找不到xcode 8.3框架用于架构armv7的FileProvider的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆