New Things In Xcode 8.2

Member Article

10 Best New Things In Xcode 8.2

Xcode is the Apple’s developer toolset which is used to create apps for Apple TV, Apple Watch, iPad, iPhone, and Mac. With the launch of new MacBooks this year, Apple has released an updated version of Xcode 8.2. We will go through the recent updates made to simplify application development for iPhone.

Let’s first look at the new additions made in Xcode:

1. It now offers support to many Touch Bar actions and helps customizing the Touch Bar controls of the following editors and debuggers: source editor, Playground editor, Interface Builder, view debugger, and memory graph debugger. For customizing the Touch Bar, you need to open the editor and choose View -> Customize Touch Bar. 2. A new Touch Bar API is available for macOS 10.12.2 or later.

Now we will go through a specific update resolving the issue in Apple iOS

1. Asset Catalog – The known issues are:

  • The builds of iOS, tvOS and watchOS sometimes hang during CompileAssetCatalog, CompileStoryboard, or CompileXIB when running on OS X El Capitan.
  • To solve this you need to rebuilt the target and workaround.

2. Building & Linking – The issues resolved are:

  • Use .xcconfig files to prompt changes on disk when switching git branches.

3. Command Line Tools – The issues resolved are:

  • Command Line Tools (OS X 10.11) for Xcode 8.2 are available and support Swift 3.0 development from the command line on OS X El Capitan.

4. Core Data – The issues resolved are:

  • Opening a data model with a minimum tools version earlier than Xcode 8.0 will not reset the code generation language to Objective-C.

5. Debugging – Issues resolved:

  • The Memory Debugger for macOS and the iOS Simulator are fixed reporting with the issue of false memory leaks in Swift classes containing either fields of type enum, or classes that inherit from certain Objective-C framework classes.
  • False reporting can still occur for iOS, watchOS, and tvOS applications. See (29335813) in Known Issues, below.

6. Interface Builder – The issues resolved are:

  • The UITabBarController now correctly displays content instead of blue boxes.
  • Fixed a crash on macOS 10.12 when a P3 color space other than the system default is installed.
  • The supportsPressAndHold property now works when using popover Touch Bar items from Interface Builder.

7. Simulator – New features and issues resolved are:

  • Now you can install the app by dragging onto a Simulator window.
  • You can take videos and screenshots of Simulator using the xcrun Xcode command-line utility.
  • To take a screenshot, you simply need to run the command xcrun simctl io booted screenshot.
  • To take a video, you need to run the command xcrun simctl io booted recordVideo ..
  • The issues resolved were dragging a Live Photo resource into the Simulator imports the Live Photo instead of importing a photo and a video.
  • The simulator now renders the screen correctly when using iOS 9.1 or earlier.
  • The Keychain APIs now work correctly in Simulator.
  • Some of the issue you might face during development is that the Simulator might crash when saving a screenshot when running on OS X El Capitan, but the crash is not observed in macOS Sierra.

These are some of the most awaited updates in Xcode. Have you found a new update in Xcode which you would like to add in this article? Let us know in the comments below.

This was posted in Bdaily's Members' News section by Technoblogger .

Our Partners