Timering

Purp

Xcode 9 IOS 11 beta 2

Just some news about the news. What can you expect when you start using Xcode 9 with IOS 11? First you should download the second beta version, and I have to say, these have still quite a lot of bug. But there are some great news in Xcode 9 and IOS 11 (beta 2), what are good to know! Check new simulators, how to run App on real device via WiFi. About Build System news and about Good news for CoreData fans in Xcode 9. Those Xcode 9 new feature, which makes our life easier when new devices should be used. What's so great in new Source control navigator and source editor or new features at Debugging in Xcode 9 or Core ML? And don't forget some amazing new functions of IOS 11.

Content

  1. Simulators
  2. running App on real device via WiFi
  3. Some Build System news
  4. Good news for CoreData fans in Xcode 9
  5. Which makes our life easier when new devices should be used
  6. new Source control navigator and source editor
  7. There are 4 new feature at Debugging in Xcode 9, which are really great!
  8. Core ML
  9. IOS 11 as a user

Video

1. Simulators

You can use the new Simulators, which faster, and more realistic. You can change their size without the fixed scale ratios. There will be no crash in a lot of situation at Simulators, as earlier, and you can simulate the touches of the physical buttons of the devices during App running as well.

Xcode 9 new simulator

2. running App on real device via WiFi

The new feature with IOS 11, that you can running App on real device via WiFi.
For this you should first download and install IOS 11 Beta version to your device, after that connect the device with lightening cable (just at first time). Go to Window —> Devices and Simulators, 

Xcode 9 Device and simulators

and in the window, you can check the new feature “Connect via Network”. 

Xcode 9 connect device via network WiFi

You should wait a little, and finally you will see a net connected icon at your device in the window, and in Xcode at active scheme selection too.

Xcode 9 running App on real device via  WiFi

3. Some Build System news

  • you can use same base name at target files which differed only by its capitalization
  • you can run “Analyze While Building” without crash
  • no more search paths problem.

4. Good news for CoreData fans in Xcode 9

The Xcode data model editor supports creating fetch indexes from attributes, expressions, and relationships too. 

But yes, this works perfectly just with beta 2! 

5. Which makes our life easier when new devices should be used

When you build and run and encounter a provisioning issue, Xcode won’t prompt you to register a device, revoke a certificate, or download a provisioning profile if these repairs are necessary

6. new Source control navigator and source editor

Xcode 9 has a great new Source control navigator and source editor, you can search really fast in all codes, and navigate faster between files.

Xcode 9 source control navigator

  • New source control navigator for viewing branches, tags, and remote repositories for the current workspace.
  • New source control inspector shows details for the selected navigator item.
  • New editor for branch history including a jump bar for easy navigation.
  • New side-by-side editor for file diffs.
  • Easier and faster access to common tasks.
  • GitHub account integration for easy browsing and one-click creation of a project and the associated GitHub repository.

Xcode 9 find navigator search faster

7. There are 4 new feature at Debugging in Xcode 9, which are really great!

Network debugging for iOS and tvOS devices

  • Debug iOS and tvOS devices over WiFi or wired networks.
  • Connect via Bonjour or enter an IP address.
  • iOS devices need to be plugged-in once to enable network debugging.

GPU frame capture and GPU overrides

  • View command buffers, attachments, resources, and call stacks.
  • Modify shaders and save changes to your app.
  • Move through the timeline for the sequence.
  • Inspect and modify values for individual pixels in attachments including colour values, alpha, depth, and more.
  • Experiment with the rendering state without modifying code by minimizing texture bandwidth, minimizing number of rendered pixels, disabling the blending stage, showing only the wireframe, and scaling the amount of tessellation.

Undefined Behavior Sanitizer

  •  Use the Undefined Behavior Sanitizer to find sources of program crashes, unexpected behaviors, and incompatibilities with future versions of Xcode.
  • Detect several types of undefined behaviors in C languages such as integer overflow, invalid casts, and alignment violations.
  • Enable the Undefined Behavior Sanitizer in the Diagnostics pane of the scheme editor.

Main Thread Checker

  • Detects AppKit, UIKit, and WebKit method calls that are not made on the main thread.Automatically enabled during debugging, and can be disabled in the Diagnostic tab of the scheme editor.
  • Main Thread Checker works with Swift and C languages.

8. Core ML

  • New in Xcode 9 – Core ML editor.
  • Generate strongly typed interfaces for the model.
  • Model compilation for on-device usage.

In the next tutorials I'll show some basic implementation for Machine Learning. 

9. IOS 11

In the new IOS 11 you will find News and Files, and with the latter you can improve your existing applications.  

IOS 11 News App on real device

My favourite as a user, is the Screenshot Markup tool, which is an old wish from everyone I think. Now you can mark everything what you have read, and need for further work or study, you can save them, and at Mac you can merged them for one pdf, so you can create your own notebook. Actually I believe with this function the learning process can accelerate dramatically.

IOS 11 Screenshot Markup Tools in use on real device

More details here about new Xcode 9 and the release notes for Xcode 9 beta 2

Share & Follow

If you would like to be notified of my new solutions, please subscribe to my Newsletter or my youtube channel and/ or follow me on Facebook or Twitter! Check Footer section for these opportunities!