I have deleted the plugin and removed it from everywhere (package.json, config etc) and tried again following.
- removed node_modules and reinstalled everything via rpm I — success
- added the platform again – success
- added the resources again – success
- Tried to build for iOS – Failed with following error
the following build commands failed:
Ld build/emulator/Game\ Gods.app/Game\ Gods normal x86_64
(node:6437) UnhandledPromiseRejectionWarning: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/apple/untitled folder/gamegod/platforms/ios/cordova/build-debug.xcconfig,-workspace,Game Gods.xcworkspace,-scheme,Game Gods,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone X,build,CONFIGURATION_BUILD_DIR=/Users/apple/untitled folder/gamegod/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/apple/untitled folder/gamegod/platforms/ios/build/sharedpch
(node:6437) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:6437) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[ERROR] An error occurred while running cordova build ios (exit code 1).