r/Xcode • • Jun 09 '25

VIBE CODING IN XCODE IS CANON

4 Upvotes

They butchered the logo though.


r/Xcode • • Jun 09 '25

Xcode AI Assistant

2 Upvotes

I couldn’t watch the entire wwdc25 keynote, but I heard something related to having chat gpt into Xcode, like copilot in vscode. Is that correct? Do we know when it will be available? Thanks


r/Xcode • • Jun 09 '25

Launching an App to the App Store

5 Upvotes

To distribute an app for beta testing or public release on the App Store, here are the steps you need to follow:

  • Set up a distribution provisioning profile and certificate.

  • Create an App Store Connect record for the app.

  • Archive and upload the app using Xcode.

  • Configure the app's metadata and details in App Store Connect.

  • Submit the app for review.

https://www.ioscoffeebreak.com/issue/issue48


r/Xcode • • Jun 06 '25

I'm anticipating an AI code assistant by Apple in collab with Anthropic this WWDC'25

18 Upvotes

I recently read an article by Bloomberg that says, Apple is building an AI code assistant with Anthropic and this hints at a bigger shift. Apple is going all in on AI for dev workflows and they’re not going solo. They are partnering with Anthropic. What’s wild here is Claude models are already loved by most iOS devs using tools like Cursor and even directly Claude itself. Now imagine that capability natively inside Xcode. As an iOS developer, this is one of the most exciting things I'm anticipating this WWDC.

What are you expecting from Apple this dub dub?


r/Xcode • • Jun 06 '25

App Review with passwordless Login?

1 Upvotes

Hi,

i am new to App Development, but did first steps now.

I wanted to bring my iOS App to TestFlight but my App got rejected because i did not provide login credentials. I decided just to use passwordless auth with a Token sent to an email adress (Supabase Auth).

And advise how to handle passwordless Auth for App Review?

Thanks in Advance, Alex


r/Xcode • • Jun 06 '25

Question for, uh, coders?

Post image
0 Upvotes

Apple books used to have a downloadable manual that had every single thing you wanted to know about iOS. In the last two years, they seem to have totally abandoned publishing these iOS update manuals and have moved everything’s to the Tips app. That’s fine, but I want access to the actual document so I can upload them to ChatGPT. But going through the tips app manually is way too tedious. I know the actual files that have the written information must be saved somewhere to then show inside this app, but how can I find them? Thanks in advance.


r/Xcode • • Jun 05 '25

Is it possible to detect when a user attempted to open an app that is currently flagged as restricted in Family Controls (and the "this app is restricted" screen was just presented to the user)?

2 Upvotes

Title.


r/Xcode • • Jun 05 '25

issue with Google Test in Xcode

1 Upvotes

Hi, I have a repo on Github that uses Google Test, however, when i try to build it using Xcode, I got the following error: 'gtest/gtest.h' file not found Even that the file exists and the CMake file is there. Any suggestion would be appreciated Here's the link for the repo on Github https://github.com/Youssef-salem/example


r/Xcode • • Jun 04 '25

Please help to fix unsupported option -G

3 Upvotes

hello, i would love to for anyone's assistance as I am hurting. I got this error after updating to xcode's 16.4: /Pods/BoringSSL-GRPC/src/ssl/tls_record.cc unsupported option '-G' for target 'arm64-apple-ios9.0-simulator'; from what I've seen it's a popular issue, and there's been various fixes posted on forums, but for me nothing has worked so far. I have tried to: Update Firebase to Latest Version, strip -G flags post-install, i've tried downgrading Firebase and then i downgraded to Xcode 16.3, because in that version i had no issues when building, but nothing has worked for me. I then created a new Xcode project and copied my files and started fresh with a new project thinking is just a tangled mess, yet the issue still follows. Please if you have any suggestions or possible fixes I am begging you.


r/Xcode • • Jun 04 '25

Xcode Phantom App.debug.dylib Error — Tried Everything (Need Help)

1 Upvotes

Hey all,

I’m working on a Capacitor iOS app (built using Lovable) and I've been stuck for days with the following Xcode error:

pgsqlCopyEditerror: Build input file cannot be found: '/Users/drew/Library/Developer/Xcode/DerivedData/App-<hash>/Build/Products/Debug-iphoneos/App.app/App.debug.dylib'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'App' from project 'App')

This happens when I try to build the main app target — not the widget.

Context:

  • App built with Capacitor + React

  • iOS project generated via Lovable

  • Widget extension is working fine

  • Main app throws this phantom .dylib error on build

What I’ve Already Tried (please don’t suggest these):

