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

Discussion in 'Mac Blog Discussion' started by MacRumors, Jan 24, 2018.

  1. MacRumors macrumors bot

    MacRumors

    Joined:
    Apr 12, 2001
    #1
    [​IMG]


    [​IMG]
    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
     
  2. scrapesleon macrumors 6502a

    scrapesleon

    Joined:
    Mar 30, 2017
    Location:
    Jamaica
  3. Aussi3 Suspended

    Aussi3

    Joined:
    Jun 3, 2012
    Location:
    Facesticks on the App store
    #3
    Wonder if Apple will update iMovie soon so we can actually make app previews for iPhone X easier instead of it bugging out to iPhone 8 resolution
     
  4. timborama macrumors 6502

    timborama

    Joined:
    Oct 12, 2011
  5. itsmilo macrumors 68020

    itsmilo

    Joined:
    Sep 15, 2016
    Location:
    Europe
  6. nt5672 macrumors 68000

    Joined:
    Jun 30, 2007
    #6
    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.
     
  7. Mascots macrumors 68000

    Mascots

    Joined:
    Sep 5, 2009
    #7
    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.
     
  8. RightMACatU macrumors 65816

    RightMACatU

    Joined:
    Jul 12, 2012
    Location:
    192.168.1.1
    #8
    Gotta love the hammer in that picture :D
     
  9. nt5672 macrumors 68000

    Joined:
    Jun 30, 2007
    #9
    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.
     
  10. Tzu-Yi macrumors newbie

    Tzu-Yi

    Joined:
    Oct 11, 2015
    #10
    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
     

Share This Page

9 January 24, 2018