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

Xcode Documentation

Posts under Xcode subtopic

Post

Replies

Boosts

Views

Activity

No identity found: Command CodeSign failed with a nonzero exit code
Hello! I'm new to xcode and am developing an iOS app. I hit the following error when build my app: MY_SHA no identity found Command CodeSign failed with a nonzero exit code I have generated my certificate through xcode. I can see the Certificate and the private key in Keychain -> login. But it's not that private key is under the Certificate. They are listed in parallel. The certificate appears in Certificate tab but not in My Certificate Tab. Would that matter? security find-certificate -a -Z | grep -A1 "Apple Development" Gives me the certificate. But security find-identity -v -p codesigning give 0 valid identity found. Could you help me figure out what could be the reason for this? I've been stuck for several days now. Thank you so much!
3
3
441
Aug ’26
NavigationBarBackButtonHidden(true) does not suppress system back button when a custom ToolbarItem is present — two back buttons render
When a view combines .navigationBarBackButtonHidden(true) with a custom ToolbarItem(placement: .navigationBarLeading) back button, both controls render side by side in the navigation bar — the system back button is not fully suppressed, only visually emptied. This appears to be related to the new Liquid Glass toolbar platter system introduced this cycle. Environment Xcode 27 beta 3 iOS Version : 27.0 Reproduces on: Simulator 16.0 (1063.4) SimulatorKit 955.7 CoreSimulator 1168 Steps to Reproduce Create a NavigationStack with a root view and a pushed detail view. On the detail view, set .navigationBarBackButtonHidden(true). Also add a custom back button via .toolbar { ToolbarItem(placement: .navigationBarLeading) { Button { dismiss() } label: { HStack { Image(systemName: "chevron.backward"); Text("Back") } } } }. Expected Result Only the custom "Back" button (chevron + text) is visible. Actual Result Two back-button-shaped controls appear side by side: an empty/default system back button platter, and the custom "Back" button. Confirmed via Xcode's View Debugger (Debug ▸ View Debugging ▸ Capture View Hierarchy): two sibling UIPlatformGlassInteractionView nodes exist under NavigationBarPlatterContainer_v2 ▸ PlatterContainerHostingView. One wraps a bare, unlabeled _UIButtonBarButton (the system-generated back control); the other wraps a BarItemView containing the app's custom Button (chevron + "Back" text). Both are laid out as independent glass platters rather than being merged into one leading toolbar group. Minimal Reproducible Project Attached: [BackButtonDuplicationRepro.zip] — a stripped-down single-screen repro isolating just this behavior (no navigation stack customization, no third-party code). Related report This looks like the same underlying issue as thread 812048 ("Toolbar Rendering Bug — ToolbarItem Duplication when Back Button Hidden"), which an Apple DTS engineer has already responded to requesting a reproducible project — hopefully this attached project + View Debugger evidence helps move that along. Also potentially related: thread 814816 (hidesSharedBackground not working for backBarButtonItem), which points at the same general area of the new Liquid Glass toolbar/platter system.
0
0
252
Aug ’26
. iOS forum post (ios-push-forum-post.md) — a complete, well-structured writeup covering:
The exact symptom (register() succeeds, no token, no error, stuck forever) Your full environment (Capacitor 8, real device, Xcode/sandbox build, .p8 key) Everything you've already verified (all 10 checks — permission, entitlement, capability, App ID, key, fresh profile, real device, reinstalls) so nobody wastes your time re-asking The relevant console noise (DownloadFailed, sandbox extension) Four specific questions to get useful answers fast
0
0
260
Aug ’26
Xcode crashes on every launch and is completely unusable.
I just upgraded MacOS to Tahoe 26.6.1, and upgraded XCode too. Then Xcode crashes on every launch and is completely unusable. Translated Report (Full Report Below) ------------------------------------- Process: Xcode [1718] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 26.6 (24959) Build Info: IDEApplication-24959000000000000~2 (17F113) Code Type: ARM-64 (Native) Role: Background Parent Process: launchd [1] Coalition: com.apple.dt.Xcode [917] User ID: 502 Date/Time: 2026-08-13 11:26:33.1318 +0800 Launch Time: 2026-08-13 11:26:33.0308 +0800 Hardware Model: Mac16,8 OS Version: macOS 26.6.1 (25G76) Release Type: User Crash Reporter Key: ED18B1CA-EA9C-0657-0CF1-1EFA8C60919E Incident Identifier: 8350CBBA-0B41-4A77-B262-CD0662709FB1 Time Awake Since Boot: 47 seconds System Integrity Protection: disabled Triggered by Thread: 0, Dispatch Queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 6, Abort trap: 6 Terminating Process: Xcode [1718] Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x1843745e8 __pthread_kill + 8 1 libsystem_pthread.dylib 0x1843af8d8 pthread_kill + 296 2 libsystem_c.dylib 0x1842b5978 abort + 148 3 libsystem_c.dylib 0x1842b5a94 abort_report_np + 84 4 Xcode 0x102624ed0 main.cold.1 + 36 5 Xcode 0x102624e1c main + 340 6 dyld 0x183fe44e4 start + 6992 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000 x4: 0x0000000000000073 x5: 0x000000000000002e x6: 0x000000016d7db278 x7: 0x0000000000000000 x8: 0x61cbe9e2533f85e8 x9: 0x61cbe9e3a3e16468 x10: 0x0000000000000002 x11: 0x00000000fffffffd x12: 0x0000000000000000 x13: 0x0000000000000000 x14: 0x0000000000000000 x15: 0x0000000000000000 x16: 0x0000000000000148 x17: 0x00000001f242f400 x18: 0x0000000000000000 x19: 0x0000000000000006 x20: 0x0000000000000103 x21: 0x00000001f0dee260 x22: 0x0000000102d5cbe0 x23: 0x00000001f0df5908 x24: 0x0000000000000001 x25: 0x000000016d7db6d0 x26: 0x00000001f0defa70 x27: 0x0000000000000000 x28: 0x0000000000000000 fp: 0x000000016d7db3f0 lr: 0x00000001843af8d8 sp: 0x000000016d7db3d0 pc: 0x00000001843745e8 cpsr: 0x40000000 far: 0x0000000000000000 esr: 0x56000080 (Syscall) Binary Images: 0x102624000 - 0x102627fff com.apple.dt.Xcode (26.6) <8025d4bb-71ea-3f57-bade-2e3c847b6cf3> /Applications/Xcode.app/Contents/MacOS/Xcode 0x18436b000 - 0x1843a82e7 libsystem_kernel.dylib (*) <7cfb3a10-adb2-32c4-99b5-922a111b3224> /usr/lib/system/libsystem_kernel.dylib 0x1843a9000 - 0x1843b5b3b libsystem_pthread.dylib (*) <12342372-0084-37a5-9ea6-2e4dc940c685> /usr/lib/system/libsystem_pthread.dylib 0x18423d000 - 0x1842be1e7 libsystem_c.dylib (*) <fdc4e366-5c14-3a1e-bc35-d933d28cdcf3> /usr/lib/system/libsystem_c.dylib 0x183fc4000 - 0x1840774ff dyld (*) <df42dd9d-ad11-33a7-8849-9ad5df30a274> /usr/lib/dyld 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
3
0
839
Aug ’26
Getting Gemini 3.5 or 3.6 Flash to work with Xcode 27 Beta
I've been trying for months to get Gemini 3.5 Flash to work with Xcode 27 Beta (1-3) agentic coding but have failed. Xcode currently uses Gemini CLI v0.42.0 from last year, so it can't call Gemini 3.5 Flash even though all that needs to change is a few characters in the API call. Gemini users are currently forced to choose between 3.1 Pro and 3.1 Flash Preview--both weren't the best choices two months ago, but with the release of 3.6 Flash which is better at coding that 3.1 Pro and miles cheaper, these choices are now unsuitable for any serious workload. I live in Hong Kong, where OpenAI and Anthropic services aren't offered, so Google is the only (native) AI provider for Xcode agentic coding. The cost issue from funneling all the work into 3.1 Pro is terrible especially with some agent bugs that have yet to be ironed out. Given Apple's close partnership with Google on AI, I'm genuinely surprised that after 4 Betas we're still using a Gemini CLI from 2025 that forces users to choose between two very unappealing models. Xcode is basically forcing Google users to switch to OpenAI/Anthropic. Questions: I'd like to know if this will be fixed soon and whether Google users should expect slower updates (i.e. be forced to use older models). Does anyone know of any workarounds?
4
0
630
Aug ’26
App Store submission blocked after Xcode 27 beta / macOS update
I am experiencing an App Store submission issue after updating my Mac development environment. A build of my iOS app can be uploaded and appears in App Store Connect/TestFlight, but when I try to use the build for App Review, it is rejected because it was built using a beta version of Xcode. I am currently using Xcode 27 beta because of the macOS environment installed on this Mac. I have been advised that I may need to return the Mac to a stable macOS/Xcode environment and rebuild the app. This is particularly concerning because the app and its development data already exist on this Mac, and reverting the development environment may require a full backup and OS reinstallation. I would like to know: What is the officially supported procedure to return to a stable macOS and Xcode environment without losing development data? Which stable Xcode version should be used to rebuild the app for App Store submission? Is there any supported way to submit the existing build, or must it be rebuilt completely with a non-beta Xcode? I would also like to know whether other developers using the current beta environment are experiencing the same App Store Connect submission restriction. I would also like clarification regarding responsibility and remediation in this situation. If a development environment provided through Apple’s software update or beta distribution results in an existing application becoming unable to be submitted to App Store Connect, what responsibility does Apple assume for the resulting disruption to developers? In particular, if resolving the issue requires backing up development data, reinstalling macOS, reinstalling Xcode, and rebuilding the application, does Apple provide an official recovery procedure or support for developers affected by this situation? I believe this is important not only for my application, but also for other developers who may encounter the same issue. I would appreciate an official clarification from Apple regarding both the technical solution and Apple’s policy for developers affected by this problem. Thank you.
2
0
494
Aug ’26
Is there a real Swift Package Manager Registry in existence?
I would like to be able to use an SPM registry to access the various open source packages that my app uses. I want to do this so that I can use JFrog's Artifactory as a registry proxy, and manage my app's dependencies through it. I've found an announcement in 2019 that GitHub Package Registry was going to support Swift packages, but I have found no newer info. All the other things I've found which call themselves Swift package registries do not conform to SE-0292. Are there any public SPM registries? Will there be any in the near future?
3
0
1.6k
Aug ’26
Abnormal BOOL value only in iOS 18 Simulator after upgrading Xcode 16 & iOS 18 SDK
After upgrading to Xcode 16 and iOS 18 SDK, my Objective-C project has serious BOOL value errors only on iOS 18 Simulator. The same code works perfectly on real iPhone devices and Mac Catalyst. When getting BOOL return values from methods or assigning system API results to BOOL properties, it generates unexpected negative large numbers. Since C language treats all non-zero values as true in if() judgment, our business logic is completely broken. Could you please explain what underlying changes in iOS 18 Simulator or Xcode 16 compiler caused this BOOL parsing problem? Thank you.
1
0
257
Aug ’26
Instruments fails while processing SwiftUI recording
I’m seeing a consistent Instruments error after recording a SwiftUI profile: “Failed to stop recording session: Data Providers emitted errors: Required” The recording itself starts and runs normally. The error appears only after I stop recording, while Instruments is processing the trace. No profiling results are produced. Environment: Xcode 27.0 beta 5 (27A5237l) Instruments 27.0 (27A5237l) Physical iOS device running the latest beta I can reproduce this consistently using the SwiftUI template. I’ve also tried updating Instruments and restarting the tools, but the issue remains. Expected: The trace finishes processing and displays the collected data. Actual: Processing fails with the data-provider error above.
1
0
435
Aug ’26
Cannot Log Into CloudKit Dashboard Using My Mac
I use my fingerprint to attempt to log in, but the spinner just spins and a file is downloaded to my Download folder with the title icloud.developer.apple.com with zero bytes. I've cleared cookies and cache, but it doesn't help. I can get to CloudKit Dashboard via Xcode in the Signings and Capabilities tab, but I never had to do it this way. I've been doing it via the Mac.
1
0
405
Aug ’26
Coding Assistant autocomplete breaks with many Swift packages
I’m seeing a reproducible issue in both Xcode 26 and Xcode 27 where Coding Assistant appears to stop autocompleting when a project contains a larger number of Swift Package dependencies. Symptoms: Autocomplete suggestions from Coding Assistant stop appearing. File targeting with @ stops working. The issue typically appears shortly after opening the project If I start a brand-new chat immediately after opening the project, Coding Assistant sometimes works briefly before failing Reducing or removing Swift Package dependencies fixes the issue I’ve created a sample project that reproduces the problem and have also filed Feedback Assistant report: FB23341243 The issue seems related to package count or project complexity rather than any specific package, although I haven’t yet identified the exact threshold that triggers it. Has anyone else run into this or has anyone found a workaround?
2
3
688
Aug ’26
Unable to sign into sandbox account on simulator / device hub
Hi, I am unable to sign into the sandbox account on the simulator. Settings > Developer > Sandbox Apple Account > Sign in Xcode: 26.6 (17F113) Xcode Simulator: 16.0 (1063.4) I have even tried on Device Hub on Xcode 27. I vaguely remember being able to sign into the simulator using Questions: Is anyone able to sign into Sandbox account on the simulator / device hub? Is there any workaround? Is this a known issue?
2
0
675
Aug ’26
Unable to install apps from Xcode 26.6 to some iPhones and iPads
Recently, with Xcode 26.6, we've been unable to install apps on some physical devices (iPhone, iPad). Some devices work fine. An alert saying "Install Application not available" appears. I reported it through Feedback Assistant, but someone from Apple replied that it's an issue with Xcode 27.0 beta and told me to install the latest Xcode 27. However, I'm actually using Xcode 26.6. The issue is still unresolved, so if anyone learns anything, I'd appreciate it if you could share an update.
1
1
518
Aug ’26
Unable to launch tests in Xcode 26
I am trying to upgrade my app to use Xcode 26 and I cannot get my tests to launch. I am trying to launch tests to the simulator, and I always get this error after 300 second timeout: "encountered an error (The test runner hung before establishing connection.)" There are no other errors getting logged. I can run to the same simulator just fine, and in Xcode 16 the tests launch with no issues. The tests also run fine on an actual iPhone. Thanks in advance.
11
5
1.3k
Aug ’26
Xcode 16 is running on an iPhone 7 with iOS 12.1.3. The application fails to open normally and crashes immediately upon startup.
I am currently using Xcode 16 (16A242d) and testing on an iPhone 7 running iOS 12.1.3. However, when I try to launch the app on the device, it crashes immediately. Below are the crash logs from the iPhone 7: 错误 11:54:55.731858+0800 kernel Sandbox: assertiond(62) System Policy: deny(1) file-read-metadata /private/var/mobile/Library/DuetExpertCenter/caches/ATXCacheFile-_ATXAppPredictor-TotalScore 错误 11:54:55.731897+0800 kernel Sandbox: assertiond(62) System Policy: deny(1) file-read-metadata /private/var/mobile/Library/DuetExpertCenter/caches 错误 11:54:55.754498+0800 kernel Sandbox: duetexpertd(132) deny(1) mach-lookup com.apple.proactive.ActionPrediction.predictions 错误 11:54:55.756102+0800 duetexpertd Unable to remove recent engagement cache file. Error: Error Domain=NSCocoaErrorDomain Code=4 UserInfo={NSFilePath=, NSUserStringVariant=, NSUnderlyingError=0x100db60a0 {Error Domain=NSPOSIXErrorDomain Code=2}} 错误 11:54:56.571640+0800 symptomsd Attempt to add an app with insufficient id, info { BKSApplicationStateAppIsFrontmost = 1; BKSApplicationStateExtensionKey = 0; SBApplicationStateDisplayIDKey = "com.igetcool.app"; SBApplicationStateKey = 8; SBApplicationStateProcessIDKey = 696; SBApplicationStateRunningReasonsKey = ( { SBApplicationStateRunningReasonAssertionIdentifierKey = UIApplicationLaunch; SBApplicationStateRunningReasonAssertionReasonKey = 10000; } ); SBMostElevatedStateForProcessID = 8; } 错误 11:54:56.829372+0800 assertiond [IGCProject:696] SyscallError: setpriority(PRIO_DARWIN_ROLE, 696, 3): No such process 错误 11:54:56.944833+0800 dasd Activity not tracked as being started, ignoring it 错误 11:55:06.153790+0800 symptomsd Attempt to add an app with insufficient id, info { BKSApplicationStateAppIsFrontmost = 1; BKSApplicationStateExtensionKey = 0; SBApplicationStateDisplayIDKey = "com.igetcool.app"; SBApplicationStateKey = 8; SBApplicationStateProcessIDKey = 697; SBMostElevatedStateForProcessID = 8; } 错误 11:55:06.430433+0800 assertiond [IGCProject:697] SyscallError: setpriority(PRIO_DARWIN_ROLE, 697, 3): No such process 错误 11:55:13.158889+0800 symptomsd Attempt to add an app with insufficient id, info { BKSApplicationStateAppIsFrontmost = 1; BKSApplicationStateExtensionKey = 0; SBApplicationStateDisplayIDKey = "com.igetcool.app"; SBApplicationStateKey = 8; SBApplicationStateProcessIDKey = 699; SBMostElevatedStateForProcessID = 8; } 错误 11:55:13.416290+0800 assertiond [IGCProject:699] SyscallError: setpriority(PRIO_DARWIN_ROLE, 699, 3): No such process I am trying to understand what is causing this issue. Even after archiving and installing the app, it still crashes. According to the official documentation, Xcode 16 is supposed to support iOS 12, but this issue persists. I would like to know the possible reasons for this behavior.
1
0
954
Aug ’26
26.6.2 (25G83) with Xcode Version 26.6 (17F113) can't find AI components
26.6.2 (25G83) with Xcode Version 26.6 (17F113) can't find AI components What's up
Replies
0
Boosts
0
Views
58
Activity
Aug ’26
No identity found: Command CodeSign failed with a nonzero exit code
Hello! I'm new to xcode and am developing an iOS app. I hit the following error when build my app: MY_SHA no identity found Command CodeSign failed with a nonzero exit code I have generated my certificate through xcode. I can see the Certificate and the private key in Keychain -> login. But it's not that private key is under the Certificate. They are listed in parallel. The certificate appears in Certificate tab but not in My Certificate Tab. Would that matter? security find-certificate -a -Z | grep -A1 "Apple Development" Gives me the certificate. But security find-identity -v -p codesigning give 0 valid identity found. Could you help me figure out what could be the reason for this? I've been stuck for several days now. Thank you so much!
Replies
3
Boosts
3
Views
441
Activity
Aug ’26
NavigationBarBackButtonHidden(true) does not suppress system back button when a custom ToolbarItem is present — two back buttons render
When a view combines .navigationBarBackButtonHidden(true) with a custom ToolbarItem(placement: .navigationBarLeading) back button, both controls render side by side in the navigation bar — the system back button is not fully suppressed, only visually emptied. This appears to be related to the new Liquid Glass toolbar platter system introduced this cycle. Environment Xcode 27 beta 3 iOS Version : 27.0 Reproduces on: Simulator 16.0 (1063.4) SimulatorKit 955.7 CoreSimulator 1168 Steps to Reproduce Create a NavigationStack with a root view and a pushed detail view. On the detail view, set .navigationBarBackButtonHidden(true). Also add a custom back button via .toolbar { ToolbarItem(placement: .navigationBarLeading) { Button { dismiss() } label: { HStack { Image(systemName: "chevron.backward"); Text("Back") } } } }. Expected Result Only the custom "Back" button (chevron + text) is visible. Actual Result Two back-button-shaped controls appear side by side: an empty/default system back button platter, and the custom "Back" button. Confirmed via Xcode's View Debugger (Debug ▸ View Debugging ▸ Capture View Hierarchy): two sibling UIPlatformGlassInteractionView nodes exist under NavigationBarPlatterContainer_v2 ▸ PlatterContainerHostingView. One wraps a bare, unlabeled _UIButtonBarButton (the system-generated back control); the other wraps a BarItemView containing the app's custom Button (chevron + "Back" text). Both are laid out as independent glass platters rather than being merged into one leading toolbar group. Minimal Reproducible Project Attached: [BackButtonDuplicationRepro.zip] — a stripped-down single-screen repro isolating just this behavior (no navigation stack customization, no third-party code). Related report This looks like the same underlying issue as thread 812048 ("Toolbar Rendering Bug — ToolbarItem Duplication when Back Button Hidden"), which an Apple DTS engineer has already responded to requesting a reproducible project — hopefully this attached project + View Debugger evidence helps move that along. Also potentially related: thread 814816 (hidesSharedBackground not working for backBarButtonItem), which points at the same general area of the new Liquid Glass toolbar/platter system.
Replies
0
Boosts
0
Views
252
Activity
Aug ’26
Where is the "Show live issues" preference in Xcode 27 beta 5?
I can't find the "Show live issues" that was under "General > Issues > Show live issues [toggle]" It is present in Xcode 26.6 but not in Xcode 27 beta 5
Replies
0
Boosts
0
Views
133
Activity
Aug ’26
. iOS forum post (ios-push-forum-post.md) — a complete, well-structured writeup covering:
The exact symptom (register() succeeds, no token, no error, stuck forever) Your full environment (Capacitor 8, real device, Xcode/sandbox build, .p8 key) Everything you've already verified (all 10 checks — permission, entitlement, capability, App ID, key, fresh profile, real device, reinstalls) so nobody wastes your time re-asking The relevant console noise (DownloadFailed, sandbox extension) Four specific questions to get useful answers fast
Replies
0
Boosts
0
Views
260
Activity
Aug ’26
Xcode crashes on every launch and is completely unusable.
I just upgraded MacOS to Tahoe 26.6.1, and upgraded XCode too. Then Xcode crashes on every launch and is completely unusable. Translated Report (Full Report Below) ------------------------------------- Process: Xcode [1718] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 26.6 (24959) Build Info: IDEApplication-24959000000000000~2 (17F113) Code Type: ARM-64 (Native) Role: Background Parent Process: launchd [1] Coalition: com.apple.dt.Xcode [917] User ID: 502 Date/Time: 2026-08-13 11:26:33.1318 +0800 Launch Time: 2026-08-13 11:26:33.0308 +0800 Hardware Model: Mac16,8 OS Version: macOS 26.6.1 (25G76) Release Type: User Crash Reporter Key: ED18B1CA-EA9C-0657-0CF1-1EFA8C60919E Incident Identifier: 8350CBBA-0B41-4A77-B262-CD0662709FB1 Time Awake Since Boot: 47 seconds System Integrity Protection: disabled Triggered by Thread: 0, Dispatch Queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 6, Abort trap: 6 Terminating Process: Xcode [1718] Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x1843745e8 __pthread_kill + 8 1 libsystem_pthread.dylib 0x1843af8d8 pthread_kill + 296 2 libsystem_c.dylib 0x1842b5978 abort + 148 3 libsystem_c.dylib 0x1842b5a94 abort_report_np + 84 4 Xcode 0x102624ed0 main.cold.1 + 36 5 Xcode 0x102624e1c main + 340 6 dyld 0x183fe44e4 start + 6992 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000 x4: 0x0000000000000073 x5: 0x000000000000002e x6: 0x000000016d7db278 x7: 0x0000000000000000 x8: 0x61cbe9e2533f85e8 x9: 0x61cbe9e3a3e16468 x10: 0x0000000000000002 x11: 0x00000000fffffffd x12: 0x0000000000000000 x13: 0x0000000000000000 x14: 0x0000000000000000 x15: 0x0000000000000000 x16: 0x0000000000000148 x17: 0x00000001f242f400 x18: 0x0000000000000000 x19: 0x0000000000000006 x20: 0x0000000000000103 x21: 0x00000001f0dee260 x22: 0x0000000102d5cbe0 x23: 0x00000001f0df5908 x24: 0x0000000000000001 x25: 0x000000016d7db6d0 x26: 0x00000001f0defa70 x27: 0x0000000000000000 x28: 0x0000000000000000 fp: 0x000000016d7db3f0 lr: 0x00000001843af8d8 sp: 0x000000016d7db3d0 pc: 0x00000001843745e8 cpsr: 0x40000000 far: 0x0000000000000000 esr: 0x56000080 (Syscall) Binary Images: 0x102624000 - 0x102627fff com.apple.dt.Xcode (26.6) <8025d4bb-71ea-3f57-bade-2e3c847b6cf3> /Applications/Xcode.app/Contents/MacOS/Xcode 0x18436b000 - 0x1843a82e7 libsystem_kernel.dylib (*) <7cfb3a10-adb2-32c4-99b5-922a111b3224> /usr/lib/system/libsystem_kernel.dylib 0x1843a9000 - 0x1843b5b3b libsystem_pthread.dylib (*) <12342372-0084-37a5-9ea6-2e4dc940c685> /usr/lib/system/libsystem_pthread.dylib 0x18423d000 - 0x1842be1e7 libsystem_c.dylib (*) <fdc4e366-5c14-3a1e-bc35-d933d28cdcf3> /usr/lib/system/libsystem_c.dylib 0x183fc4000 - 0x1840774ff dyld (*) <df42dd9d-ad11-33a7-8849-9ad5df30a274> /usr/lib/dyld 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
Replies
3
Boosts
0
Views
839
Activity
Aug ’26
Getting Gemini 3.5 or 3.6 Flash to work with Xcode 27 Beta
I've been trying for months to get Gemini 3.5 Flash to work with Xcode 27 Beta (1-3) agentic coding but have failed. Xcode currently uses Gemini CLI v0.42.0 from last year, so it can't call Gemini 3.5 Flash even though all that needs to change is a few characters in the API call. Gemini users are currently forced to choose between 3.1 Pro and 3.1 Flash Preview--both weren't the best choices two months ago, but with the release of 3.6 Flash which is better at coding that 3.1 Pro and miles cheaper, these choices are now unsuitable for any serious workload. I live in Hong Kong, where OpenAI and Anthropic services aren't offered, so Google is the only (native) AI provider for Xcode agentic coding. The cost issue from funneling all the work into 3.1 Pro is terrible especially with some agent bugs that have yet to be ironed out. Given Apple's close partnership with Google on AI, I'm genuinely surprised that after 4 Betas we're still using a Gemini CLI from 2025 that forces users to choose between two very unappealing models. Xcode is basically forcing Google users to switch to OpenAI/Anthropic. Questions: I'd like to know if this will be fixed soon and whether Google users should expect slower updates (i.e. be forced to use older models). Does anyone know of any workarounds?
Replies
4
Boosts
0
Views
630
Activity
Aug ’26
App Store submission blocked after Xcode 27 beta / macOS update
I am experiencing an App Store submission issue after updating my Mac development environment. A build of my iOS app can be uploaded and appears in App Store Connect/TestFlight, but when I try to use the build for App Review, it is rejected because it was built using a beta version of Xcode. I am currently using Xcode 27 beta because of the macOS environment installed on this Mac. I have been advised that I may need to return the Mac to a stable macOS/Xcode environment and rebuild the app. This is particularly concerning because the app and its development data already exist on this Mac, and reverting the development environment may require a full backup and OS reinstallation. I would like to know: What is the officially supported procedure to return to a stable macOS and Xcode environment without losing development data? Which stable Xcode version should be used to rebuild the app for App Store submission? Is there any supported way to submit the existing build, or must it be rebuilt completely with a non-beta Xcode? I would also like to know whether other developers using the current beta environment are experiencing the same App Store Connect submission restriction. I would also like clarification regarding responsibility and remediation in this situation. If a development environment provided through Apple’s software update or beta distribution results in an existing application becoming unable to be submitted to App Store Connect, what responsibility does Apple assume for the resulting disruption to developers? In particular, if resolving the issue requires backing up development data, reinstalling macOS, reinstalling Xcode, and rebuilding the application, does Apple provide an official recovery procedure or support for developers affected by this situation? I believe this is important not only for my application, but also for other developers who may encounter the same issue. I would appreciate an official clarification from Apple regarding both the technical solution and Apple’s policy for developers affected by this problem. Thank you.
Replies
2
Boosts
0
Views
494
Activity
Aug ’26
Is there a real Swift Package Manager Registry in existence?
I would like to be able to use an SPM registry to access the various open source packages that my app uses. I want to do this so that I can use JFrog's Artifactory as a registry proxy, and manage my app's dependencies through it. I've found an announcement in 2019 that GitHub Package Registry was going to support Swift packages, but I have found no newer info. All the other things I've found which call themselves Swift package registries do not conform to SE-0292. Are there any public SPM registries? Will there be any in the near future?
Replies
3
Boosts
0
Views
1.6k
Activity
Aug ’26
Abnormal BOOL value only in iOS 18 Simulator after upgrading Xcode 16 & iOS 18 SDK
After upgrading to Xcode 16 and iOS 18 SDK, my Objective-C project has serious BOOL value errors only on iOS 18 Simulator. The same code works perfectly on real iPhone devices and Mac Catalyst. When getting BOOL return values from methods or assigning system API results to BOOL properties, it generates unexpected negative large numbers. Since C language treats all non-zero values as true in if() judgment, our business logic is completely broken. Could you please explain what underlying changes in iOS 18 Simulator or Xcode 16 compiler caused this BOOL parsing problem? Thank you.
Replies
1
Boosts
0
Views
257
Activity
Aug ’26
Instruments fails while processing SwiftUI recording
I’m seeing a consistent Instruments error after recording a SwiftUI profile: “Failed to stop recording session: Data Providers emitted errors: Required” The recording itself starts and runs normally. The error appears only after I stop recording, while Instruments is processing the trace. No profiling results are produced. Environment: Xcode 27.0 beta 5 (27A5237l) Instruments 27.0 (27A5237l) Physical iOS device running the latest beta I can reproduce this consistently using the SwiftUI template. I’ve also tried updating Instruments and restarting the tools, but the issue remains. Expected: The trace finishes processing and displays the collected data. Actual: Processing fails with the data-provider error above.
Replies
1
Boosts
0
Views
435
Activity
Aug ’26
Cannot Log Into CloudKit Dashboard Using My Mac
I use my fingerprint to attempt to log in, but the spinner just spins and a file is downloaded to my Download folder with the title icloud.developer.apple.com with zero bytes. I've cleared cookies and cache, but it doesn't help. I can get to CloudKit Dashboard via Xcode in the Signings and Capabilities tab, but I never had to do it this way. I've been doing it via the Mac.
Replies
1
Boosts
0
Views
405
Activity
Aug ’26
App Startup with Debugger in Xcode 26 is slow
My app start up has became horrid. It takes 1 minute to open SQLlite database for my rust core. Impossible to work... I have Address Sanitizer, Thread Perf Checker and Thread Sanitizer disabled...
Replies
27
Boosts
6
Views
4.5k
Activity
Aug ’26
Coding Assistant autocomplete breaks with many Swift packages
I’m seeing a reproducible issue in both Xcode 26 and Xcode 27 where Coding Assistant appears to stop autocompleting when a project contains a larger number of Swift Package dependencies. Symptoms: Autocomplete suggestions from Coding Assistant stop appearing. File targeting with @ stops working. The issue typically appears shortly after opening the project If I start a brand-new chat immediately after opening the project, Coding Assistant sometimes works briefly before failing Reducing or removing Swift Package dependencies fixes the issue I’ve created a sample project that reproduces the problem and have also filed Feedback Assistant report: FB23341243 The issue seems related to package count or project complexity rather than any specific package, although I haven’t yet identified the exact threshold that triggers it. Has anyone else run into this or has anyone found a workaround?
Replies
2
Boosts
3
Views
688
Activity
Aug ’26
Unable to sign into sandbox account on simulator / device hub
Hi, I am unable to sign into the sandbox account on the simulator. Settings > Developer > Sandbox Apple Account > Sign in Xcode: 26.6 (17F113) Xcode Simulator: 16.0 (1063.4) I have even tried on Device Hub on Xcode 27. I vaguely remember being able to sign into the simulator using Questions: Is anyone able to sign into Sandbox account on the simulator / device hub? Is there any workaround? Is this a known issue?
Replies
2
Boosts
0
Views
675
Activity
Aug ’26
Unable to install apps from Xcode 26.6 to some iPhones and iPads
Recently, with Xcode 26.6, we've been unable to install apps on some physical devices (iPhone, iPad). Some devices work fine. An alert saying "Install Application not available" appears. I reported it through Feedback Assistant, but someone from Apple replied that it's an issue with Xcode 27.0 beta and told me to install the latest Xcode 27. However, I'm actually using Xcode 26.6. The issue is still unresolved, so if anyone learns anything, I'd appreciate it if you could share an update.
Replies
1
Boosts
1
Views
518
Activity
Aug ’26
Unable to launch tests in Xcode 26
I am trying to upgrade my app to use Xcode 26 and I cannot get my tests to launch. I am trying to launch tests to the simulator, and I always get this error after 300 second timeout: "encountered an error (The test runner hung before establishing connection.)" There are no other errors getting logged. I can run to the same simulator just fine, and in Xcode 16 the tests launch with no issues. The tests also run fine on an actual iPhone. Thanks in advance.
Replies
11
Boosts
5
Views
1.3k
Activity
Aug ’26
Can not see crash report from Xcode organizer
Xcode 26.6 It's showing crashes from the App Store Analytics. But no crash logs from Xcode Organizer. I have tried to sign out and log in to Xcode again. I also changed the folder /Library/Developer/Xcode/Products and View > Reload the Organizer. Nothing helps. It's still empty for all versions.
Replies
10
Boosts
7
Views
1.4k
Activity
Aug ’26
Xcode26.6 + WDA 自动化测试
Can iOS 26.6 + Xcode 26.6 be used for automated testing? Are there any successful case studies?
Replies
0
Boosts
0
Views
158
Activity
Aug ’26
Xcode 16 is running on an iPhone 7 with iOS 12.1.3. The application fails to open normally and crashes immediately upon startup.
I am currently using Xcode 16 (16A242d) and testing on an iPhone 7 running iOS 12.1.3. However, when I try to launch the app on the device, it crashes immediately. Below are the crash logs from the iPhone 7: 错误 11:54:55.731858+0800 kernel Sandbox: assertiond(62) System Policy: deny(1) file-read-metadata /private/var/mobile/Library/DuetExpertCenter/caches/ATXCacheFile-_ATXAppPredictor-TotalScore 错误 11:54:55.731897+0800 kernel Sandbox: assertiond(62) System Policy: deny(1) file-read-metadata /private/var/mobile/Library/DuetExpertCenter/caches 错误 11:54:55.754498+0800 kernel Sandbox: duetexpertd(132) deny(1) mach-lookup com.apple.proactive.ActionPrediction.predictions 错误 11:54:55.756102+0800 duetexpertd Unable to remove recent engagement cache file. Error: Error Domain=NSCocoaErrorDomain Code=4 UserInfo={NSFilePath=, NSUserStringVariant=, NSUnderlyingError=0x100db60a0 {Error Domain=NSPOSIXErrorDomain Code=2}} 错误 11:54:56.571640+0800 symptomsd Attempt to add an app with insufficient id, info { BKSApplicationStateAppIsFrontmost = 1; BKSApplicationStateExtensionKey = 0; SBApplicationStateDisplayIDKey = "com.igetcool.app"; SBApplicationStateKey = 8; SBApplicationStateProcessIDKey = 696; SBApplicationStateRunningReasonsKey = ( { SBApplicationStateRunningReasonAssertionIdentifierKey = UIApplicationLaunch; SBApplicationStateRunningReasonAssertionReasonKey = 10000; } ); SBMostElevatedStateForProcessID = 8; } 错误 11:54:56.829372+0800 assertiond [IGCProject:696] SyscallError: setpriority(PRIO_DARWIN_ROLE, 696, 3): No such process 错误 11:54:56.944833+0800 dasd Activity not tracked as being started, ignoring it 错误 11:55:06.153790+0800 symptomsd Attempt to add an app with insufficient id, info { BKSApplicationStateAppIsFrontmost = 1; BKSApplicationStateExtensionKey = 0; SBApplicationStateDisplayIDKey = "com.igetcool.app"; SBApplicationStateKey = 8; SBApplicationStateProcessIDKey = 697; SBMostElevatedStateForProcessID = 8; } 错误 11:55:06.430433+0800 assertiond [IGCProject:697] SyscallError: setpriority(PRIO_DARWIN_ROLE, 697, 3): No such process 错误 11:55:13.158889+0800 symptomsd Attempt to add an app with insufficient id, info { BKSApplicationStateAppIsFrontmost = 1; BKSApplicationStateExtensionKey = 0; SBApplicationStateDisplayIDKey = "com.igetcool.app"; SBApplicationStateKey = 8; SBApplicationStateProcessIDKey = 699; SBMostElevatedStateForProcessID = 8; } 错误 11:55:13.416290+0800 assertiond [IGCProject:699] SyscallError: setpriority(PRIO_DARWIN_ROLE, 699, 3): No such process I am trying to understand what is causing this issue. Even after archiving and installing the app, it still crashes. According to the official documentation, Xcode 16 is supposed to support iOS 12, but this issue persists. I would like to know the possible reasons for this behavior.
Replies
1
Boosts
0
Views
954
Activity
Aug ’26