Reputation: 9705
I am trying to add PFAnalytics (instructions here). Below is my PodFile. I just hit pod install
and tried to compile and run, and I see the errors below:
pod file
:
# Uncomment this line to define a global platform for your project
platform :ios, ‘8.0’
target 'ShitTalk' do
pod ‘Parse’
end
target 'ShitTalkTests' do
end
I tried to add Google Analytics too and I see the same error so I think if I try with ANY library with Cocoapods, it's going to do this.
Upvotes: 0
Views: 1201
Reputation: 7995
You must use the .xcworkspace
file after pod install
instead of .xcodeproj
file.
The xcworkspace
contains your project
and your pods
.
After that you should be able to run normally.
Upvotes: 4
Reputation: 31339
Try these two solutions
Remove the library .a
file from the ProjectTarget->Build Phase
Open the workspace .xcworkspace
instead of opening the .xcodeproj
Upvotes: 0