- To develop Flutter apps for iOS, you need a Mac with Xcode installed. Install the latest stable version of Xcode (using web download or the Mac App Store). Configure the Xcode command-line tools to use the newly-installed version of Xcode by running the following from the command line.
- SwiftUI is an innovative, exceptionally simple way to build user.
- To install the necessary Xcode tools using Xcode on the Mac: Start Xcode on the Mac. Choose Preferences from the Xcode menu. In the General panel, click Downloads.
- Referring to the help text, running xcode-select -r will reset xcode, which may help with install-time issues. Usage: xcode-select options Print or change the path to the active developer directory. This directory controls which tools are used for the Xcode command line tools (for example, xcodebuild) as well as the BSD development commands (such as cc and make).
Additional Downloads
If you do not have Xcode, they are available as a separate download from Apple: Go to developer.apple.com/downloads/index.action, and sign in with your Apple ID (the download's free). In the pane on the left, search for 'command line tools' and choose the package appropriate to your version of OS X. Requires Mac OS X 10.7.3 or later.
Get the latest beta and older versions of Xcode. To view downloads, simply sign in with your Apple ID. Apple Developer Program membership is not required.
Command Line Tools Apple
![Mac Mac](/uploads/1/2/6/7/126728213/635143736.png)
Beta Versions of Xcode
Command Line Tools & Older Versions of Xcode
Command Line Tools & Older Versions of Xcode
Videos
See the latest advances in Xcode presented at WWDC and other events.
Help and Support
Get step-by-step guidance on how to use Xcode to build, test, and submit apps to the App Store.
Xcode Help Guide
Xcode Support Page
Xcode Support Page
API Reference and Sample Code
Browse the latest documentation including API reference, articles, and sample code.
Discussion Forums
Xcode Command Line Build
Ask questions and discuss development topics with Apple engineers and other developers.