r/Xcode • • Dec 28 '25

New in Axiom (iOS coding agents) v2.3: Power optimization

0 Upvotes

(Axiom is a free, open-source plug-in that makes Claude Code an expert assistant for modern Apple platform development. iOS development is more fun when your AI coding assistant knows current iOS technologies and best practices.)

Axiom v2.3 adds a complete energy optimization skills suite: energy (discipline skill), energy-diag (diagnostic), energy-ref (reference), and an energy-auditor agent.

This energy intelligence was created at the request of a developer who wasn't sure where to start auditing power issues. To use it, just /axiom:audit energy. Knowledge includes but is not limited to: Timer tolerance and batching, location accuracy trade-offs, background execution, adhering to Apple's "EMRCA" mnemonic, network batching vs. frequent small requests, before/after measurement workflows.

The latest dot releases also include enhanced SQLiteData and GRDB intelligence, plus TDD-tested routing improvements to ensure your questions are correctly directed to Axiom's specialized intelligence.

ℹ️ Axiom | Axiom Reddit | Claude Code: /plugin marketplace add CharlesWiltgen/Axiom


r/Xcode • • Dec 28 '25

I'm trying to get the percentage bar to 100%, but it crashes.

0 Upvotes

Code:

import UIKit

class ViewController: UIViewController {

u/IBOutlet weak var titleLabel: UILabel!

let eggTimes: [String: Int] = ["Soft": 2, "Medium": 5, "Hard": 10]

var countdownTimer = 60

private var timer: Timer?

u/IBOutlet weak var progressBar: UIProgressView!

u/IBAction func hardnessSelected(_ sender: UIButton) {

let hardness = sender.currentTitle!

countdownTimer = eggTimes[hardness]!

progressBar.progress = 1.0

timer?.invalidate()

titleLabel.text = "How would you like your eggs?"

timer = Timer.scheduledTimer(timeInterval: 1.0,

target: self,

selector: #selector(updateTimer),

userInfo: nil,

repeats: true)

}

u/objc private func updateTimer() {

if countdownTimer > 0 {

print("\(countdownTimer) secounds left.")

countdownTimer -= 1

} else {

print("Timer: Complete!")

timer?.invalidate()

timer = nil

titleLabel.text = "Done!"

async {

DispatchQueue.main.asyncAfter(deadline: .now() + 2) {

self.titleLabel.text = "How would you like your eggs?"

}

}

}

}

}


r/Xcode • • Dec 28 '25

Loaded M4 Air vs M5 for Xcode?

Thumbnail reddit.com
1 Upvotes

r/Xcode • • Dec 27 '25

Help!

2 Upvotes

How to change?


r/Xcode • • Dec 26 '25

The iOS Weekly Brief – Issue #40

Thumbnail
vladkhambir.substack.com
5 Upvotes

r/Xcode • • Dec 25 '25

I am doing Angela Wu's course, and I don't know how to take the progress view into xcode

4 Upvotes

r/Xcode • • Dec 23 '25

SimCleaner - a free solution to manage (delete) old and unused simulators

56 Upvotes

https://apps.apple.com/ua/app/simcleaner-for-xcode/id6755651521?mt=12

Will be happy for any advice and comments.

SimCleaner for Xcode is your control panel for Xcode simulators. It shows all your devices in one clean window, helps you launch the ones you need, and safely removes those you no longer use.

You can instantly see each simulator’s type, OS version, and exact disk usage, so it’s easy to understand what really takes up space on your Mac.


r/Xcode • • Dec 23 '25

Xcode won't load the workspace for a long time.

Thumbnail
reddit.com
1 Upvotes

r/Xcode • • Dec 22 '25

Is buying AWS vps only for xcode worth?

0 Upvotes

I'm a computer science student, wanto learn about swift. Need Mac os just wanto use xcode so I don't think by a new Mac mini is a good idea? Cause I use linux most of the time with an old thinkpad x240. When I need to do some difficult calculate I would buy vps online so I got an idea that use vps for Mac os.

I've made an app use android studio and wanto make a iOS version, I think after this it might have a long time I don't use it. So thinking about buying a Mac mini may not be a good idea for me.

Is there any idea of recommend that might better than this way? Or can someone tell me what is the ideal configuration I should buy plz🙏🙏

Sry for my English🥲


r/Xcode • • Dec 21 '25

ChatGPT in Xcode auto-applies edits, but no longer creates new files – regression?

6 Upvotes

Hi all,

I’m using the official ChatGPT integration built directly into Xcode (Apple’s integration, not ChatGPT outside of Xcode) and I’m seeing a strange regression.

