我遇到了一个问题,每当我在我的pod文件中更新或添加新的库并运行pod install时,cocoapods没有为该库创建构建目标;这使得调整特定pod的构建设置变得不可能。
具体来说,最新的GoogleMap pod、GoogleAnalytics pod和MapBox pod可以做到这一点。我在cocoapods上仍然是1.0版本之前的版本。
如果我深入我的Pods/文件夹,我看到这些pods的文件夹,但是在Target Support Files中没有创建任何文件夹。
有人知道怎么解决这个问题吗?
我的播客文件:
platform :ios, '8.0'
pod 'ECSlidingViewController', '~> 2.0.3'
pod 'AFNetworking', '~> 2.5'
pod 'Stripe', '~> 5.0'
pod 'FormatterKit', '~> 1.7'
pod 'GPUImage', '~> 0.1'
pod 'PureLayout', '~> 2.0'
pod 'GoogleMaps', '~> 1.13.2'
pod 'FSCalendar'
pod 'DateTools'
pod 'FZAccordionTableView', '~> 0.1'
pod 'Overcoat', '~> 3.1'
pod 'Mapbox-iOS-SDK', '~> 3.2'
pod 'ISO8601'
pod 'Lookback', :configurations => ['Debug']
pod 'LookbackSafe', :configurations => ['Release']
pod 'QBValidator', '~> 1.0'
pod 'Flurry-iOS-SDK', '~> 7.3'
pod 'UAAppReviewManager'
pod 'TSNPeerBluetooth', '~> 1.0'
pod 'TSNAtomicFlag', '~> 1.0'
pod 'TSNExtensions', '~> 1.0'
pod 'CKStringUtils', '~> 2.0'
pod 'CLLocationManager-blocks', '~> 1.3'
pod 'Socket.IO-Client-Swift', '~> 6.1.0'
pod 'CardIO', '~> 5.3'
pod 'CocoaSecurity'
pod 'SecureNSUserDefaults', '~> 1.0'
pod 'PMTween', '~> 1.3'
pod 'GoogleAnalytics', '~> 3.14'
use_frameworks!发布于 2016-06-27 14:00:54
您应该像这样修改您的podfile:
platform :ios, '8.0'
use_frameworks!
target 'YourTarget' do
pod 'ECSlidingViewController', '~> 2.0.3'
pod 'AFNetworking', '~> 2.5'
pod 'Stripe', '~> 5.0'
...
pod 'PMTween', '~> 1.3'
pod 'GoogleAnalytics', '~> 3.14'
endhttps://stackoverflow.com/questions/37928833
复制相似问题