Pod 安装未在 XCWorkspace 中更新 pods
Pod install not updating pods in XCWorkspace
我的播客文件有:
# Uncomment this line to define a global platform for your project
platform :ios, '8.0'
# Uncomment this line if you're using Swift
use_frameworks!
target 'CoChat' do
pod 'Firebase', '>= 2.5.0'
pod 'FBSDKCoreKit'
pod 'FBSDKShareKit'
pod 'FBSDKLoginKit'
pod 'AFNetworking', '~> 3.0'
#pod 'MobileDeepLinking-iOS'
end
我运行 pod 安装并获取:
Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Using AFNetworking (3.0.4)
Using Bolts (1.6.0)
Using FBSDKCoreKit (4.10.0)
Using FBSDKLoginKit (4.10.0)
Using FBSDKShareKit (4.10.0)
Using Firebase (2.5.1)
Installing FirebaseUI (0.3.2)
Installing Google (1.3.2)
Installing GoogleAppUtilities (1.0.0)
Installing GoogleAuthUtilities (1.0.1)
Installing GoogleInterchangeUtilities (1.1.0)
Installing GoogleNetworkingUtilities (1.0.0)
Installing GoogleSignIn (2.4.0)
Installing GoogleSymbolUtilities (1.0.3)
Installing GoogleUtilities (1.1.0)
[!] The 'Pods-CoChat' target has transitive dependencies that include static binaries: (/Users/Nathan/Library/Mobile Documents/com~apple~CloudDocs/Desktop/CoChat/Pods/Google/Libraries/libGGLCore.a and /Users/Nathan/Library/Mobile Documents/com~apple~CloudDocs/Desktop/CoChat/Pods/Google/Libraries/libGGLSignIn.a)
当您打开 XCWorkspace 时,没有任何变化。 FirebaseUI pod/framework 不存在。不知道为什么没有安装。
我遇到了同样的问题。问题在于 FirebaseUI/Auth 和 Google 登录。
解决方案
- 注释掉use_frameworks!
- 通过创建桥接 headers 文件
一个 cocoa touch 文件,记得勾选“创建桥接”复选框
header 文件',然后在创建后只删除 .m .h 文件
因为你想要桥接 header 文件。手动调出headers
来自那里的文件。
如果您阅读 https://github.com/firebase/FirebaseUI-iOS/issues?q=is%3Aissue+is%3Aclosed 上的帖子,有些人似乎有类似的问题。一种可能的修复方法是通过在 firebaseUI pod
旁边包含“~>0.2.6”来获取 0.2.6 版本的 FirebaseUI
希望这对您有所帮助,并希望这个错误已得到修复。
我的播客文件有:
# Uncomment this line to define a global platform for your project
platform :ios, '8.0'
# Uncomment this line if you're using Swift
use_frameworks!
target 'CoChat' do
pod 'Firebase', '>= 2.5.0'
pod 'FBSDKCoreKit'
pod 'FBSDKShareKit'
pod 'FBSDKLoginKit'
pod 'AFNetworking', '~> 3.0'
#pod 'MobileDeepLinking-iOS'
end
我运行 pod 安装并获取:
Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Using AFNetworking (3.0.4)
Using Bolts (1.6.0)
Using FBSDKCoreKit (4.10.0)
Using FBSDKLoginKit (4.10.0)
Using FBSDKShareKit (4.10.0)
Using Firebase (2.5.1)
Installing FirebaseUI (0.3.2)
Installing Google (1.3.2)
Installing GoogleAppUtilities (1.0.0)
Installing GoogleAuthUtilities (1.0.1)
Installing GoogleInterchangeUtilities (1.1.0)
Installing GoogleNetworkingUtilities (1.0.0)
Installing GoogleSignIn (2.4.0)
Installing GoogleSymbolUtilities (1.0.3)
Installing GoogleUtilities (1.1.0)
[!] The 'Pods-CoChat' target has transitive dependencies that include static binaries: (/Users/Nathan/Library/Mobile Documents/com~apple~CloudDocs/Desktop/CoChat/Pods/Google/Libraries/libGGLCore.a and /Users/Nathan/Library/Mobile Documents/com~apple~CloudDocs/Desktop/CoChat/Pods/Google/Libraries/libGGLSignIn.a)
当您打开 XCWorkspace 时,没有任何变化。 FirebaseUI pod/framework 不存在。不知道为什么没有安装。
我遇到了同样的问题。问题在于 FirebaseUI/Auth 和 Google 登录。
解决方案
- 注释掉use_frameworks!
- 通过创建桥接 headers 文件 一个 cocoa touch 文件,记得勾选“创建桥接”复选框 header 文件',然后在创建后只删除 .m .h 文件 因为你想要桥接 header 文件。手动调出headers 来自那里的文件。
如果您阅读 https://github.com/firebase/FirebaseUI-iOS/issues?q=is%3Aissue+is%3Aclosed 上的帖子,有些人似乎有类似的问题。一种可能的修复方法是通过在 firebaseUI pod
旁边包含“~>0.2.6”来获取 0.2.6 版本的 FirebaseUI希望这对您有所帮助,并希望这个错误已得到修复。