I have tried so many solutions out there but finally not getting what to do . I just installed cocoa pods for Alamofire and swiftyJson . And now when i
Change your Podfile with the following
# Uncomment the next line to define a global platform for your project
platform :ios, '10.2'
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
def shared_pods
pod 'Alamofire'
pod 'SwiftyJSON'
end
target 'Modes' do
# Pods for Modes
shared_pods
end
target 'ModesTests' do
inherit! :search_paths
# Pods for testing
shared_pods
end
target 'ModesUITests' do
inherit! :search_paths
# Pods for testing
shared_pods
end
Do the pod deintegrate and pod install again.