I have a swift project without cocoapods working with Parse SDK and Facebook SDK (for login and backend use).
When creating a Podfile to use GoogleMaps SDK (for places autocomplete suggestions) I get the following error: Use of unresolved identifier 'PFFacebookUtils'. The Podfile is the following:
source 'https://github.com/CocoaPods/Specs.git'
xcodeproj './PROJECT_NAME.xcodeproj'
platform :ios, '8.1'
pod 'GoogleMaps'
Parse & Facebook frameworks linked are included (everything worked before cocoapods created the workspace). Any ideas? Thanks!
UPDATE:
I don't know if it makes any sense but if I use import ParseFacebookUtilsV4 in the files not recognizing PFFacebookUtils it recognizes it but now I get a linker error (apparently not finding any of Parse OBJC classes):
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_PFAnalytics"
__TMaCSo11PFAnalytics in AppDelegate.o
"_OBJC_CLASS_$_PFCloud", referenced from:
...
Install the pods again:
-pod install
After that do a check list:
Library Search Paths. In my project Library Search Paths is empty. so I believe that cocoapods does not modify it. so remove old library links from there if any.
Header Search Path



Make sure that these are pointing to the new libraries in the Pod Project. and not the old ones.
My podfile to match with the setting associated to it:
target 'SomeName' do
pod 'RadioButton' pod 'AFNetworking', '~> 2.5' pod 'SSZipArchive', '~> 0.2.1' pod 'SDWebImage', '~> 3.7'end
target 'SomeNameTests' do
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