Become a MacRumors Supporter for $25/year with no ads, private forums, and more!

Xcode 9.3 Beta Includes New Tools to Help Developers Detect Apps Using Too Much Battery

MacRumors

macrumors bot
Original poster
Apr 12, 2001
51,028
12,565



Along with the first beta of iOS 11.3, Apple today also seeded the first beta of a new Xcode 9.3 update to developers. Xcode 9.3 introduces a new Energy organizer that's designed to help developers detect when an app or app extension is using up too much battery life on a user's device.

The Energy organizer will display logs that are generated when an app exceeds a "reasonable CPU threshold" when running in either the foreground or the background, making it easier for developers to pinpoint and fix bugs.

Xcode 9.3's release notes also mention a new 64-bit testing mode in macOS 10.13.4 that will allow developers to test software for 64-bit compatibility as Apple prepares to begin phasing out 32-bit Mac apps. In macOS 10.13.4, end users will see a notification when launching a 32-bit app, which warns them that 32-bit apps will not "run without compromise" in future versions of macOS.

Additionally, 32-bit is not offered as an option in Xcode's build settings UI, and the build system will emit a warning when building for macOS for the 32-bit architecture.

Xcode has also been designed to run more Swift build tasks in parallel with other commands, improving build times for Swift projects. It may, however, also result in increased memory usage during the build.

Xcode 9.3 requires a Mac running macOS 10.13.2 or later, which means the software will no longer run on Macs that continue to use older operating systems like Sierra.

Developers can download Xcode 9.3 from the Developer Center.

Article Link: Xcode 9.3 Beta Includes New Tools to Help Developers Detect Apps Using Too Much Battery
 
  • Like
Reactions: keysofanxiety

nt5672

macrumors 68020
Jun 30, 2007
2,169
4,622
So instead of fixing the numerous Xcode problems in this release its all about changing developer's code to fix the poor performance that results from Apple's cult like desire to under power devices.
 
Comment

Mascots

macrumors 68000
Sep 5, 2009
1,625
1,318
So instead of fixing the numerous Xcode problems in this release its all about changing developer's code to fix the poor performance that results from Apple's cult like desire to under power devices.

In the release notes, there are several mentions besides the energy organizer like parallel Swift processing and a handful of other bug fixes, but if it actually amounts to an more usable IDE or some monster even worse, I can't wait to see.

And people think they have it bad because Messages is misaligned to the keyboard sometimes - oh so much worse is the syntax highlighter and autocompletion crashing or hanging every 10 minutes in a medium sized project, with several minutes of waiting or restarts required just to get it back.
 
  • Like
Reactions: badNameErr
Comment

nt5672

macrumors 68020
Jun 30, 2007
2,169
4,622
In the release notes, there are several mentions besides the energy organizer like parallel Swift processing and a handful of other bug fixes, but if it actually amounts to an more usable IDE or some monster even worse, I can't wait to see.

And people think they have it bad because Messages is misaligned to the keyboard sometimes - oh so much worse is the syntax highlighter and autocompletion crashing or hanging every 10 minutes in a medium sized project, with several minutes of waiting or restarts required just to get it back.

Yep, I read the release notes, but no mention of any of the Xcode problems you mention, or the ones that impact me on a daily basis.
 
Comment

Tzu-Yi

macrumors newbie
Oct 11, 2015
1
0
Apple should use their own tools.

Acturally, Apple use their own tools to build its products.

For example, latest version of iTunes built by Xcode 9.0 (with in-house SDK, which is public SDK plus private frameworks) under macOS Sierra 10.12.1
 
Comment
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.