ℹ Please fill out this template when filing an issue.
All lines beginning with an ℹ symbol instruct you with
what info we expect.
Please remove this line and all above before submitting.
- [ ] I've read and understood the *CONTRIBUTING guidelines and have done my best effort to follow.
Report
Run pod install
I expected to install google map sdk in my xcode project
I got;
"The dependency GoogleMaps
is not used in any concrete target."
LearniOSFreecoms-Mac:GoogleMap yan$ pod env
CocoaPods : 1.0.0
Ruby : ruby 2.0.0p645 (2015-04-13 revision 50299) [universal.x86_64-darwin15]
RubyGems : 2.6.4
Host : Mac OS X 10.11 (15A284)
Xcode : 7.3 (7D175)
Git : git version 2.6.4 (Apple Git-63)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ 8125f1d973994d27d5fefffc6fe75c67b80b86cd
Executable Path: /usr/local/bin/pod
cocoapods-deintegrate : 1.0.0
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.0
cocoapods-stats : 1.0.0
cocoapods-trunk : 1.0.0
cocoapods-try : 1.0.0
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.1'
pod 'GoogleMaps'
LearniOSFreecoms-Mac:GoogleMap yan$
You can have implicit targets anymore in CocoaPods 1.0, please check the guides: https://guides.cocoapods.org/syntax/podfile.html
"[!] The dependency GoogleMaps
is not used in any concrete target"
I am new in ios Programing.
i recently updated to OSX 10.11 EL capitan...My Xcode version is 7.3.1..My cocoapods version is 1.0.0.0
I am facing this problem not only with GoogleMaps but also with all other sdk to intigrate with mt project.
I have stuck here. Plz help me with this problem. TIA..
See above, the guides should tell you how to use explicit targets. Another way is to just run pod init
to let CocoaPods create a Podfile for you.
I have found the sollution..
1.first create a project
2.Then open the terminal and go to your project directory using ( cd /your/project/directory ) command
3.then type "pod init" command
4.now type "open -a xcode podfile" command
source 'https://github.com/CocoaPods/Specs.git'
pod 'GoogleMaps'
after ==> ( target 'your project name' do ) this line in your podfile
6.save your podfile and
7.type command " pod install " voala..
happy coding
Thanks Tanvir-Nayem. I have followed the the steps you've written (with minor change - without 'do') and it worked perfectly.
source 'https://github.com/CocoaPods/Specs.git'
pod 'GoogleMaps'
target 'your project name'
Thanks A1catraz .
It was very helpful for me.
Thanks Tanvir!! Very helpful, save me from the endless environment setting!
Please anyone help me. I can't add any pod installation in xcode. I'm using Xcode 8.1
Tamanna09, you dont have this line (source 'https://github.com/CocoaPods/Specs.git') in your podfile. Make sure you have and try again.
PS: I don't think this line (platform :ios, '10.1') is needed either
Thanks A1catraz, tried by this line, but no luck....Finally, i remove my pod and setup it again. Now, this problem has solved. But my project can't find these.
I haven't used Facebook SDK on my project, so, I don't know this will work or not for you, but take a look at this problem and its accepted solution: [http://stackoverflow.com/questions/30117253/facebook-ios-sdk-v-4-1-0-in-swift-with-cocoapods-cannot-import-modules]
And also try to add 'FBSDKCoreKit'
to pod and install.
Hi tamanna09. First of all, you have to download and extract your "fbsdk" zip file to your document directory. then add below lines to your podfile.
platform :ios, '9.0'
target 'your-project-name' do
pod 'FBSDKLoginKit'
end
then save the file and after that install your podfile.
Most helpful comment
Thanks Tanvir-Nayem. I have followed the the steps you've written (with minor change - without 'do') and it worked perfectly.
source 'https://github.com/CocoaPods/Specs.git'
pod 'GoogleMaps'
target 'your project name'