I just created a new project and added a few pods as shown here:
install! 'cocoapods', :deterministic_uuids => false
# Uncomment this line to define a global platform for your project
platform :ios, '11.4'
target 'MyApp' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for MyApp
pod 'FacebookSDK'
pod 'Parse'
pod 'Parse/FacebookUtils'
pod 'Parse/TwitterUtils'
pod 'Parse/UI'
end
I am OCCASIONALLY receiving this build error:
Undefined symbols for architecture arm64: "OBJC_CLASS$_FBSDKSettings", referenced from: objc-class-ref in PFFacebookPrivateUtilities.o "OBJC_CLASS$_FBSDKAccessToken", referenced from: objc-class-ref in PFFacebookAuthenticationProvider.o objc-class-ref in PFFacebookPrivateUtilities.o objc-class-ref in PFFacebookUtils.o "OBJC_CLASS$_FBSDKApplicationDelegate", referenced from: objc-class-ref in PFFacebookAuthenticationProvider.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am not sure why this "sometimes" happens, ir appears to show up when I change devices. I mess around cleaning the project, do pod install, and then magically it works.
I know I must be missing something so if anyone has any advice they can give on how to troubleshoot or fix this issue I would appreciate it.
I have a very similar config running in other apps, but this time Parse, FB and others frameworks were updated... as well as Xcode.
Thanks for any help
