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

by

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.

Tag: Xcode

Top Rated Comments

(View all)
Avatar
35 months ago
Apple should use their own tools.
Score: 4 Votes (Like | Disagree)
Avatar
35 months ago

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.
Score: 1 Votes (Like | Disagree)
Avatar
35 months ago
Facebook needs to use this badly
Score: 1 Votes (Like | Disagree)
Avatar
35 months ago
Well this I’m going to love
Score: 1 Votes (Like | Disagree)

Top Stories

iOS 14 Widgets Offer iPhone Users Creative Home Screen Ideas

Sunday September 20, 2020 8:43 pm PDT by
Updated on September 22nd with hands on video. In iOS 14, Apple introduced ‌the concept of Home Screen‌ widgets, which provide information from apps at a glance. Widgets can be pinned to the Home Screen in various spots and sizes, allowing for many different layouts. Despite the relative lack of...

iPhone 12 Lineup Rumored to Be Named 'iPhone 12 mini,' 'iPhone 12,' 'iPhone 12 Pro,' and 'iPhone 12 Pro Max'

Monday September 21, 2020 5:24 am PDT by
Leaker known as "L0vetodream" has today shared the alleged naming for the upcoming iPhone 12 lineup on Twitter. The tweet proposes that the upcoming iPhone 12 models will be titled "iPhone 12 mini," "iPhone 12," "iPhone 12 Pro," and "iPhone 12 Pro Max." The names likely correspond to the three expected sizes of iPhone 12, with the 5.4-inch model being the iPhone 12 mini, the 6.7-inch model ...

PSA: New Apple Watch Owners Have to Return Entire Device for Ill-Fitting Solo Loop or Braided Solo Loop

Monday September 21, 2020 3:26 pm PDT by
With the Apple Watch Series 6, Apple introduced two new band options, the Solo Loop and the Braided Solo Loop. These new bands are unique because they have no clasps, buckles, or other fasteners, and instead use a stretch design to allow them to pull onto the wrist over the hand. Because these bands are not adjustable, Apple sells each one in nine different sizes to make sure each person...

Apple Releases First Public Betas of iOS 14.2 and iPadOS 14.2 With New Shazam Control Center Options

Monday September 21, 2020 10:34 am PDT by
Apple today seeded the first public betas of upcoming iOS 14.2 and iPadOS 14.2 updates to its public beta testing group, a few days after seeding the first betas to developers and a little less than a week after releasing the iOS 14 and iPadOS 14 updates. Public beta testers who have signed up for Apple's beta testing program can download the iOS and iPadOS‌ 14.2 updates over the air after ...

Kuo: Apple to Accelerate Adoption of Mini-LED Displays in iPad and Mac Notebook Lineups

Sunday September 20, 2020 10:00 pm PDT by
Increased competition among Apple's suppliers for mini-LED display chips will accelerate the company's adoption of the advanced technology in its iPad and MacBook lineups, according to a new research note from analyst Ming-Chi Kuo seen by MacRumors. Kuo says that while Epistar had been predicted to be the exclusive supplier of mini-LED chips for Apple products in 2021, Sanan Optoelectronics...

AirPods Studio Rumored to Come With U1 Chip, Ultra-Wideband Said to Be Vital to Future Apple Ecosystem

Sunday September 20, 2020 6:17 am PDT by
Proven leaker known as "L0vetodream" has today shared a range of information about the ultra-wideband U1 chip in Apple's upcoming AirTags item trackers and AirPods Studio headphones. The first of a series of tweets shared today simply stated that AirPods Studio will contain an ultra-wideband U1 chip. It seems likely that the U1 chip would be used in AirPods Studio to track the location of...

AT&T Already Working on 6G, Says 5G iPhones Might Not Be 'Massive Event' Due to Economic Uncertainty

Monday September 21, 2020 10:05 am PDT by
Apple's upcoming launch of 5G iPhones might not be a "massive event" due to economic uncertainty amid the global health crisis, AT&T Communications CEO Jeff McElfresh said in a paywalled interview published by CNBC. "I do believe that you will see many of the iPhone subscribers move to upgrade to the device," said McElfresh. "But I wouldn't forecast that it's going to be a massive event. I...

Microsoft Announces Outlook for Mac Redesign, Improvements to iOS and watchOS Apps

Tuesday September 22, 2020 8:56 am PDT by
Microsoft has today announced plans to bring a new design to its Outlook for Mac app along with several other improvements and features for Outlook on iOS and watchOS. In preparation for the public release of macOS Big Sur, Microsoft has been testing a new design for Outlook on Mac. The design includes Microsoft's Fluent icons and several design cues from Big Sur such as rounded corners....

iOS 14 Adoption Surpasses 25% Across iPhone and iPad Five Days After Release

Monday September 21, 2020 9:06 am PDT by
Five days after Apple released iOS 14, adoption of the software update has reached approximately 26 percent of active iPhone, iPad, and iPod touch devices, according to mobile analytics company Mixpanel. This includes iPadOS 14. iOS 14 adoption appears to be outpacing iOS 13, which was installed on approximately 20 percent of active devices one week after its release last year, according to...

When Will the iPhone 12 Launch? Here's What We Know

Wednesday September 16, 2020 6:12 am PDT by
Yesterday's "Time Flies" Apple event saw the release of the Apple Watch Series 6, Apple Watch SE, iPad 8, and iPad Air 4, but no new iPhone models. Rumors before the event strongly alleged that it would not see the unveiling of new iPhones, with many reports pointing to an October launch. The lack of new iPhone models yesterday seems to confirm that the iPhone 12 lineup will not appear...