Could not automatically select an Xcode project

后端 未结 21 783
灰色年华
灰色年华 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条回答
  •  猫巷女王i
    2021-02-02 06:34

    For me below solution worked

    Since Podfile and .xcodeproj is at same level, I added project 'oceanview.xcodeproj' at top of the file.

    So my podfile looks like below,

    platform :ios, '9.0'
    project 'abc.xcodeproj' #added this line
    target 'abc' do
    end
    

    then run command pod install

提交回复
热议问题