Search results for

“xcode github”

96,025 results found

Post

Replies

Boosts

Views

Activity

Reply to Sometimes my apps crash on launch at _libsecinit_appsandbox.cold.6
Thanks, I'll do that, although I'm not very hopeful that I'll get the crash again soon (while I've been observing the crash reports downloaded by Xcode for many months). Just to be clear, should I then extract the sysdiagnose and look in the system_logs.logarchive file? In the sysdiagnose I uploaded to Feedback Assistant I can only see the last 5 minutes, is that correct?
Topic: App & System Services SubTopic: Core OS Tags:
1h
Reply to Xcode won't sign into ChatGPT Codex account anymore
You're lucky I've got 0.129.0-alpha.9 on my MMM4Pro in Xcode RC 26.5 but I can't get it on my MBPM1P in Xcode RC 26.5, but 0.120.0 is fine and signs in. on the MBPM1P in Xcode 26.4.1, I can't sign-in with that tho... So in summary on the: MacMini M4 Pro signed in to 0.129.0-alpha.9 and Codex 5.5 picked (Xcode RC 26.5) MacBook Pro M1 Pro signed in to 0.120.0 and Codex 5.4 picked, (i.e. can't get alpha.9 so can't get 5.5! even tho Xcode RC 26.5!) My problem I think is I didn't upgrade the Codex on the MBP before doing the macOS RC 26.5 + Xcode RC 26.5 (Like I did on the MacMini). And since I didn't upgrade in Xcode 26.4.1, when I did the full RC cycle, when I launched Xcode RC 26.5, it upgrade the Codex Plug-in but stopped at 0.120.0! On the MBP+Xcode RC 26.5 UGH 🤷🏻
3h
Reply to After enabling Enhaced Security the linker error Library 'c++polyfills' not found occurs (Simulator only)
Thanks for those extra titbits. Using that, I was able to reproduce the problem: Using Xcode 26.4, I created a new project from the iOS > App template, choosing Swift as the language. I set the deployment target to iOS 17.7. And chose Any iOS Simulator as the run target. I added the Enhanced Security capability and checked Enable Hardware Memory Tagging. At this point things were still building just fine. I added a new Objective-C class to the project. And lo! that triggers the problem. I then raised the deployment target up to iOS 18.6 and the problem went away. So, it seems like the combination of a simulator build for iOS 17 with MTE enabled. Interesting. That’s clearly a supported configuration, so you should definitely file a bug about this. Once you’re done, reply here with your bug number so that I can add my own internal comments to it. How much testing do you do in the iOS 17 simulator? If the answer is “None at all.” you could work around this by temporary raising the deployment target f
7h
Reply to Passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution
[quote='887212022, fbartolom, /thread/825703?answerId=887212022#887212022, /profile/fbartolom'] Unfortunately using your code … produces … Sending 'completionHandler' risks causing data races [/quote] Hmmm, it didn’t when I tested it. Lemme try that again: Using Xcode 26.4, I created a new project from the iOS > App template template. As part of that, I selected Storyboard from the Interface popup. I changed the Swift Language Version build setting to Swift 6. I added GeoreferenceQueue.swift and copied my GeoreferenceQueue to it. I added my application(_:handleEventsForBackgroundURLSession:completionHandler:) method to the AppDelegate class. It built without error. But keep in mind that my example was meant to be an expedient option. I agree with Etresoft’s comments [1] that you should step back and consider whether you want to change your overall approach. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] Well, the comments he
Topic: Programming Languages SubTopic: Swift Tags:
7h
Reply to Agents in Xcode: Codex Sign In not working
Hey Albert, thanks for your competent reply. Yes, Xcode release candidate 26.5 (17F42). I have deleted the cache. I have also deleted codex* and chatgpt* (empty) from the system keychain. No VPN connection. The problem persists. I have now switched Xcode over to use Authenticate with configuration file. It does that, but I am unsure whether the configuration file works, and I don't really know how to check. The codex* entries in keychain are back since I logged in on the Codex app. Kind regards
7h
Reply to Sending 'geoRegion' risks causing data races
[quote='887247022, Etresoft, /thread/825634?answerId=887247022#887247022, /profile/Etresoft'] Most Apple APIs, with very few exceptions … should only be called on the main thread. [/quote] I don’t agree with that summary. Ignoring Swift concurrency, I generally group Apple’s Cocoa APIs into four categories: Main thread — These are limited to the main thread, with occasional exceptions. The canonical example of this is AppKit. Thread safe — These have internal locking and can be used from any thread. A good example is NSOperationQueue. Thread or queue confined — These must be used from a specific thread (or queue) that’s not necessarily the main thread (or queue). NSRunLoop is a good example of this. Serialisation required — These have no internal locking but can be used from arbitrary threads as long as you serialise that access. A good example is NSMutableDictionary. Your summary doesn’t include the last two categories, and IME that’s the biggest group of traditional Cocoa APIs. Unfortunately it’s hard to di
Topic: Programming Languages SubTopic: Swift Tags:
8h
Reply to Xcode won't sign into ChatGPT Codex account anymore
Hi, thank you again. We were unable to reproduce this on our end with Xcode 26.4.1 and Codex 0.129.0-alpha.9, so it may be something specific to your configuration. Could you navigate to Xcode Settings → Components → Other Components → Codex and check the version listed there? It should read 0.129.0-alpha.9. If it shows a different version or indicates an update is available, try deleting it and redownloading the agent executable, then attempt signing in again. Let us know if that resolves the issue or if you're still seeing the login loop afterward, and we can dig deeper from there.
11h
static analyzer error in std::sort
I'm getting a static analysis warning on the following code. I don't think it could be my error, but I guess it's more likely a static analysis false positive than a C++ standard library bug. The warning says Method called on moved-from object of type 'std::basic_string'. Tested in Xcode 26.5 RC. Reported as FB22735405. #include #include #include #include template < class traits = std::char_traits, class Allocator = std::allocator > struct UTF8StringLess { bool operator()( const std::basic_string& inFirst, const std::basic_string& inSecond ) const; }; template inline bool UTF8StringLess::operator()( const std::basic_string& inFirst, const std::basic_string& inSecond ) const { CFStringRef theFirst = ::CFStringCreateWithCString( nullptr, inFirst.c_str(), kCFStringEncodingUTF8 ); CFStringRef theSecond = ::CFStringCreateWithCString( nullptr, inSecond.c_str(), kCFStringEncodingUTF8 ); CFComparisonResult compResult = ::CFStringCompare( theFirst, theSecond, kCFCompareCaseInsensitiv
1
0
12
13h
Xcode won't sign into ChatGPT Codex account anymore
As of May 8th, 2026, after I upgraded to codex-cli 0.129.0 via Xcode, I can no longer sign into my ChatGPT account in Xcode Intelligence Settings. The Log In window is always successful, but the settings never update to show the login being successful. It's a constant loop. Perhaps a hand-shake fail. Versions: Tahoe 26.3.1, Xcode 26.4.1, codex-cli 0.129.0.
5
0
102
14h
Reply to Agents in Xcode: Codex Sign In not working
Thank you for your post. Are you encountering the issue with the RC 26.5? I think I have seen that issue with previous version where the tokens getting stuck in your Keychain. Ensure you are actively connected without VPN or proxies. As requires a stable connection to internal services to validate the token. If your network connection dropped briefly during the auth handoff, it will fail silently and leave you in the Not Signed In state. Also can you delete any cache? In your terminal: rm -rf ~/Library/Caches/com.apple.dt.Xcode If the issue persists please let me know and we can file a bug to see the issue in Xcode 25.6 RC. Albert
  Worldwide Developer Relations.
