ios pod 安装 gcm
ios pod install gcm
无法使用 pod 安装 google gcm。
出现此错误:
[!] The 'Pods-project' target has transitive dependencies that
include static binaries:
(/Users/mirzadelic/Projekti/project/Pods/GGLInstanceID/Libraries/libGGLInstanceIDLib.a,
/Users/mirzadelic/Projekti/project/Pods/Google/Libraries/libGGLCloudMessaging.a,
/Users/mirzadelic/Projekti/project/Pods/Google/Libraries/libGGLCore.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleCloudMessaging/Libraries/libGcmLib.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleInterchangeUtilities/Libraries/libProtocolBuffers.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleNetworkingUtilities/Libraries/libGTMSessionFetcher_full.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleNetworkingUtilities/Libraries/libGTMSessionFetcher_core.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleSymbolUtilities/Libraries/libGSDK_Overload.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_iPhone.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_core.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_UIFont+LineHeight.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_SystemVersion.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_StringEncoding.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_RoundedRectPath.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_Regex.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_NSStringXML.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_NSStringHTML.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_NSScannerJSON.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_NSDictionary+URLArguments.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_KVO.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_GTMURLBuilder.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_DebugUtils.a,
/Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_AddressBook.a,
and
/Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTMStackTrace.a)
我尝试在 pod 文件中不使用 use_framework
,但还是一样。
我该如何解决这个问题?
从您的 Podfile 中删除 use_frameworks!
并手动导入任何 Swift 库。
来源(我的问题):
你收到了吗
CocoaPods 0.38.2 is available.
To update use: `gem install cocoapods` ?
然后使用 sudo gem install cocoa pods
.
更新你的 cocoapods
更新成功后试试
pod update
这解决了我的问题。
无法使用 pod 安装 google gcm。 出现此错误:
[!] The 'Pods-project' target has transitive dependencies that include static binaries: (/Users/mirzadelic/Projekti/project/Pods/GGLInstanceID/Libraries/libGGLInstanceIDLib.a, /Users/mirzadelic/Projekti/project/Pods/Google/Libraries/libGGLCloudMessaging.a, /Users/mirzadelic/Projekti/project/Pods/Google/Libraries/libGGLCore.a, /Users/mirzadelic/Projekti/project/Pods/GoogleCloudMessaging/Libraries/libGcmLib.a, /Users/mirzadelic/Projekti/project/Pods/GoogleInterchangeUtilities/Libraries/libProtocolBuffers.a, /Users/mirzadelic/Projekti/project/Pods/GoogleNetworkingUtilities/Libraries/libGTMSessionFetcher_full.a, /Users/mirzadelic/Projekti/project/Pods/GoogleNetworkingUtilities/Libraries/libGTMSessionFetcher_core.a, /Users/mirzadelic/Projekti/project/Pods/GoogleSymbolUtilities/Libraries/libGSDK_Overload.a, /Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_iPhone.a, /Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_core.a, /Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_UIFont+LineHeight.a, /Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_SystemVersion.a, /Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_StringEncoding.a, /Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_RoundedRectPath.a, /Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_Regex.a, /Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_NSStringXML.a, /Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_NSStringHTML.a, /Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_NSScannerJSON.a, /Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_NSDictionary+URLArguments.a, /Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_KVO.a, /Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_GTMURLBuilder.a, /Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_DebugUtils.a, /Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTM_AddressBook.a, and /Users/mirzadelic/Projekti/project/Pods/GoogleUtilities/Libraries/libGTMStackTrace.a)
我尝试在 pod 文件中不使用 use_framework
,但还是一样。
我该如何解决这个问题?
从您的 Podfile 中删除 use_frameworks!
并手动导入任何 Swift 库。
来源(我的问题):
你收到了吗
CocoaPods 0.38.2 is available.
To update use: `gem install cocoapods` ?
然后使用 sudo gem install cocoa pods
.
更新成功后试试
pod update
这解决了我的问题。