Search results for

“xcode github”

96,040 results found

Post

Replies

Boosts

Views

Activity

Reply to No identity found: Command CodeSign failed with a nonzero exit code
Hi! I'm also new to iOS development and I have exactly the same issue. macOS 26.4 (25E246) Xcode Version 26.4 (17E192) What I've tried: Generated Apple Development certificate through Xcode → Settings → Accounts → Manage Certificates multiple times. Certificate and private key appear in Keychain Access but never paired (cert not expandable in My Certificates, which remains empty). Generated CSR manually via Keychain Access Certificate Assistant, uploaded to developer.apple.com, downloaded .cer, imported — same result, no pairing. Generated key and CSR entirely via openssl CLI, uploaded CSR to developer portal, downloaded cert, created .p12 with -legacy flag (standard openssl 3.x p12 fails with MAC verification failed on import). Imported p12 — certificate and public key import but private key silently dropped. Class 0x0000000F (private key) never appears in security dump-keychain, only 0x00000010 (public key) and 0x80001000 (certificate). security import of the PEM private key reports The sp
Apr ’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!
1
0
121
Apr ’26
Reply to iOS 26 TabBar Remove Selected Capsule
Hey Albert, Thanks for the prompt response. Here is the link to Github repo: https://github.com/VJM158/UIKitTabBar What happens when you disable Liquid Glass? Do you get the results that you want? - Yes, we get the desired result. I using Xcode 26.3 with iOS 26.2 simulator Using a fully custom view with buttons is definitely an option, but my concern is that I would lose a lot of built-in UITabBar behavior such as tapping the active tab to return to root, hidesBottomBarWhenPushed, accessibility support, badging, and other system-integrated behaviors. This is a fairly large and complex app, so I’m hesitant to replace UITabBar entirely unless that is really the only reliable path. Please let me know if my understanding is correct. I’m mainly trying to understand what the recommended path forward is here. Also, if Liquid Glass is enabled for the app, is the selected capsule in UITabBar mandatory?
Topic: UI Frameworks SubTopic: UIKit Tags:
Apr ’26
Reply to Xcode 26.4 rc
It seems there is no way to update the Claude binary to newer versions within Xcode. Can you please add this feature? Perhaps that would help here. The version it is currently installing is 2.1.59, the latest version is 2.1.92.
Apr ’26
Reply to Does your Canvas in Xcode crash all the time due to AXRemoteElement-BackgroundFetch?
Same issue here. After analyzing the crash log in detail, I can confirm this is not related to our code or derived data cache. Root cause: Infinite recursion (10,915 levels deep) in -[AXElement customActions] inside AXRuntime.framework, triggered by UIAccessibilityHierarchyEncoder when PreviewShell tries to serialize the accessibility tree on the AXRemoteElement-BackgroundFetch dispatch queue. The thread stack overflows into the stack guard region, causing EXC_BAD_ACCESS (SIGBUS) / KERN_PROTECTION_FAILURE. Environment: macOS 26.5 beta (25F5042g) Xcode 26.4 (17E192) Confirmed workaround: Setting a physical iOS device as the preview destination works correctly. The bug is isolated to the simulator runtime — PreviewShell on device does not go through the affected AXRemoteElement path. I've already filed a feedback report with the full crash log attached. I'd encourage everyone affected to file their own report — the more Incident IDs Apple has, the faster this gets prioritized.
Apr ’26
AVPictureInPictureController with AVSampleBufferDisplayLayer: Video not scaled in PiP window on macOS
AVPictureInPictureController with AVSampleBufferDisplayLayer: Video not scaled in PiP window on macOS Platform: macOS 26.4 (Tahoe) Framework: AVKit / AVFoundation Xcode: 26.4 Summary When using AVPictureInPictureController with ContentSource(sampleBufferDisplayLayer:playbackDelegate:) on macOS, the video content in the PiP window is not scaled to fit — it renders at 1:1 pixel resolution, showing only the bottom-left portion of the video (zoomed/cropped). The same code works correctly on iOS. Setup let displayLayer = AVSampleBufferDisplayLayer() displayLayer.videoGravity = .resizeAspect // Host displayLayer as a sublayer of an NSView, enqueue CMSampleBuffers let source = AVPictureInPictureController.ContentSource( sampleBufferDisplayLayer: displayLayer, playbackDelegate: self ) let pip = AVPictureInPictureController(contentSource: source) pip.delegate = self The source display layer is 1280×720, matching the video stream resolution. PiP starts successfully — isPictureInPicturePossible is true, the PiP
3
0
262
Apr ’26
Reply to AVPictureInPictureController with AVSampleBufferDisplayLayer: Video not scaled in PiP window on macOS
Update — Working workaround found After extensive debugging, I found a two-part workaround that gives fully functional PiP with AVSampleBufferDisplayLayer on macOS. Root cause analysis The PiP window actually contains TWO stacked rendering paths: PIPPanel (contentView: 484×272) └─ AVPictureInPictureSampleBufferDisplayLayerView (1280×720) └─ AVPictureInPictureSampleBufferDisplayLayerHostView (layer = CALayerHost, contentsScale = 1.0) ├─ AVSampleBufferDisplayLayerContentLayer (734×413) ← correctly scaled video └─ AVPictureInPictureCALayerHostView (1600×900) ← broken overlay The good path (AVSampleBufferDisplayLayerContentLayer) renders the video correctly scaled to the PiP window size. The bad path (AVPictureInPictureCALayerHostView) is drawn ON TOP and is the source of all the visual problems. Inspecting its properties reveals: hasContents = false, sublayers = 0 — it contains no actual video content backgroundColor = solid black (CGColor gray=0, alpha=1) transform = [m11=0.8, m22=0.8, m33=0.8] — Apple applies
Topic: Media Technologies SubTopic: General Tags:
Apr ’26
App crashes on launch for iOS 12 users after App Store release (Xcode 16.4) — BKSProcessErrorDomain bootstrap-failed
Hi everyone, I'm building an app in Xcode 16.4 with a minimum deployment target of iOS 12. The last time I built with this configuration was November 2025 — that build worked perfectly fine. I'm aware that builds from Xcode 16.4 will no longer be accepted by Apple after April 28, 2026, so I decided to push one final update before that deadline. Here's what I did: Built the app with no changes to build settings Uploaded to TestFlight Tested on iOS 12, iOS 26, and a few other versions — everything looked good Passed App Review Published to the App Store Now users on iOS 12 are reporting that the app crashes immediately on launch. Users on iOS 13-26 are unaffected. We've effectively lost a significant portion of our users overnight. We'd really like to restore functionality for them before April 28 — after that we plan to raise the minimum deployment target anyway. There are no crash logs available, as the app appears to never reach application code at all. Below are the relevant logs from Cons
13
0
1.3k
Apr ’26
Reply to Layout recursion error message
No, I don't use NSStatusBarButton in my codes, sorry. More generally, since I run Xcode on macOS 15, the number of such messages has become incredibly high... many of those logs have clearly nothing to do with what is under my control (the worse being when using UBSan and friends). This ultimately lead me to the deactivation of all logs (os_activity_mode=disable), but after that I couldn't even see some of my own logs anymore... I finally started using printf as a work around, but if someone knows a good solution to disable all system logs while keeping my own, I'm interested, thanks!
Topic: UI Frameworks SubTopic: AppKit Tags:
Apr ’26
NSLocationTemporaryUsageDescriptionDictionary crashes Xcode 13
I just submitted a feedback for this (FB9662125) but in the spirit of “share and enjoy”… The cool new Generate Info.plist File feature in Xcode 13 crashes if you try to put an NSLocationTemporaryUsageDescriptionDictionary in your Info.plist file. Here’s a simple repro scenario: Create a minimal iOS app (no Core Data, no tests) Go to target settings → Info tab → Custom iOS Target Properties Click the (+) button on any row to begin inserting a new row Select Privacy - Location Temporary Usage Description Dictionary Click somewhere else or press Return to commit the selection Xcode crashes immediately More generally, it seems that Xcode crashes any time it tries to regenerate your Info.plist file if it contains an NSLocationTemporaryUsageDescriptionDictionary, even if (for example) you manually pasted that dictionary into the file earlier. In that case, merely tapping the (+) button in step 3 above is enough to crash it.
19
0
5.3k
Apr ’26
Reply to iOS 26 TabBar Remove Selected Capsule
Thanks for the post. Any chance you can provide a simple focused project we can download and run it to see what you are seeing? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project. What happens when you disable Liquid Glass? Do you get the results that you want? When you create a standard UIView (or SwiftUI View) that contains your custom buttons and layout and add custom view to the UITabBarController's view and anchor it to the bottom of the screen. When a user taps a button in your custom view, manually update the selected tab is when you get that result? Are you testing on iOS 26.4? What Xcode version are you using? Albert Pascual
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: UIKit Tags:
Apr ’26
Reply to In-App Purchase dialog not appearing during App Review but works on physical device
Thank you for your response. I would like to clarify that all previously suggested steps have been completed: StoreKit Testing Disabled StoreKit configuration in Xcode is not used. The app connects directly to Apple’s sandbox environment for testing. Successful Sandbox Testing The In-App Purchase product (remove_ads, Non-Consumable) has been thoroughly tested in the sandbox environment. The StoreKit purchase sheet appears correctly, and the transaction completes successfully. A screen recording is available to demonstrate this behavior. Product Properly Submitted The In-App Purchase product is fully configured in App Store Connect and has been submitted for review together with the app version. Both the app binary and the IAP product are included in the same submission. Despite this, the app continues to be rejected again under Guideline 2.1(b) stating that Premium feature was still implemented without triggering any purchase flow.
Apr ’26
Reply to No identity found: Command CodeSign failed with a nonzero exit code
Hi! I'm also new to iOS development and I have exactly the same issue. macOS 26.4 (25E246) Xcode Version 26.4 (17E192) What I've tried: Generated Apple Development certificate through Xcode → Settings → Accounts → Manage Certificates multiple times. Certificate and private key appear in Keychain Access but never paired (cert not expandable in My Certificates, which remains empty). Generated CSR manually via Keychain Access Certificate Assistant, uploaded to developer.apple.com, downloaded .cer, imported — same result, no pairing. Generated key and CSR entirely via openssl CLI, uploaded CSR to developer portal, downloaded cert, created .p12 with -legacy flag (standard openssl 3.x p12 fails with MAC verification failed on import). Imported p12 — certificate and public key import but private key silently dropped. Class 0x0000000F (private key) never appears in security dump-keychain, only 0x00000010 (public key) and 0x80001000 (certificate). security import of the PEM private key reports The sp
Replies
Boosts
Views
Activity
Apr ’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
1
Boosts
0
Views
121
Activity
Apr ’26
Reply to iOS 26 TabBar Remove Selected Capsule
Hey Albert, Thanks for the prompt response. Here is the link to Github repo: https://github.com/VJM158/UIKitTabBar What happens when you disable Liquid Glass? Do you get the results that you want? - Yes, we get the desired result. I using Xcode 26.3 with iOS 26.2 simulator Using a fully custom view with buttons is definitely an option, but my concern is that I would lose a lot of built-in UITabBar behavior such as tapping the active tab to return to root, hidesBottomBarWhenPushed, accessibility support, badging, and other system-integrated behaviors. This is a fairly large and complex app, so I’m hesitant to replace UITabBar entirely unless that is really the only reliable path. Please let me know if my understanding is correct. I’m mainly trying to understand what the recommended path forward is here. Also, if Liquid Glass is enabled for the app, is the selected capsule in UITabBar mandatory?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Apr ’26
Reply to Xcode 26.4 rc
It seems there is no way to update the Claude binary to newer versions within Xcode. Can you please add this feature? Perhaps that would help here. The version it is currently installing is 2.1.59, the latest version is 2.1.92.
Replies
Boosts
Views
Activity
Apr ’26
Reply to Does your Canvas in Xcode crash all the time due to AXRemoteElement-BackgroundFetch?
Same issue here. After analyzing the crash log in detail, I can confirm this is not related to our code or derived data cache. Root cause: Infinite recursion (10,915 levels deep) in -[AXElement customActions] inside AXRuntime.framework, triggered by UIAccessibilityHierarchyEncoder when PreviewShell tries to serialize the accessibility tree on the AXRemoteElement-BackgroundFetch dispatch queue. The thread stack overflows into the stack guard region, causing EXC_BAD_ACCESS (SIGBUS) / KERN_PROTECTION_FAILURE. Environment: macOS 26.5 beta (25F5042g) Xcode 26.4 (17E192) Confirmed workaround: Setting a physical iOS device as the preview destination works correctly. The bug is isolated to the simulator runtime — PreviewShell on device does not go through the affected AXRemoteElement path. I've already filed a feedback report with the full crash log attached. I'd encourage everyone affected to file their own report — the more Incident IDs Apple has, the faster this gets prioritized.
Replies
Boosts
Views
Activity
Apr ’26
AVPictureInPictureController with AVSampleBufferDisplayLayer: Video not scaled in PiP window on macOS
AVPictureInPictureController with AVSampleBufferDisplayLayer: Video not scaled in PiP window on macOS Platform: macOS 26.4 (Tahoe) Framework: AVKit / AVFoundation Xcode: 26.4 Summary When using AVPictureInPictureController with ContentSource(sampleBufferDisplayLayer:playbackDelegate:) on macOS, the video content in the PiP window is not scaled to fit — it renders at 1:1 pixel resolution, showing only the bottom-left portion of the video (zoomed/cropped). The same code works correctly on iOS. Setup let displayLayer = AVSampleBufferDisplayLayer() displayLayer.videoGravity = .resizeAspect // Host displayLayer as a sublayer of an NSView, enqueue CMSampleBuffers let source = AVPictureInPictureController.ContentSource( sampleBufferDisplayLayer: displayLayer, playbackDelegate: self ) let pip = AVPictureInPictureController(contentSource: source) pip.delegate = self The source display layer is 1280×720, matching the video stream resolution. PiP starts successfully — isPictureInPicturePossible is true, the PiP
Replies
3
Boosts
0
Views
262
Activity
Apr ’26
Reply to AVPictureInPictureController with AVSampleBufferDisplayLayer: Video not scaled in PiP window on macOS
Update — Working workaround found After extensive debugging, I found a two-part workaround that gives fully functional PiP with AVSampleBufferDisplayLayer on macOS. Root cause analysis The PiP window actually contains TWO stacked rendering paths: PIPPanel (contentView: 484×272) └─ AVPictureInPictureSampleBufferDisplayLayerView (1280×720) └─ AVPictureInPictureSampleBufferDisplayLayerHostView (layer = CALayerHost, contentsScale = 1.0) ├─ AVSampleBufferDisplayLayerContentLayer (734×413) ← correctly scaled video └─ AVPictureInPictureCALayerHostView (1600×900) ← broken overlay The good path (AVSampleBufferDisplayLayerContentLayer) renders the video correctly scaled to the PiP window size. The bad path (AVPictureInPictureCALayerHostView) is drawn ON TOP and is the source of all the visual problems. Inspecting its properties reveals: hasContents = false, sublayers = 0 — it contains no actual video content backgroundColor = solid black (CGColor gray=0, alpha=1) transform = [m11=0.8, m22=0.8, m33=0.8] — Apple applies
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’26
App crashes on launch for iOS 12 users after App Store release (Xcode 16.4) — BKSProcessErrorDomain bootstrap-failed
Hi everyone, I'm building an app in Xcode 16.4 with a minimum deployment target of iOS 12. The last time I built with this configuration was November 2025 — that build worked perfectly fine. I'm aware that builds from Xcode 16.4 will no longer be accepted by Apple after April 28, 2026, so I decided to push one final update before that deadline. Here's what I did: Built the app with no changes to build settings Uploaded to TestFlight Tested on iOS 12, iOS 26, and a few other versions — everything looked good Passed App Review Published to the App Store Now users on iOS 12 are reporting that the app crashes immediately on launch. Users on iOS 13-26 are unaffected. We've effectively lost a significant portion of our users overnight. We'd really like to restore functionality for them before April 28 — after that we plan to raise the minimum deployment target anyway. There are no crash logs available, as the app appears to never reach application code at all. Below are the relevant logs from Cons
Replies
13
Boosts
0
Views
1.3k
Activity
Apr ’26
Reply to Layout recursion error message
No, I don't use NSStatusBarButton in my codes, sorry. More generally, since I run Xcode on macOS 15, the number of such messages has become incredibly high... many of those logs have clearly nothing to do with what is under my control (the worse being when using UBSan and friends). This ultimately lead me to the deactivation of all logs (os_activity_mode=disable), but after that I couldn't even see some of my own logs anymore... I finally started using printf as a work around, but if someone knows a good solution to disable all system logs while keeping my own, I'm interested, thanks!
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Apr ’26
Reply to NSLocationTemporaryUsageDescriptionDictionary crashes Xcode 13
Xcode 26.4 still crashes. It's hard to believe this bug was reported so long ago, yet Xcode hasn't fixed it after so many versions 😓
Replies
Boosts
Views
Activity
Apr ’26
NSLocationTemporaryUsageDescriptionDictionary crashes Xcode 13
I just submitted a feedback for this (FB9662125) but in the spirit of “share and enjoy”… The cool new Generate Info.plist File feature in Xcode 13 crashes if you try to put an NSLocationTemporaryUsageDescriptionDictionary in your Info.plist file. Here’s a simple repro scenario: Create a minimal iOS app (no Core Data, no tests) Go to target settings → Info tab → Custom iOS Target Properties Click the (+) button on any row to begin inserting a new row Select Privacy - Location Temporary Usage Description Dictionary Click somewhere else or press Return to commit the selection Xcode crashes immediately More generally, it seems that Xcode crashes any time it tries to regenerate your Info.plist file if it contains an NSLocationTemporaryUsageDescriptionDictionary, even if (for example) you manually pasted that dictionary into the file earlier. In that case, merely tapping the (+) button in step 3 above is enough to crash it.
Replies
19
Boosts
0
Views
5.3k
Activity
Apr ’26
Reply to iOS 26 TabBar Remove Selected Capsule
Thanks for the post. Any chance you can provide a simple focused project we can download and run it to see what you are seeing? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project. What happens when you disable Liquid Glass? Do you get the results that you want? When you create a standard UIView (or SwiftUI View) that contains your custom buttons and layout and add custom view to the UITabBarController's view and anchor it to the bottom of the screen. When a user taps a button in your custom view, manually update the selected tab is when you get that result? Are you testing on iOS 26.4? What Xcode version are you using? Albert Pascual
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Apr ’26
Reply to Xcode Cloud builds stuck on "Queued"
same all morning, the developer system status page was updated 20min ago. Xcode Cloud has an outage now.
Replies
Boosts
Views
Activity
Apr ’26
Reply to Xcode 26.4 rc
@DTS Engineer I started using the Xcode 26.5 Beta and this problem has not resolved.
Replies
Boosts
Views
Activity
Apr ’26
Reply to In-App Purchase dialog not appearing during App Review but works on physical device
Thank you for your response. I would like to clarify that all previously suggested steps have been completed: StoreKit Testing Disabled StoreKit configuration in Xcode is not used. The app connects directly to Apple’s sandbox environment for testing. Successful Sandbox Testing The In-App Purchase product (remove_ads, Non-Consumable) has been thoroughly tested in the sandbox environment. The StoreKit purchase sheet appears correctly, and the transaction completes successfully. A screen recording is available to demonstrate this behavior. Product Properly Submitted The In-App Purchase product is fully configured in App Store Connect and has been submitted for review together with the app version. Both the app binary and the IAP product are included in the same submission. Despite this, the app continues to be rejected again under Guideline 2.1(b) stating that Premium feature was still implemented without triggering any purchase flow.
Replies
Boosts
Views
Activity
Apr ’26