Open the Mac App Store to buy and download apps.
Xcode provides everything developers need to create great applications for Mac, iPhone, and iPad. Xcode brings user interface design, coding, testing, and debugging all into a unified workflow. The Xcode IDE combined with the Cocoa and Cocoa Touch frameworks, and the Swift programming language make developing apps easier and more fun than ever before.
Xcode includes the Xcode IDE, Swift and Objective-C compilers, Instruments analysis tool, iOS Simulator, the latest OS X and iOS SDKs, and hundreds of powerful features:
Innovative tools help you create great apps
• Swift is a revolutionary new programming language that is safe, fast, and modern
• Playgrounds are a fun place to experiment with Swift code, displaying instant results
• Interface Builder is a graphical UI design canvas with a live preview of your app
• View debugging shows a 3D stack of all your app's UI view layers at runtime
• Assistant editors show content related to your primary task
• Live Issues display errors as you type, and Fix-it can correct the mistakes for you
Swift is an all new programming language for Cocoa and Cocoa Touch
• Safe by design, Swift syntax and features prevent entire categories of bugs
• Fast code execution and compile time are powered by the proven LLVM compiler
• Modern language features are inspired by leading research, including:
- Closures unified with function pointers
- Tuples and multiple return values
- Structs as value types that support methods, extensions, protocols
- Functional programming patterns including map and filter
Interface Builder makes it easy to design your interface without code
• Storyboards let you arrange the complete flow of screens within your app
• See your custom controls rendered live within the design canvas
• Preview your interface in different screen sizes, orientations, or languages
• Create connections from your GUI design directly to the related source code
Professional editor and debugger keep your code front and center
• Hit a few keys and Open Quickly will instantly open any file within your project
• Message bubbles show errors, warnings, and other issues right beside your code
• Data tips show a variable's value by hovering your mouse over the code
• Quick Look variables while debugging to see the actual color, bezier path, image, and more
Apple LLVM technology finds and fixes bugs for you
• Analyzer travels countless code paths looking for logical errors before they become bugs
• Live Issues underlines coding mistakes as you type with no need to build first
• Fix-it can confidently correct mistakes for you with just a keystroke
Test driven development is built right in
• Use the Test Navigator to add, edit, or run tests with just a click
• Test Assistant makes it easy to edit your code and related tests, side-by-side
• Create continuous integration bots using OS X Server to automatically build and test your apps
• Monitor performance test data using OS X Server to immediately spot regressions
Instruments makes performance analysis beautiful
• Compare CPU, disk, memory, and OpenGL performance as graphical tracks over time
• Identify performance bottlenecks, then dive deep into the code to uncover the cause
• Monitor your app directly, or sample the entire system, with very little overhead
To test or deploy applications on an iOS device you must be a member of Apple's iOS Developer Program. To submit your Mac or iOS apps to the App Store you must be a member of the Mac or iOS Developer Program. Continuous integration features require a current version of OS X Server. Some features may require Internet access.
What's New in Version 6.2
Includes SDKs for OS X 10.10 Yosemite and iOS 8.2
• Adds support for iOS 8.2 and WatchKit to create apps for Apple Watch.
Not sure where all those one stars come from!
I’m a first time developer in swift and am releasing my first game, Spin Solitaire, onto iphone and ipad. I found the whole process pretty transparent and fairly well documented. I think that if you can get an app into tens of thousands of people’s hands with this one piece of software, it deserves 5 stars, no less. Yes it crashes occasionally, yes it hangs, but it is a complex framework and I find it, on the whole, absolutely stunning, quite frankly.
Buggy and Crashy
Another release that doesn’t fix any of the annoying bugs:
- Cleaning the build directory, which is a required step to many false errors, throws a “you don’t have permission” error message every time. This is in fact false.
- The simulator fails to launch or Xcode fails to deploy the app to the simulator very often.
- Xcode freezes when loading a storyboard.
- Constraints in the storyboards change and the elements are repositioned randomly, often times to an incorrect location.
- Some variables won’t print out in the debugger in some situations. This is seemingly random without any explanation.
- Sometimes Xcode refuses to set a breakpoint at a specific line. The line above or below it is OK, and moving the break point at the above or below line to the current line works.
- Random, unexplained crashes.
- General performance on the sidebar is very poor if you have a decently sized project. It gets worse if you have many unit tests.
I’m fairly new to development on iOS but used Xcode to learn objective C and the app store infrastructure for about 3 months. I experienced ocasional crashes from time to time, but no more than the other IDE’s I’ve been using (Eclipse, Visual Studio). All in all it was a really good experience. Now I’m learning Swift and so far it been another great experience. Great job Apple!