ld: 框架未找到体系结构的 FileProvider x86_64
ld: framework not found FileProvider for architecture x86_64
我已经提出过这种问题,但仍然没有得到任何有用的答案,所以,我再次发布。
我正在通过 Cocoapods 将 firebase、googlesigin、twitterkit 和 fabric 安装到我的 swift 应用程序中。
如果我只安装了 Fabric,我可以编译 运行 应用程序。但是,如果我尝试安装 GoogleSignIn 和 TwitterKit,Fabric,它安装成功,但是无法 运行,出现以下编译器错误。
ld: framework not found FileProvider for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我的 podfile 如下所示。
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'pod installation' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
pod 'Fabric'
pod 'TwitterKit'
pod 'Firebase/Database'
pod 'Fabric'
pod 'GoogleSignIn'
# Pods for sample pod
# Pods for pod installation
target 'pod installationTests' do
inherit! :search_paths
# Pods for testing
end
end
附上截图,任何人的帮助。我正在尝试从两天开始修复此问题,非常感谢帮助修复此问题的人。
注意:我正在使用 Xcode 8.3.2,但我现在没有任何真实的设备,而且我的应用程序中也没有使用任何 FileProvider 框架。
也许您的 pods 使用 FileProvider-framework。
FileProvider-framework 可从 iOS11.0 + 和 Xcode 9 因此您应该升级 Xcode 9 以利用此框架。
我已经提出过这种问题,但仍然没有得到任何有用的答案,所以,我再次发布。
我正在通过 Cocoapods 将 firebase、googlesigin、twitterkit 和 fabric 安装到我的 swift 应用程序中。
如果我只安装了 Fabric,我可以编译 运行 应用程序。但是,如果我尝试安装 GoogleSignIn 和 TwitterKit,Fabric,它安装成功,但是无法 运行,出现以下编译器错误。
ld: framework not found FileProvider for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我的 podfile 如下所示。
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'pod installation' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
pod 'Fabric'
pod 'TwitterKit'
pod 'Firebase/Database'
pod 'Fabric'
pod 'GoogleSignIn'
# Pods for sample pod
# Pods for pod installation
target 'pod installationTests' do
inherit! :search_paths
# Pods for testing
end
end
附上截图,任何人的帮助。我正在尝试从两天开始修复此问题,非常感谢帮助修复此问题的人。
注意:我正在使用 Xcode 8.3.2,但我现在没有任何真实的设备,而且我的应用程序中也没有使用任何 FileProvider 框架。
也许您的 pods 使用 FileProvider-framework。
FileProvider-framework 可从 iOS11.0 + 和 Xcode 9 因此您应该升级 Xcode 9 以利用此框架。