找不到xcode 8.3框架用于架构armv7的FileProvider [英] xcode 8.3 framework not found FileProvider for architecture armv7
问题描述
当我使用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.
- 在此处下载Xcode 9发行版.
- 安装后,转到 Application 文件夹,右键单击Xcode9.app,选择 Show Package Contents .
- 转到此目录:
- Download the Xcode 9 release version here.
- After install, go to Application folder, right click on the Xcode9.app, select Show Package Contents.
- 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/
这篇关于找不到xcode 8.3框架用于架构armv7的FileProvider的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!