I tried to build my Ionic 3 project with command ionic cordova build android, but i got an error like below.I don’t understands whats happening there ,Can you suggest something about this issue.
=== BUILD TARGET FlipBox OF PROJECT FlipBox WITH CONFIGURATION Debug ===
Check dependencies
The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/apple/Documents/vijay/flipbox/platforms/ios/cordova/build-debug.xcconfig,-workspace,FlipBox.xcworkspace,-scheme,FlipBox,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone X,build,CONFIGURATION_BUILD_DIR=/Users/apple/Documents/vijay/flipbox/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/apple/Documents/vijay/flipbox/platforms/ios/build/sharedpch
[ERROR] An error occurred while running cordova build ios (exit code 1).
=== BUILD TARGET FlipBox OF PROJECT FlipBox WITH CONFIGURATION Debug ===
Check dependencies
The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/apple/Documents/vijay/flipbox/platforms/ios/cordova/build-debug.xcconfig,-workspace,FlipBox.xcworkspace,-scheme,FlipBox,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone X,build,CONFIGURATION_BUILD_DIR=/Users/apple/Documents/vijay/flipbox/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/apple/Documents/vijay/flipbox/platforms/ios/build/sharedpch
[ERROR] An error occurred while running cordova build ios (exit code 1).