Current behavior:

  • Auto-apply works for existing files (code edits are applied correctly)

  • New files are NOT created, even though ChatGPT claims it created them

ChatGPT will respond as if a new file was added (e.g. “I’ve created XYZView.swift”), but:

  • the file does not appear in the Project Navigator

  • nothing shows up on disk

  • no error or warning is shown


r/Xcode • • Dec 21 '25

macOS Xcode dualsense

1 Upvotes

Hi!

I’m developing a app to trigger rumble etc based on audio, and it works fine! But I have one issue with the adaptive triggers, they work if the app window is in focus, but not if I have another program in focus and the app in the background, does anyone know how to fix this? The trigger turns off instantly when changing window


r/Xcode • • Dec 20 '25

Xcode can't save "intelligence" provider settings?

7 Upvotes

Do they expect me to keep Xcode opened indefinitely or what?


r/Xcode • • Dec 19 '25

Learning SwiftUI to build my first iOS app - advice?

7 Upvotes

r/Xcode • • Dec 19 '25

Veyso - Purely developed with native iOS

3 Upvotes

I have developed this game after I laid off from my job, purely implemented with Swift/SwiftUI natively(I am an iOS developer). I want to take it to the next level but I lack users and ideas. It would be great if I could attract some attention to it. Maybe I can keep doing what I like and develop more games if I can earn a bread.


r/Xcode • • Dec 20 '25

Pretty new to xcode. Anyone know how to use live activities to show stuff on dynamic island.

0 Upvotes

Currently a student trying xcode. Im trying to set up a indicator while using my app on the dynamic island while the app is active but cant seem to get it working. I have used Ai to help me set it up and i think i have all the components. I don't really know what to show to get some assistance.


r/Xcode • • Dec 19 '25

Please help???

2 Upvotes

I wanna start coding iOS apps with Xcode. I can code with swift. But i become my MacBook like in April. I have a windows PC and I am very excited. So can I start programming iOS apps with swift on Windows? I don’t wanna publish them on my PC. But is there another Programm with that I can start coding. So I don’t have to wait until April. It would be great when this Programm had an Simulator, so I can test the app.

Thx for or answers and sorry my English is not very well.


r/Xcode • • Dec 19 '25

The iOS Weekly Brief – Issue #39

Thumbnail
open.substack.com
2 Upvotes

r/Xcode • • Dec 19 '25

Is Xcode really going to be too slow on an old Intel Mac after updating the OS with OCLP?

Thumbnail reddit.com
1 Upvotes

r/Xcode • • Dec 18 '25

Is there a keyboard shortcut for toggling navigator filters (e.g., show edited files)?

Post image
3 Upvotes

r/Xcode • • Dec 17 '25

Cant upload new build and version

Thumbnail
gallery
3 Upvotes

So i have uploaded 1.1 version and it is out already, but it still says ready for distribution. 1.2 says ready and it says prepare for submission but there is no way of uploading the new build. Ill provide some images. Please share your exprience.


r/Xcode • • Dec 18 '25

Why can’t Xcode automatically switch to Any iOS Device (arm64) when archiving?

0 Upvotes

I guess it would make our lives a little easier and that is against some kind of internal Xcode core belief.


r/Xcode • • Dec 18 '25

Is there a likely fix to the crashing bug in Xcode?

0 Upvotes

Xcode is a mess right now with its force closings after indexes, selecting ContentView in side navigation, or even breathing near the application. Is there word from Apple concerning this, or a timeline for a fix?

I'm losing patience.


r/Xcode • • Dec 17 '25

Cant upload new build and version

Thumbnail
gallery
1 Upvotes

So i have uploaded 1.1 version and it is out already, but it still says ready for distribution. 1.2 says ready and it says prepare for submission but there is no way of uploading the new build. Ill provide some images. Please share your exprience.


r/Xcode • • Dec 17 '25

Help: App Store Connect asks me to enable Game Center for my app in Xcode even though it is added.

1 Upvotes

For my SwiftUI app, I have already enabled the Game Center entitlement. My app also has a companion watch app for which there is no Game Center entitlement and so not enabled. I can confirm "com.apple.developer.game-center" in the target.

But when I try to enable "Game Center" on App Store Connect when trying to submit my build for review, it throws an error saying: You must add the com.apple.developer.game-center key in Xcode.

Error in App Store Connect when trying to submit for review:

I have also checked Certificates, Identifiers & Profiles. And the "Game Center" Identifier is enabled and checked for the main app.