• Home
  • Privacy Policy
  • About Us
  • Contact Us
  • sitemap

ITProSpt

Share useful informations about IT

  • Windows
  • Active Directory
  • Chrome
  • Office
  • Outlook
  • Mobile
  • ↻ More
    • Gaming
    • VLC
    • Software
    • Gmail
    • Login Portals
    • QA
    • Education

Tips On Solving The Error “Command CompileSwiftSources failed with a nonzero exit code xcode 13”

March 15, 2022 by thepros

If you had updated your device to the latest version of Xcode and started to build your Swift file, you might have received a build error “Command CompileSwiftSources failed with a nonzero exit code xcode 13”. This error seems to be common for many developers. This blog will discuss this error and how you can resolve it.

How To Fix The Error “Command CompileSwiftSources failed with a nonzero exit code xcode 13”?

When attempting to run pod cache clean –all, delete the derived data, then perform a pod upgrade before launching a project on Xcode13, you may get the following problem.

CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'Alamofire' from project 'Pods')
    cd /Users/milan/Wondra/Pods
    export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer
    export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk
 
Command CompileSwiftSources failed with a nonzero exit code

To resolve the “Command CompileSwiftSources failed with a nonzero exit code xcode 13” problem if the app is for iOS 11 or higher, one of the libraries needs to be changed to target iOS 11 or above. As a result, set the minimum for each pod to iOS 11 or higher. Launch xcworkspace Choose Pods. Next, click Build Settings iOS Deployment Target and change every pod to iOS 11 or higher at least.

Set the minimum for each pod to iOS 11 or higher.

When the app is for iOS 11 or later, one of the libraries has to be updated to support iOS 11 or later. As a result, set the minimum for each pod to iOS 11 or higher.

  1. Launch xcworkspace
  2. Choose Pods, then Build Settings iOS Deployment Target, then change each pod to iOS 11 or higher.

Conclusion

We hope you found our blog post on how to fix the error “Command CompileSwiftSources failed with a nonzero exit code xcode 13” helpful. If you have any further queries or concerns about this topic, please leave a comment. Thank you for reading; we are always glad when one of our articles provides useful knowledge on this subject!


Related articles
  • Top Ways To Create A User-Friendly Online Property Search For Your Real Estate Clients
    If you’re running a real estate business, you’re well aware that pretty much most of the paperwork has become automated and it’s time for you really get an education on what you need to use in terms of technology. This is important to make your online presence and services stand out from the competition.  Like […]
  • List Education Websites for Students, providing a variety of materials and completely free
    Everyone would like to get the highest quality of education in order to fulfill their goals. But the more an institution is of high quality and reputable, the more fees they charge. Students typically leave their education in a state of nil and work blue collar jobs to achieve their primary needs. Additionally, they collect […]
  • Simple solution to correct the requests.exceptions.ConnectionError: (‘Connection aborted.’ RemoteDisconnected(‘Remote end closed connection without response’)) issue 
    Python is a popular programming language that can be used widely in a lot of applications. Python is also a good choice as a programming language depending on user background and perspective. Because it is used widely and popular, if you find any errors when using Python. It is a common problem, you face the […]
  • “[Errno 61] Connection refused” is occurring even, the program is connecting with the port well and the socket is running in the interfaces.
    If you see the “[Errno 61] Connection refused” issue although you checked the program, port, socket and interfaces. Although your program of Python works well in the server and the client, they are installed at the same device. The local IP from my device is connecting with the clients but this IP is not connected […]
  • Description “Return by Reference”.
    C++ is considered not only as a language of Object Oriented Programming, but also an intermediate level language. It identifies both high and low level languages. It became easy and widely used in computer programs and that is the reason why we should understand the definition and its function as well. Such as Return by […]
Post Views: 430

Related Posts:

  • Simple solution to correct the requests.exceptions.ConnectionError: (‘Connection aborted.’ RemoteDisconnected(‘Remote end closed connection without response’)) issue 
    Simple solution to correct the…
  • Solving the npm ERR! code ELIFECYCLE error
    Solving the npm ERR! code ELIFECYCLE error
  • "Unable To Locate Package Python-Pip" - Issue Resolution Solutions When Using Python
    "Unable To Locate Package Python-Pip" - Issue Resolution…
  • sh: react-scripts: command not found - How To Solve This?
    sh: react-scripts: command not found - How To Solve This?
  • Tips On Solving The Problem “Error:java: invalid target release: 11”
    Tips On Solving The Problem “Error:java: invalid target…
  • An Ultimate Guide On Downgrading Python From 3.8 To 3.7?
    An Ultimate Guide On Downgrading Python From 3.8 To 3.7?
  • How To Solve The Error: Command “Python Setup.Py Egg_info” Failed With Error Code 1
    How To Solve The Error: Command “Python Setup.Py Egg_info”…
  • Tips On Solving The Error “Could not find a version that satisfies the requirement”
    Tips On Solving The Error “Could not find a version that…

Filed Under: Error Messages

Recent Posts

  • Top Ways To Create A User-Friendly Online Property Search For Your Real Estate Clients
  • List Education Websites for Students, providing a variety of materials and completely free
  • Simple solution to correct the requests.exceptions.ConnectionError: (‘Connection aborted.’ RemoteDisconnected(‘Remote end closed connection without response’)) issue 

Categories

Copyright © 2022 · Itprospt.com