【问题标题】:Google Cast. React-Native App. Xcode: ld: framework not found GoogleCast谷歌演员。反应本机应用程序。 Xcode:ld:找不到框架GoogleCast
【发布时间】:2019-03-17 11:21:06
【问题描述】:

我尝试使用来自this 插件的Google Cast,并且在构建项目时Xcode 出现下一个错误

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

Podfile

target 'XXXX' do
  pod 'google-cast-sdk', '~> 3'
  pod 'FBSDKShareKit'
  pod 'FBSDKLoginKit'
  pod 'FBSDKCoreKit'
end

顺便说一句 pod deintegrate and pod install 没有帮助

【问题讨论】:

    标签: xcode react-native cocoapods google-cast


    【解决方案1】:

    此库的链接似乎设置不正确。我解决这个问题的方法是在库文件夹中选择GoogleCast.cxodeproj 并将Framework Search Paths 更新为$(PROJECT_DIR)/../../../ios/Pods/google-cast-sdk/GoogleCastSDK-2.10.4-Release

    还有其他几种尝试来解决这个问题here

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-02-13
      • 1970-01-01
      • 1970-01-01
      • 2019-12-10
      • 2020-01-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多