With time technology is moving fast too. This article will provide information about Xcode 10 tool and what is new in Xcode 10 compared to its earlier version. It is beneficial for the developers who like to add new features to their apps. Our experts use the latest tools & technologies to deliver the best to our clients. Xcode 10 is one of the tools we used after thorough testing. 9series always ensures to test all the tools before they use it for your solutions.
Below is the synopsis of the blog in case you just want an overview of the same
~ Xcode 10 was announced at WWDC 2018 on 4 June 2018.
~ Xcode 10 includes Swift 4.2 and SDKs for iOS 12, watchOS 5, tvOS 12, and macOS 10.14.
~ Xcode 10 requires a Mac running macOS 10.13.4 or later.
~ It is capable of running multiple simultaneous versions of the Xcode App and any associated tools. The interesting thing about Xcode 10 is that it can coexist with the previous version.
Here are the detailed of the new features.
Dark Mode
~ Xcode now supports the Dark Mode. You can adopt a dark mode instead of wide light as the appearance. It is a system-wide appearance that is already implemented and adopted by many apps.
~ Dark mode is now available in the Xcode 10. Xcode 10 also enables you to create your own dark apps for macOS. You can also move between the light and dark mode. You can also move your app in and out of Dark mode while debugging.
Better Editor
Xcode 10 supports multi-line editing by selecting multiple lines. If we want to change all functions to private functions, then we can select all lines of func and replace them with private functions.
New Build System
~ The new build system has been activated by default in Xcode 10. We can go to Xcode-Files-Project/Workspace settings options. You will see that there is a Build System option that allows you to select a new build system.
Directly Upload App to AppStore
~ Through Xcode 10, we can directly upload an iOS app to the App Store from the Xcodebuild tool using the following command:
~ “ $ Xcodebuild -exportArchive -archivePath <xcarchivepath> [-exportPath <destinationpath>] -exportOptionsPlist <plistpath> “
~ We need to pass the ExportOptions.plist file containing the key destination and value upload. Furthermore, we have to ensure that Xcode is configured with the right membership details to be able to connect to the Apple developer portal.
Parallel Testing
Xcode 10 supports running tests in parallel, which reduces the time for takes to run the test. Test parallelization is supported for macOS, iOS and tvOS unit test in simulators.
Version Control Integration
Xcode now supports working directly with a few source code collaboration platforms such as GitHub and GitHub Enterprise, Bitbucket Cloud and Bitbucket server and also GitLab.com and Gitlab self –hosted.
Asset Catalog
Xcode 10 supports the CarPlay assets and ARKit 3D ARReferenceObject asset. It also supports unit varying image and color assets with light, dark and high contrast appearances on macOS 10.14 and above.
Code Snippets
~ We can also create snippets for other languages likes Ruby, php, Python, C++, Obj C, etc.
~ We have to define the shortcut keys for the snippets.
Closing Note
There are new great features included in this version of Xcode that we have discussed in the article above. So you can also go for it and experience the difference. 9series provides you with the best iOS App Development Services where they use the latest tools and technologies like Xcode 10 to develop the most dynamic and user-friendly apps for your business.