Could not automatically select an Xcode project

后端 未结 21 722
灰色年华
灰色年华 2021-02-02 06:03

When i type \"pod install\" in a correct directory I always get this

Analyzing dependencies

[!] Could not automatically select an Xcode project. Specify          


        
相关标签:
21条回答
  • 2021-02-02 06:39

    I had the Same problem , i solved it by moving the podfile to the main project folder , in your case : 1- move the pod file to 'Posting' folder , in which there are 'Posting' subfolder and 'Posting.xcodeproj' file
    2- re run the ' pod install ' command. 3- enjoy

    0 讨论(0)
  • 2021-02-02 06:40

    Oddly I had 2 .xcodeproj files in the same directory . I think i duplicated one. It showed up in the workspace as red, When I removed one it worked fine .

    0 讨论(0)
  • 2021-02-02 06:41

    I had a conflict because we were working in a team and I had a manifest.lock file under my pods directory that I had to remove and then run the pod install command and it worked :)

    0 讨论(0)
提交回复
热议问题