Create a file named Podfile in root project directory. platform :ios, '11.0' inhibit_all_warnings! use_frameworks! target 'MyApp' do pod 'SwiftyJSON' end Run pod install and open .xcworkspace file.
In Xcode you will need to remove the intermediate build information at some point. If you are having build issues, removing derived data works like magic. Keyboard shortcut in Xcode: Shift+Alt+Command+K Command line: rm -rf ~/Library/Developer/Xcode/DerivedData
set height get height getHeight setHeight getWidth width position x y ios