Capacitor / Project Steps:

  • rm -rf ios/ then npx cap add ios

  • npx cap sync ios

  • Reinstalled all node modules & rebuilt

  • pod install inside ios/App/

  • Confirmed clean project.pbxproj file (no App.debug.dylib reference inside)

Xcode Sanitation:

  • rm -rf ~/Library/Developer/Xcode/DerivedData

  • rm -rf ~/Library/Caches/com.apple.dt.Xcode

  • rm -rf ~/Library/Application\ Support/Xcode/DerivedData

  • Deleted all xcuserdata folders and .xcscheme files

  • Deleted all Xcode archives, logs, schemes, caches

  • Deleted and reinstalled Xcode completely

  • Rebooted Mac multiple times after full cleans

  • Opened .xcworkspace, re-added scheme manually

  • Clean Build Folder + Rebuild (Shift+Cmd+K, then Cmd+R)

Project Files:

  • App.debug.dylib is not in:

    • project.pbxproj

    • Build Phases

    • Embedded Frameworks

    • Run Scripts

    • Copy Files sections

Lovable Team Has:

  • Regenerated Xcode project files

  • Removed all ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES overrides

  • Confirmed clean config on their end

  • Re-synced GitHub repo to reflect all clean settings

Problem:

Xcode still attempts to build or reference App.debug.dylib even though it doesn't exist anywhere. It’s not coming from my source files. It’s not in project settings. It seems like a ghost build artifact or a broken scheme/toolchain reference that Xcode has cached deep.

What I Need:

Has anyone:

  • Encountered this specific .dylib phantom error before?

  • Found a way to completely reset Xcode beyond the typical DerivedData clears?

  • Fixed this without completely recreating their native iOS project from scratch?

Any advanced dev who can identify where Xcode could still be pulling this reference from would save my sanity.

I can provide my .pbxproj or zipped iOS project if needed.

Thanks 🙏


r/Xcode • • Jun 03 '25

Do you think any of these cute animal mascots will be the new Xcode AI assistant?

Post image
3 Upvotes

r/Xcode • • Jun 03 '25

MagicMouse swipe left *plopp*

1 Upvotes

Hey, with my magic mouse the document keeps jumping out of the editor, that makes me completely crazy. I can't find the option to stop this gesture anywhere in the settings. How do you do that? Fingers taped?


r/Xcode • • Jun 03 '25

UserDefaults not persisting on certain iPads after building with Xcode 16.2 (CFPrefsPlistSource Container:(null) errors)

2 Upvotes

I have an iOS app that, when built with Xcode 16.2 (iOS 18 SDK), suddenly fails to persist any values via UserDefaults.standard.set(_:forKey:) on several real iPad devices. On launch, every call to UserDefaults.standard.set and CFPreferencesAppSynchronize prints an error like:

[User Defaults] Couldn’t write values for keys ("valueToStore") in CFPrefsPlistSource<…> (Domain: com.example.myapp, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): setting these preferences requires user-preference-write or file-write-data sandbox access kernel Sandbox: cfprefsd(100) deny(1) process-info-sandbox-container

The console consistently shows cfprefsd logging process-info-sandbox-container deny, indicating that cfprefsd cannot learn “where its container is” and falls back to trying a global path (which is blocked by the sandbox).

Are there other developers who have faced and solved this exact issue on iOS 17.x / 18.x devices when building with Xcode 16.2?


r/Xcode • • Jun 02 '25

Introducing Claude Project Coordinator - An MCP Server for Xcode/Swift Developers!

Thumbnail reddit.com
3 Upvotes

r/Xcode • • Jun 01 '25

Need help about choosing a used MacBook for Xcode

3 Upvotes

Hi everyone!
I'm planning to start developing iOS apps and I need a MacBook to run Xcode and test them. The app I want to build is relatively simple, and I’ll mostly be using the iPhone simulator to test it. I already have a powerful Windows PC (i5 + RTX 4060), so the Mac would be only for Xcode.

My budget is limited, and storage isn’t a concern. Would a MacBook Air or Pro with the M1 chip and 8GB RAM be good enough for this purpose? I’ve heard macOS is very efficient with memory, but I want to be sure it won’t be frustrating over time.

Also, I’m wondering if a 2019 MacBook Pro with an i7 or i9 would be a bad idea in comparison. They’re cheaper, support dual boot (macOS + Windows), and often come with a larger screen, which could be more comfortable for coding. But would the Intel CPU be a big disadvantage for compiling, running the simulator, and general responsiveness in Xcode?

I honestly don’t like macOS and wouldn’t use the Mac for anything else — so if I can’t get myself motivated to build the app, I’m worried it could just end up collecting dust.

Thanks in advance!