Xcode Framework not found FileProvider for architecture x86_64/arm64

Xcode Framework not found FileProvider for architecture x86_64/arm64

升级了Xcode9,有Framework是给第三方来用的,但是第三方用的是Xcode8,这时候Xcode9打出来的Framework放进Xcode8会报错

Xcode Framework not found FileProvider for architecture x86_64/arm64_第1张图片

转自:http://www.skyfox.org/xcode-framework-not-found-fileprovider-for-architecture.html

Framework not found FileProvider for architecture x86_64/arm64.

查阅资料发现,Xcode9的

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

目录中多了个FileProvider,而Xcode8并没有

解决方法就是复制Xcode9的 FileProvider到Xcode8中。

后续问题

有网友反映,使用上述方法,Xcode8使用Xcode9打出来的Framework会报私有API。还没有好的解决办法。

Xcode Framework not found FileProvider for architecture x86_64/arm64_第2张图片

你可能感兴趣的:(Xcode Framework not found FileProvider for architecture x86_64/arm64)