Failed to extract git version from "git -- version" iOS swift error in terminal

Solution:

If you are installed new version of Xcode then it will came in command line because in command line tools was not set for xcode.

So open your xcode and goto top menu Xcode ->Preference then select Locations below that in command line tools select the current xcode version you use.

After that goto terminal then enter "pod init" it will works fine

Comments


  1. Nice Blog.
    I had a look at your blog in detail and seems that it is very useful for all the users who are looking to study swift and want to know about xcode and version. I was looking for swift application development company

    ReplyDelete

Post a Comment

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift