2015-12-16 27 views
1

我想使用的CocoaPods安装Google Analytics for iOS,并且看到此错误:iOS版Google Analytics(分析) - 最低部署目标?

[!] Unable to satisfy the following requirements:

'Google/Analytics' required by 'Podfile'

Specs satisfying the 'Google/Analytics' dependency were found, but they required a higher minimum deployment target.

那么,如何才能得到最小的部署目标的分析? Documentation没有给出任何线索。顺便说一下,我的应用应该支持iOS 6.0。

+0

我也面临同样的错误,你有这个解决方案吗? – user2526811

+0

不是。当我找到解决方案时,我会发布答案。 – kelin

+0

我设法绕过直接下载SDK而无需cocoapods的问题:https://developers.google.com/analytics/devguides/collection/ios/v3/sdk-download#download_sdk – kelin

回答

0

在此描述:cocoapods spec

"platforms": { 
"ios": "5.0" 

},

所以现在的支持iOS 5及了。