【发布时间】:2015-12-20 20:05:47
【问题描述】:
我有一个使用 Xcode 7 重建的应用程序。该应用程序一直在使用 GoogleMaps IOS SDK。
我的错误: screenshot
我的播客文件:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.1'
pod 'GoogleMaps'
我试图从 google maps.bundle 中删除 CFBundleSupported 平台
# Patch GoogleMaps' bundle to avoid iTunes connect submission error
post_install do |installer|
`/usr/libexec/PlistBuddy -c "Delete :CFBundleSupportedPlatforms" ./Pods/GoogleMaps/Frameworks/GoogleMaps.framework/Resources/GoogleMaps.bundle/Info.plist`
`/usr/libexec/PlistBuddy -c "Delete :CFBundleSupportedPlatforms" ./Pods/GoogleMaps/Frameworks/GoogleMaps.framework/Resources/GoogleMaps.bundle/GMSCoreResources.bundle/Info.plist`
end
【问题讨论】:
-
@NSDeveloper 我使用的是谷歌地图,而不是谷歌登录和新版本谷歌地图 sdk 中的 plist 没有 CGBundleSupportedPlaforms 密钥
标签: ios xcode app-store-connect google-maps-sdk-ios