You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pod 'SwiftyJSON',
:git => 'https://github.com/SwiftyJSON/SwiftyJSON.git',
:branch => 'swift3'
also adding this at the bottom:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.0'
end
end
end
Numerous (~67) errors result in SwiftyJSON. Some are:
SwiftyJSON.swift:772:35: Expected ',' joining parts of a multi-clause condition
SwiftyJSON.swift:635:23: No type named 'Boolean' in module 'Swift'
SwiftyJSON.swift:70:59: Value of type 'Any' does not conform to specified type 'AnyObject'
SwiftyJSON.swift:110:14: Cannot invoke 'JSON.init' with an argument list of type '([AnyObject])'
SwiftyJSON.swift:125:14: Cannot invoke 'JSON.init' with an argument list of type '([String : AnyObject])'
SwiftyJSON.swift:347:22: 'rawDictionary' is inaccessible due to 'private' protection level
SwiftyJSON.swift:144:29: Return expression of type '[AnyObject]' does not conform to 'AnyObject'
etc etc etc
The text was updated successfully, but these errors were encountered:
Installed with cocoapods like so:
also adding this at the bottom:
Numerous (~67) errors result in SwiftyJSON. Some are:
The text was updated successfully, but these errors were encountered: