r/Xcode

▲ 40 r/Xcode+9 crossposts

I grew up playing Cartoon Wars on my iPod got hooked on the side scrolling army battle style. Later, I got into The Battle Cats both had that fun, chaotic feel that stuck with me. So I decided to make something inspired by both.

What started as a small idea turned into a full project. I would love to hear your opinion, what do you guys think about the gameplay. Anything you’d like to see me add.

Right now, it’s only available on the App Store. Would love any feedback

Ps a rating would go a long way 🥹

🔗 https://apps.apple.com/us/app/summoners-clash-tower-defense/id6745975977

u/Financial-Coffee-484 — 22 hours ago
▲ 7 r/Xcode

Porting an app from one language to Swift using Xcode and Claude Code

Hi,

I know only basics of Swift and Xcode, I did learn it years ago. I'm making some apps for myself, and I'm amazed by the output Claude Code generates.

I'm still learning, thinking what is the best approach for this kind of thing.

Most of the time I use the Claude extension in Xcode, and I talk to Claude using the assistant side window.

Anyway let's say there is simple app coded in Python or C++ or whatever, and I would like to use that code's logic etc. and create a Mac or iOS app using Claude Code mostly.

Should I put the let's say Python code in same folder as my Xcode project, and tell code to read it and "learn it"? I assume it's not the most efficient way?

Or should I explain in CLAUDE.md which file/folder does what in the source code that I'm porting to Swift etc?

Any tips appreciated.

I also keep hitting limits all the time which is super frustrating, but I'm learning and want to use less tokens, not sure how yet.

Thanks!

reddit.com
u/just_another_leddito — 3 days ago
▲ 0 r/Xcode+1 crossposts

Building iOS app from windows

Hello everyone! I'm an Android dev and I just finished building my app for Android. Now it is time for the iOS part. I already have a complete iOS port written in Swift but I'm on windows 11 with no mac, thus no way of testing the code through Xcode. I already have some options: MacInCloud, Github actions or Hackintosh. I have never done something like this before and I'm swamped. Has anyone shipped an iOS app from windows? What worked for you? Are there better alternatives that I'm missing? Thank you!

reddit.com
u/Educational_Suit8305 — 5 days ago
▲ 8 r/Xcode+1 crossposts

Xcode and MacBook Pro 2017 8/128

Hi there! I have an old friend -a MacBook Pro that has been with me for 8 years. I’m trying to build apps on it. Launching the emulator and building apps takes 20-30 minutes after each code update 🥲. The Mac quickly ran out of memory (SSD), and it’s practically impossible to build on it now. Somehow, I still manage to run and build some projects on it. I used Sonoma to run a lightweight version of modern Xcode. Yes, I know most of you say it’s trash and need a new one. I can’t. So, my question is - does anyone know how to make compiles and builds faster?
At least give me a chance. I want to finish the app, publish it and if I receive money I will buy a new laptop

u/tPimple — 6 days ago
▲ 5 r/Xcode+3 crossposts

[Promo Friday] What are you building? Devs share your apps, Users find your next favorite tool! 📱 🚀

Happy Friday!

This community thrives when we support each other. Whether you are looking for a new tool to level up your iPhone or you’ve built one yourself, this thread is for you.

The Developers Rules:

  • Member: You must be a member of r/learnIphone to participate. Tap Join!
  • Format: State the Problem it solves + your Solution (with App Store link).
  • Consolidate: Multiple apps must stay in one single comment.
  • Store Only: App Store links only.
  • Karma Perk: If you have 100+ subreddit karma, feel free to create your own Self-Promo post instead!

Users:

Browse the solutions below to find your next favorite app!

Devs:

Drop your app below and let’s support some indie devs! 👇

reddit.com
u/Cool_Afternoon_261 — 6 days ago
▲ 0 r/Xcode

UI/UX

building my first app using codex - what’s the easiest/best way to get fresh UI designs for my app? don’t want to rely on ai slop lol

reddit.com
u/qwerty0909090912345 — 5 days ago
▲ 5 r/Xcode

Codex downloaded by XCode 26.4.1 reported as Malware

Hi,

when I try to add the agent for OpenAI (Codex), it is downloaded by XCode and then when it starts, I get a message that it is Malware. It seems, XCode downloads a version 0.106.0 which seems quite old (I think current is 0.131.0).

So far I have not found a way around this. Unfortunately, there is close to no information about this topic in the web 😞.

Popup reporting Codex as malware

reddit.com
u/ShyBobGuy — 4 days ago
▲ 1 r/Xcode+1 crossposts

In C if aString contains "test" then
NSLog(@"var: '%s'", aString);
produces
var: ' test '
instead of the expected
var: 'test'

Why? Is this relatively new? Can I turn off the extra spaces? Edit/Format/Substitutions all are off. Thanks. Xcode 26.4.1

reddit.com
u/ProfitCold4972 — 3 days ago
▲ 1 r/Xcode

Does anyone have a solution for this? Really in a bind here since I can't use VOIP, it won't let me use my phone number, and it's not like I want to use a disposable number.. How did you guys do this? Should I just get an esim and call it a sunk cost?

reddit.com
u/Smacpats111111 — 9 days ago
▲ 4 r/Xcode

I got an "update codex" notification in xcode, but after doing so, I can no longer log into codex no matter what I do. The login window is successful, but then the settings still show that I'm not logged in.

I literally cannot sign into xcode at all. I updated it. I reset it. I reset my laptop. I've tried everything.

The newest Codex update must've bricked it or something.

reddit.com
u/nicebrah — 5 days ago
▲ 1 r/Xcode

Hi,

I do CMD + R and it opens the simulator, when I'm done I simply go to top bar and "quit the simulator".

Most of the time if I do CMD + R again, despite not changing anything, I get this error:

https://ibb.co/5xBqg82N

I have to do things like go to simulator option, restart, quit, and do CMD + R again.

Is it bugged or Am I doing something wrong?

Thanks!

u/just_another_leddito — 9 days ago
▲ 4 r/Xcode

I have MBP M1 Pro, and I'm currently on Sequoia . I'm coding using Xcode 26.3 , because that's all that's available on Sequoia. As far as I know, the 'agentic coding' is only available on Xcode 26.4, which , is only available on Tahoe.

My question... is the 'agentic coding' integration on 26.4 worth the upgrade ? Would it be any different from running the Github copilot on the side ? I'm planning to subscribe to Claude Code to give it a try for swift UI coding. I'v been using Claude Code at work - but for coding web stuff (reacts).

Right now I'm perfectly ok with Sequoia on my M1. I'm worried that upgrading Tahoe on this M1 Pro will make it sluggish.

reddit.com
u/Internal_Soil_8147 — 12 days ago
▲ 8 r/Xcode+1 crossposts

I'm using SwiftUI but I'm pretty sure the screenshot attached in this post is AppKit. It doesn't even match the preview in XCode.

SettingsView.swift

import SwiftUI

struct SettingsView: View {
    var body: some View {
        NavigationSplitView {
            List {
                NavigationLink(destination: Text("hello")) {
                    Label("General", systemImage: "gear")
                }
                NavigationLink(destination: Text("hello world")) {
                    Label("Appearance", systemImage: "paintbrush")
                }
            }
        } detail: {
            Text("Select a section")
        }
        .frame(width: 600, height: 400)
    }
}

EuclaseApp.swift

import SwiftUI

struct EuclaseApp: App {
    u/NSApplicationDelegateAdaptor(AppDelegate.self) var appDelegate

    var body: some Scene {
        Settings {
            SettingsView()
        }
    }
}

final class AppDelegate: NSObject, NSApplicationDelegate {
    private let floatingPanelController = PanelController()

    func applicationDidFinishLaunching(_ notification: Notification) {
        floatingPanelController.start()
    }
}

I want to use AppKit for this floating panel but I want SwiftUI to be used in the rest of the app. Please help.

u/cluelessngl — 14 days ago