When i type "pod install" in a correct directory I always get this
Analyzing dependencies
[!] Could not automatically select an Xcode project. Specify one in your Podfile like so:
project 'path/to/Project.xcodeproj'
podfile
platform :ios, '8.0'
use_frameworks!
target 'Posting' do
pod 'ALCameraViewController'
end
I'm in the project directory where Podfile can be found.
I had an old .xcodeproj-file in my folder, so there was 2 of them. I removed the old one and it works!
Add your Podfile to project line for Specify project path
target 'MyGPSApp' do
project 'FastGPS'
...
end
details: https://guides.cocoapods.org/syntax/podfile.html#project
platform :iOS, '8.0'
use_frameworks!
target 'Posting' do
project 'projectpath/project.xcodeproj'
pod 'ALCameraViewController'
end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With