相关疑难解决方法(0)

找不到框架GoogleToolboxForMac

通过"pod update"更新我的Firebase后,我收到如下错误:

ld: warning: directory not found for option '-F/Users/bennysantoso/Library/Developer/Xcode/DerivedData/FCM-atfcxuircoryufazlomgwfgmvaqm/Build/Products/Debug-iphonesimulator/GoogleToolboxForMac'
ld: framework not found GoogleToolboxForMac
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)

这是我的Podfile:

# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
pod 'Firebase/Core'
pod 'Firebase/Messaging'

target 'BB' do
  # Comment this line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for BB

  target 'BBTests' do
    inherit! :search_paths
    # …
Run Code Online (Sandbox Code Playgroud)

google-toolbox-for-mac ios cocoapods firebase swift2

76
推荐指数
6
解决办法
5万
查看次数

ld:找不到-lGoogleToolboxForMac的库

我正在通过pod实现firebase设置.

我的Pods文件看起来像是一个.

# Uncomment the next line to define a global platform for your project
platform :ios, '8.0'
# $(PROJECT_DIR)/build/Debug-iphoneos/GoogleToolboxForMac lib search path
target 'ProductName' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for mCura

pod 'Firebase/Core'
pod 'Firebase/Messaging'

end
Run Code Online (Sandbox Code Playgroud)

iPad模拟器一切都很好.它的运行,但当我在iDevice中运行我的应用程序.它显示找不到库.

ld: library not found for -lGoogleToolboxForMac
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)

我已经浪费了2天来消除这个错误并尝试了我能在网上找到的一切.GoogleToolboxForMac安装firebase pod时,库会自动安装.

objective-c google-toolbox-for-mac firebase-cloud-messaging xcode8.1

10
推荐指数
3
解决办法
1万
查看次数