Reputation: 245
I can't seem to understand what is going on with my project and cocoapods, Xcode cannot find the frameworks except Firebase which is why I am confused. I'm getting the error Project ' file not found
. Xcode also gives me the error, In file included from <built-in>:342:
I have tried to clean and build, emptying Xcode's cache and reinstalling Xcode. Can anyone please explain this thanks.
Here's my podfile:
# Uncomment this line to define a global platform for your project
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
target 'Soar_iPad' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for Soar_iPad
pod 'Firebase'
pod 'Firebase/Auth'
pod 'ExpandingMenu', '~> 0.1'
pod 'SwiftyJSON'
end
Upvotes: 3
Views: 2147
Reputation: 31
It seems that you cocoapods is the latest version. Try to install cocoapods that lower than 1.0.
config the podfile and run pod install.
Upvotes: 0
Reputation: 245
I figured out what was wrong and why Xcode could not find the pod files. It was because my directory had double quotation marks in it, for example I had /username/Desktop/Project "MyApp"/Project
and Xcode could not find my pod files. But for some reason I found that using single quotes worked so for example /username/Desktop/Project 'MyApp'/Project
. It's weird but glad a solution was found. Thanks to everyone that helped!
Upvotes: 2
Reputation: 306
Can you try this:
pod deintegrate
pod install
If it doesn't work, create a new project and add the same Podfile
(just change the target name). Run pod install
.
Please try those steps and let me know if it works.
Upvotes: 0
Reputation: 5736
gem install cocoapods
(optional)pod install
Upvotes: 1