Ios build error in ionic


#1

i’m getting this error while trying to build for ios

=== BUILD TARGET Doctory OF PROJECT Doctory 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)
(node:1517) UnhandledPromiseRejectionWarning: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/anspireagency/Desktop/ahmed f/Doctory/platforms/ios/cordova/build-debug.xcconfig,-workspace,Doctory.xcworkspace,-scheme,Doctory,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone X,build,CONFIGURATION_BUILD_DIR=/Users/anspireagency/Desktop/ahmed f/Doctory/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/anspireagency/Desktop/ahmed f/Doctory/platforms/ios/build/sharedpch
(node:1517) 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:1517) [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.

i also tried to rebuild ios platform put didn’t work


#2

Google gave this answer as first result for your error msg:


#3

thank you problem fixed