Build, test, and submit your app using Xcode, Apple's integrated development environment.

Xcode Documentation

Posts under Xcode subtopic

Post

Replies

Boosts

Views

Activity

xcode and audioplayers module
Hi! A few months ago my flutter project was building successfully and then suddenly stopped working after an xcode update. In the latest attempt to build, I see error message Module ‘audioplayers’ not found (in target ‘Runner’ from project ‘Runner’). Thank you in advance for any help! Flutter version: Flutter 3.3.0-0.5.pre • channel beta Xcode version: 16.3 Target ios version: ios 12.0
1
0
27
3w
Xcode Bete -- Not Updating To New Look?
Downloaded XCode Beta Version 26.0 beta (17A5241e). However the user interface is the same as public release Xcode. No Glassy tab navigation or LLM interface.. Also Foundation Models Framework unavailable or cannot be found. PLEASE HELP!?? Am I missing a configuration? What are the steps to get this working. I am on the latest Mac Sequoia 15.5 OS.
1
0
110
3w
Icon Composer questions...
This is the Icon Composer from Xcode 26.0 Beta 1 (not the really old one Xcode6? 😆 that I find when I search here) Is there a way to show the really cool 3D that they showed off during demos? Maybe all we get is which level is on top. Upon export it only seems to be able to do 2x? - is there some way to get it to take 1x? Every time I change it - it jumps back to 2x and iOS wants 1x... maybe a feedback. Also Xcode seems to want 3 icons - but there are 6 iOS ones exported. How do I get the other 3 in there? It does seem pretty easy to import PNG's from Sketch and order them and move pieces around. I guess you can save individual lighting for each icon mode.
5
0
230
3w
Can AI Chats in Xcode 26 be Placed In Version Control
Maybe this is a feature request or a toggle that I'm missing. I am currently using the beta and realized that conversations in the left column aren't saved with code commits. Is it possible to save/attach conversations or specific conversations to a PR, even as a separate/exported artifact? The goal is to save the history of those AI chats on commit.
1
0
43
3w
Library not loaded: /usr/lib/swift/libswiftWebKit.dylib
I'm encountering an issue when trying to run the iOS Simulator 18.4 or newer with Xcode 16.4 and later, including beta versions like Xcode 26 beta. The simulator fails to launch with the following error: dyld[50998]: Library not loaded: /usr/lib/swift/libswiftWebKit.dylib Referenced from: <65B82F6E-9DAE-38B8-A416-2725E93B8830> /Users/[REDACTED]/Library/Developer/CoreSimulator/Devices/E375287B-CE5C-4436-BAF7-FC958EE1E2A2/data/Containers/Bundle/Application/94B733EB-B7E8-4020-8B37-007C55AA3647/[APP_NAME].app/[APP_NAME].debug.dylib Reason: tried: '/Users/[REDACTED]/Library/Developer/Xcode/DerivedData/[APP_NAME]-gidspjmnvitfrncaixlzyoxyqhfz/Build/Products/Debug-iphonesimulator/libswiftWebKit.dylib' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection/libswiftWebKit.dylib' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/libswiftWebKit.dylib' (no such file), '/usr/lib/swift/libswiftWebKit.dylib' (no such file, not in dyld cache), '/Library/Developer/CoreSimulator/Volumes/iOS_22F77/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libswiftWebKit.dylib' (no such file) What works: With Xcode 16.3, I can successfully run all simulators, including iOS 18.3.1 and 18.4. What fails: Starting with Xcode 16.4, only the iOS 18.3.1 simulator launches successfully. Attempting to run iOS 18.4 or 18.5 results in the above error. What I've tried: Cleaned build folder Deleted derived data Reset and reinstalled simulators via Xcode’s Devices & Simulators window Reinstalled Xcode entirely (including command line tools) Has anyone else experienced this issue with Xcode 16.4+ and iOS 18.4+ simulators? Any known workarounds or fixes? Thanks in advance for any help!
1
0
143
3w
Predictive Code Completion Fails to Install (Apple Silicon M1 Max) - macOS 26.0 Beta (25A5279m) & Xcode 16.4 (16F6)
The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.) Domain: ModelCatalog.CatalogErrors.AssetErrors Code: 1 User Info: { DVTErrorCreationDateKey = "2025-06-10 13:33:43 +0000"; } Failed to find asset: com.apple.gm.safety_deny.input.code_intelligence.base.generic - no asset Domain: ModelCatalog.CatalogErrors.AssetErrors Code: 1
1
0
71
3w
iOS 26 Simulator - Extreme Memory Usage on M1 Pro
Hi everyone, Is anyone else seeing massive memory usage with the iOS 26 simulator? On my M1 Pro MacBook Pro (16GB RAM) running macOS 26, the simulator consumes all available memory, making my Mac extremely slow. This seems to be a memory leak. For comparison, the iOS 18.5 simulator runs perfectly fine and uses very little RAM. I've already tried restarting, but the issue persists. Has anyone found a workaround for this? Thanks.
3
0
84
3w
Xcode-beta project ORSOFINAL: SwiftShims & C99 PCH errors after migration from Xcode stable
Hi all, I’m running into a persistent build issue with my Swift project ORSOFINAL after migrating from Xcode stable to Xcode-beta.app (June 2025 version). ⸻ 💥 Errors displayed: 1. C99 was enabled in PCH file but is currently disabled 2. module file .../ModuleCache.noindex/SwiftShims-AXUM98L131W4...pcm cannot be loaded due to a configuration mismatch with the current compilation 3. missing required module 'SwiftShims' ⸻ 🛠 What I’ve already tried: • xcode-select -s /Applications/Xcode-beta.app/Contents/Developer • Deleted ~/Library/Developer/Xcode/DerivedData, ModuleCache.noindex, Archives, and Products • Ran sudo xcodebuild -runFirstLaunch • Clean Build Folder in Xcode-beta • Verified Command Line Tools setting points to Xcode-beta ⸻ ❓Looking for guidance on: • Whether this is a known bug in Xcode-beta • If SwiftShims/PCM conflicts are expected between versions • Best practices to safely migrate from Xcode stable to beta for Swift-based projects Any advice is much appreciated. Thanks, Mathéo
1
0
53
3w
❗️Xcode-beta: “missing required module ‘SwiftShims’” and C99 PCH conflict
Hi all, I’m running into a persistent build issue with my Swift project ORSOFINAL after migrating from Xcode stable to Xcode-beta.app 26 (June 2025 version). ⸻ 💥 Errors displayed: 1. C99 was enabled in PCH file but is currently disabled 2. module file .../ModuleCache.noindex/SwiftShims-AXUM98L131W4...pcm cannot be loaded due to a configuration mismatch with the current compilation 3. missing required module 'SwiftShims' ⸻ 🛠 What I’ve already tried: • xcode-select -s /Applications/Xcode-beta.app/Contents/Developer • Deleted ~/Library/Developer/Xcode/DerivedData, ModuleCache.noindex, Archives, and Products • Ran sudo xcodebuild -runFirstLaunch • Clean Build Folder in Xcode-beta • Verified Command Line Tools setting points to Xcode-beta ⸻ ❓Looking for guidance on: • Whether this is a known bug in Xcode-beta • If SwiftShims/PCM conflicts are expected between versions • Best practices to safely migrate from Xcode stable to beta for Swift-based projects Any advice is much appreciated. Thanks, Mathéo
1
0
47
3w
Xcode 26: Unable to get past "Automatic signing failed"
Xcode failed to provision this target. Please file a bug report at https://feedbackassistant.apple.com and include the Update Signing report from the Report navigator. Provisioning profile "iOS Team Provisioning Profile: com.OctaneBuddy.ios" doesn't include the com.apple.developer.foundation-models entitlement. Getting pretty upset at not being able to deploy and test on my phone :/ Works just fine with another project/app though.
2
1
31
3w
Scope of GPT Training in Xcode 26
Hello, I watched WWDC 25 and saw that GPT will be integrated into Xcode. This raised a question for me. As far as I know, GPT models learn from user interactions. However, the GPT terms of use mention that business accounts are excluded from training. Does this also apply to the GPT integrated into Xcode 26? I couldn’t find any information about this in the Xcode 26 beta release notes or the Apple Developer Program License Agreement. If anyone knows where this is documented, I’d really appreciate it if you could share it. Also, if any Apple staff is reading this, I’d be grateful if you could clarify whether the same non-training policy applies within Xcode. Thank you!
0
0
33
3w
Xcode 26: can’t get past the agreement acceptance pop-up
I had this happen last year too. Can’t remember how I solved the issue. I think I just had to wait and the 3rd beta opened properly. I went into terminal and accepted the Xcode agreement there, but still no go. I'm considering reinstalling MacOS because it doesn't seem like others are having this issue. Any ideas? I double click on the Xcode beta, the agreement screen pops up. I click on agree and I either double click my watch button or type in my password and then nothing. The pop-up doesn't disappear and Xcode never opens. I'm on MacOS Sequoia 15.5.
3
0
96
3w