I want use the AFNetworking and SwiftyJSON libraries in my project
This is my pod file:
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
target 'Kids' do
pod 'GoogleMaps'
pod 'GooglePlaces'
pod 'Firebase/Core'
pod 'Firebase/Messaging'
pod 'SwiftyJSON'
pod 'AFNetworking'
end
After installing the pod file, I opened the .xcworkspace
and added the framework target->linked framework and libraries.
in swift file import the frameworks
like:
import AFNetworking
import SwiftyJSON
when I build the project am getting the this error:
Linker command failed with exit code 1 (use -v to see invocation)