Could not automatically select an Xcode project

后端 未结 21 720
灰色年华
灰色年华 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:27

    To address this, you'll need to add the correct path to your project.xcodeproj. Having this one fixed, It's very likely you'll need to provide the path to your project.xcworkspace. The code below addresses both issues.

    target 'your-app-bundle-name' do
    
    platform :ios, '8.0'
    workspace 'path/to/your/project.xcworkspace/'
    project 'path/to/your/project.xcodeproj/'
    
    pod 'ALCameraViewController'
    
    end
    

提交回复
热议问题