swiftgithubcocoapodspchxcodeproj

Project downloaded from github not runing in xcode 10


I had download a project from my git repo. In my project there are two .xcodeproj file, podfiles with some of objective c code. But is not running and giving error

I had try to edit manage schemes and also try to install/update pods but pod installation also generating error below. My idea of editing scheme also not work.

/Users/chauhan/Desktop/App/Pods/Target Support Files/Pods-ProjName/Pods-ProjName.debug.xcconfig: unable to open file (in target "ProjName" in project "ProjName") (in target 'ProjName')

[!] Could not automatically select an Xcode project. Specify one in your Podfile like so:

project 'path/to/Project.xcodeproj'

Click the image links to view error:-

Code build error image

Pod installation error image


Solution

  • This error comes due to 2 .xcodeproj file in my project folder, now I create another folder for my 2nd .xcodeproj with in my project folder. It is working fine now.