Pod install, The dependency `*****` is not used in any concrete target
Your Podfile
should contains information in which target you want to install the cocoapods. The post installer in your Podfile sets only ACTIVE_ARCH
flag to NO
in each target.
If you have more than 20 targets in your app(and some mess in current Podfile), maybe try to remove Podfile
and Podfile.lock
and then do pod init
. It will make CococaPods gem create a valid Podfile
for your app. Then paste the CocoaPods that your app using and paste the post installer instruction to the new Podfile and try to reinstall cocoapods using pod install
.
Remember to place pod instructions between correct target.
Look at the CocoaPods site about Podfile.
So your Podfile should look like:
target 'YourTargetName' do
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'
pod 'MMDrawerController', '~> 0.5.7'
pod 'ViewUtils'
pod 'CPAnimationSequence'
pod 'iCarousel'
pod 'BlocksKit', '~> 2.2.5'
pod 'AFNetworking'
pod 'MBProgressHUD', '~> 0.8'
pod 'NSString-UrlEncode'
pod 'INTULocationManager'
pod 'SDWebImage', '3.7.2'
pod 'Adjust', :git => 'https://github.com/adjust/ios_sdk.git', :tag => 'v3.4.0'
pod 'TARTT', :git => 'https://github.com/takondi/tartt-sdk-ios.git'
pod 'SIAlertView', '~> 1.3'
pod 'GoogleAppIndexing'
pod 'Gimbal'
post_install do |installer_representation|
installer_representation.project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
end
end
end
end
Simply add your pod file in below block
target 'YourApp' do
pod '*******', '~> 1.0'
end