14h
Xcode: Error downloading App Store Connect crash reports
Hello, I’m encountering an issue retrieving crash reports from the AppStore Connect using Xcode 26.4.1 (17E202). I’m signed in with multiple Apple IDs, including the one required to fetch crashes. When I select the destination application and attempt to download crashes in Organizer, a small warning icon appears in the top right corner. Clicking on it displays the following error: {AppleID email} failed with error: There was a failure decoding response: (HTTP 500, 20364 bytes) The data couldn’t be read because it isn’t in the correct format.. I already tried to remove my account and sign in again multiple times and also restarted Xcode but nothing seems to work. I wonder whether this is some new bug introduced in the latest Xcode version or rather local issue on my machine. Any help appreciated.
0
0
15
19h
Prevent Xcode from downloading Simulators
It annoys me that Xcode keeps downloading Simulators automatically, even though I haven't asked for them. Under Settings > Components > Other Installed Platforms I see iOS Simulator iOS 18.0 uptil 18.5. These are eating space in /Library/Developer/CoreSimulator/Caches/dyld/25E253. Is there a way to prevent these automatic downloads?
0
0
48
1d
Reply to Sometimes my apps crash on launch at _libsecinit_appsandbox.cold.6
Thanks, I'll do that, although I'm not very hopeful that I'll get the crash again soon (while I've been observing the crash reports downloaded by Xcode for many months). Just to be clear, should I then extract the sysdiagnose and look in the system_logs.logarchive file? In the sysdiagnose I uploaded to Feedback Assistant I can only see the last 5 minutes, is that correct?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
1h
Reply to Xcode won't sign into ChatGPT Codex account anymore
You're lucky I've got 0.129.0-alpha.9 on my MMM4Pro in Xcode RC 26.5 but I can't get it on my MBPM1P in Xcode RC 26.5, but 0.120.0 is fine and signs in. on the MBPM1P in Xcode 26.4.1, I can't sign-in with that tho... So in summary on the: MacMini M4 Pro signed in to 0.129.0-alpha.9 and Codex 5.5 picked (Xcode RC 26.5) MacBook Pro M1 Pro signed in to 0.120.0 and Codex 5.4 picked, (i.e. can't get alpha.9 so can't get 5.5! even tho Xcode RC 26.5!) My problem I think is I didn't upgrade the Codex on the MBP before doing the macOS RC 26.5 + Xcode RC 26.5 (Like I did on the MacMini). And since I didn't upgrade in Xcode 26.4.1, when I did the full RC cycle, when I launched Xcode RC 26.5, it upgrade the Codex Plug-in but stopped at 0.120.0! On the MBP+Xcode RC 26.5 UGH 🤷🏻
Replies
Boosts
Views
Activity
3h
Reply to Passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution
Also I have no Swift 6.4 version in my Swift options. As you may see in the picture, both in the official Xcode version as the beta one.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
3h
Reply to After enabling Enhaced Security the linker error Library 'c++polyfills' not found occurs (Simulator only)
Thanks for those extra titbits. Using that, I was able to reproduce the problem: Using Xcode 26.4, I created a new project from the iOS > App template, choosing Swift as the language. I set the deployment target to iOS 17.7. And chose Any iOS Simulator as the run target. I added the Enhanced Security capability and checked Enable Hardware Memory Tagging. At this point things were still building just fine. I added a new Objective-C class to the project. And lo! that triggers the problem. I then raised the deployment target up to iOS 18.6 and the problem went away. So, it seems like the combination of a simulator build for iOS 17 with MTE enabled. Interesting. That’s clearly a supported configuration, so you should definitely file a bug about this. Once you’re done, reply here with your bug number so that I can add my own internal comments to it. How much testing do you do in the iOS 17 simulator? If the answer is “None at all.” you could work around this by temporary raising the deployment target f
Replies
Boosts
Views
Activity
7h
Reply to Passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution
[quote='887212022, fbartolom, /thread/825703?answerId=887212022#887212022, /profile/fbartolom'] Unfortunately using your code … produces … Sending 'completionHandler' risks causing data races [/quote] Hmmm, it didn’t when I tested it. Lemme try that again: Using Xcode 26.4, I created a new project from the iOS > App template template. As part of that, I selected Storyboard from the Interface popup. I changed the Swift Language Version build setting to Swift 6. I added GeoreferenceQueue.swift and copied my GeoreferenceQueue to it. I added my application(_:handleEventsForBackgroundURLSession:completionHandler:) method to the AppDelegate class. It built without error. But keep in mind that my example was meant to be an expedient option. I agree with Etresoft’s comments [1] that you should step back and consider whether you want to change your overall approach. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] Well, the comments he
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
7h
Reply to Agents in Xcode: Codex Sign In not working
Hey Albert, thanks for your competent reply. Yes, Xcode release candidate 26.5 (17F42). I have deleted the cache. I have also deleted codex* and chatgpt* (empty) from the system keychain. No VPN connection. The problem persists. I have now switched Xcode over to use Authenticate with configuration file. It does that, but I am unsure whether the configuration file works, and I don't really know how to check. The codex* entries in keychain are back since I logged in on the Codex app. Kind regards
Replies
Boosts
Views
Activity
7h
Reply to Sending 'geoRegion' risks causing data races
[quote='887247022, Etresoft, /thread/825634?answerId=887247022#887247022, /profile/Etresoft'] Most Apple APIs, with very few exceptions … should only be called on the main thread. [/quote] I don’t agree with that summary. Ignoring Swift concurrency, I generally group Apple’s Cocoa APIs into four categories: Main thread — These are limited to the main thread, with occasional exceptions. The canonical example of this is AppKit. Thread safe — These have internal locking and can be used from any thread. A good example is NSOperationQueue. Thread or queue confined — These must be used from a specific thread (or queue) that’s not necessarily the main thread (or queue). NSRunLoop is a good example of this. Serialisation required — These have no internal locking but can be used from arbitrary threads as long as you serialise that access. A good example is NSMutableDictionary. Your summary doesn’t include the last two categories, and IME that’s the biggest group of traditional Cocoa APIs. Unfortunately it’s hard to di
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
8h
Reply to Xcode won't sign into ChatGPT Codex account anymore
Hi, thank you again. We were unable to reproduce this on our end with Xcode 26.4.1 and Codex 0.129.0-alpha.9, so it may be something specific to your configuration. Could you navigate to Xcode Settings → Components → Other Components → Codex and check the version listed there? It should read 0.129.0-alpha.9. If it shows a different version or indicates an update is available, try deleting it and redownloading the agent executable, then attempt signing in again. Let us know if that resolves the issue or if you're still seeing the login loop afterward, and we can dig deeper from there.
Replies
Boosts
Views
Activity
11h
static analyzer error in std::sort
I'm getting a static analysis warning on the following code. I don't think it could be my error, but I guess it's more likely a static analysis false positive than a C++ standard library bug. The warning says Method called on moved-from object of type 'std::basic_string'. Tested in Xcode 26.5 RC. Reported as FB22735405. #include #include #include #include template < class traits = std::char_traits, class Allocator = std::allocator > struct UTF8StringLess { bool operator()( const std::basic_string& inFirst, const std::basic_string& inSecond ) const; }; template inline bool UTF8StringLess::operator()( const std::basic_string& inFirst, const std::basic_string& inSecond ) const { CFStringRef theFirst = ::CFStringCreateWithCString( nullptr, inFirst.c_str(), kCFStringEncodingUTF8 ); CFStringRef theSecond = ::CFStringCreateWithCString( nullptr, inSecond.c_str(), kCFStringEncodingUTF8 ); CFComparisonResult compResult = ::CFStringCompare( theFirst, theSecond, kCFCompareCaseInsensitiv
Replies
1
Boosts
0
Views
12
Activity
13h
Xcode won't sign into ChatGPT Codex account anymore
As of May 8th, 2026, after I upgraded to codex-cli 0.129.0 via Xcode, I can no longer sign into my ChatGPT account in Xcode Intelligence Settings. The Log In window is always successful, but the settings never update to show the login being successful. It's a constant loop. Perhaps a hand-shake fail. Versions: Tahoe 26.3.1, Xcode 26.4.1, codex-cli 0.129.0.
Replies
5
Boosts
0
Views
102
Activity
14h
Reply to Agents in Xcode: Codex Sign In not working
Thank you for your post. Are you encountering the issue with the RC 26.5? I think I have seen that issue with previous version where the tokens getting stuck in your Keychain. Ensure you are actively connected without VPN or proxies. As requires a stable connection to internal services to validate the token. If your network connection dropped briefly during the auth handoff, it will fail silently and leave you in the Not Signed In state. Also can you delete any cache? In your terminal: rm -rf ~/Library/Caches/com.apple.dt.Xcode If the issue persists please let me know and we can file a bug to see the issue in Xcode 25.6 RC. Albert
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
14h
Reply to Spatial Audio: <<<< FigAudioSession(AV) >>>> signalled err=-19224 at <>:612
Unmodified code from here https://developer.apple.com/documentation/visionos/playing-spatial-audio-in-visionos I am not mirroring my screen. No sound connected to Xcode and I get the error in the log. No sound if my VisionPro is not connected to Xcode. I have a Gen 1 Vision Pro and using Xcode 26.4.1
Replies
Boosts
Views
Activity
16h
Xcode: Error downloading App Store Connect crash reports
Hello, I’m encountering an issue retrieving crash reports from the AppStore Connect using Xcode 26.4.1 (17E202). I’m signed in with multiple Apple IDs, including the one required to fetch crashes. When I select the destination application and attempt to download crashes in Organizer, a small warning icon appears in the top right corner. Clicking on it displays the following error: {AppleID email} failed with error: There was a failure decoding response: (HTTP 500, 20364 bytes) The data couldn’t be read because it isn’t in the correct format.. I already tried to remove my account and sign in again multiple times and also restarted Xcode but nothing seems to work. I wonder whether this is some new bug introduced in the latest Xcode version or rather local issue on my machine. Any help appreciated.
Replies
0
Boosts
0
Views
15
Activity
19h
Agents in Xcode: Codex Sign In not working
Hey all, the codex sign in isn't working for me in Agents. I am using the 26.5 release candidate version. It always says Not Signed In. I have completed the Sign In process multiple times. Anyone else seeing this? I have filed Feedback FB22732574
Replies
4
Boosts
0
Views
92
Activity
20h
Prevent Xcode from downloading Simulators
It annoys me that Xcode keeps downloading Simulators automatically, even though I haven't asked for them. Under Settings > Components > Other Installed Platforms I see iOS Simulator iOS 18.0 uptil 18.5. These are eating space in /Library/Developer/CoreSimulator/Caches/dyld/25E253. Is there a way to prevent these automatic downloads?
Replies
0
Boosts
0
Views
48
Activity
1d