Search results for

“xcode github”

96,037 results found

Post

Replies

Boosts

Views

Activity

Has the behavior of com.apple.security.cs.allow-jit changed on ARM64 in macOS 26 Tahoe?
We're developing a Mac App Store application that embeds the V8 JavaScript engine (via Electron). The application has shipped successfully on macOS 15.x with the following entitlements: com.apple.security.app-sandbox = true com.apple.security.cs.allow-jit = true com.apple.security.cs.allow-unsigned-executable-memory = true com.apple.security.cs.disable-library-validation = true On macOS 26 Tahoe, the exact same signed binary crashes deterministically within ~1.5 seconds on Apple Silicon with EXC_BREAKPOINT (SIGTRAP), ESR 0xf2000000. The crash is in V8's background JIT compilation thread when it attempts to manage memory page protections (transitioning pages between Read-Write and Read-Execute states via mprotect). The crash does not occur in these configurations: macOS 26 + App Sandbox + Intel x86_64 — works macOS 26 + Hardened Runtime (no sandbox) + ARM64 — works macOS 15.x + App Sandbox + ARM64 — works This appears to be a regression in how the XNU kernel handles mprotect calls for sandbox
1
0
354
Apr ’26
watchOS 11.2 Debug Tunnel Timeout: iPhone Connected, Watch stuck in "Waiting to Reconnect" (Xcode 16.4)
Hello, I am experiencing a critical blocking issue developing a watchOS app. While the iPhone 15 Pro Max is fully Connected via USB (confirmed green light in Network Settings), the Apple Watch Series 7 (watchOS 11.2) remains unreachable by Xcode. Mac: Mac Mini (macOS 15/16). Devices: iPhone 15 Pro Max (iOS 18+), Apple Watch Series 7 (watchOS 11.2). Xcode: 16.4 / Build 26.4. Hardware: Direct USB-C connection (USB 2.0 480Mb/s protocol). Technical Evidence of Protocol Failure: Missing Staging Folders: ~/Library/Developer/Xcode/watchOS DeviceSupport does not exist, implying the handshake fails before symbol stripping/sync begins. CoreDevice Error: Consistently receiving: Previous preparation error: A connection to this device could not be established.; Timed out while attempting to establish tunnel using negotiated network parameters. Missing Keychain Entries: No com.apple.coredevice keys found in Keychain Access, suggesting the Trusted Host handshake is incomplete. mDNS/Discovery: xcru
1
0
50
Apr ’26
Should Enhanced Security entitlements use string values or Boolean true for Mac App Store submission?
Hi, I’m hoping someone can help clarify the correct entitlement format for the Enhanced Security capability in a macOS App Store build. Context Our app is a sandboxed macOS app built with Xcode 26.4. We enabled the Enhanced Security capability in Signing & Capabilities, and we configured the entitlements based on the current documentation. What’s confusing me The Xcode 26.4 release notes say apps that already adopted Enhanced Security should remove: com.apple.security.hardened-process.enhanced-security-version com.apple.security.hardened-process.platform-restrictions and replace them with: com.apple.security.hardened-process.enhanced-security-version-string with value 1 com.apple.security.hardened-process.platform-restrictions-string with value 2 Reference: https://developer.apple.com/documentation/xcode-release-notes/xcode-26_4-release-notes The entitlement reference pages also seem consistent with that: https://developer.apple.com/documentation/bundleresources/entitle
5
0
540
Apr ’26
Notarization submissions stuck "In Progress" for 24+ hours - new team first submissions
Hi, I'm notarizing my Electron macOS app (DMG) for the first time with our new Developer ID, and most submissions have been stuck in In Progress for over 24 hours. Environment: Team ID: BSS9KAH6Z2 Certificate: Developer ID Application (valid until 2031) Tool: xcrun notarytool submit (Xcode CLI) App: Electron 28, signed with hardened runtime File: DMG (~131MB), 104 files inside .app What happened: Total 19 submissions over the past 24 hours Only 4 were Accepted (2 DMGs + 2 zips) The other 15 are still In Progress with no log available The 4 Accepted ones took 1~1.5 hours each codesign --verify --deep --strict passes with no issues Accepted submission log shows issues: null Apple System Status shows Developer ID Notary Service: Available What I've tried: Submitting as DMG directly Submitting as ditto zip of .app Submitting via electron-builder's built-in notarize Using both app-specific password and keychain profile auth Verified entitlements (allow-jit, disable-library-validation) Since some submissio
2
0
481
Apr ’26
Active Membership but Xcode shows "Red X" at Certificates, Identifiers & Profiles
Hi everyone, I am struggling with a persistent issue regarding my Developer Program membership and Xcode syncing. Even though the Apple Developer Portal shows that my developer license is active and I have full access to App Store Connect, it is unfortunately not possible to sign applications with this account. It behaves as if the license wasn't active. The Symptoms: -Portal status: Active (Account Holder/Admin), -Xcode Settings: When I navigate to Settings > Accounts and select my team, there is a Red X displayed next to Certificates, Identifiers & Profiles., Xcode suggests there is an issue accessing these resources and I cannot sign any binaries. Confirmed the membership is active in the web portal. Everything seems configured correctly on the web side, but the account simply doesn't work locally in Xcode. Has anyone faced this specific Red X issue despite a valid membership? Is there a specific cache I need to clear or a way to force Xcode to re-fetch t
4
0
403
Apr ’26
Xcode Source Control pull/push hangs indefinitely, terminal Git works normally After Tahoe 26.3 (25D125) Update
Device Details: MBP M2 Pro AND MBP M3 Pro macOS 26.3 (25D125) Xcode Version 26.3, 26.2, 26.1 (I reinstalled all 3 of these after the macOS update) BUG: Xcode hangs indefinitely when performing Source Control operations (Pull or Push) on a Git repository that uses SSH authentication. The same repository works correctly when performing the equivalent Git operations from the Terminal using the Git CLI. The issue appears to be specific to Xcode’s internal Source Control integration. When the operation is triggered from Xcode, the UI shows a spinning progress indicator and never completes. Terminal Git commands (git fetch, git pull, git push) complete normally using the same SSH key and repository. A hang sample taken during the issue shows the Xcode main thread blocked in Source Control authentication and fingerprint handling code paths, including: IDESourceControlUIHandler IDESourceControlFingerprintManager handleAuthenticationFailure showFingerprintAlertOnWindow This
5
0
385
Apr ’26
Reply to Xcode Source Control pull/push hangs indefinitely, terminal Git works normally After Tahoe 26.3 (25D125) Update
Same issue here, it started for me during the developer beta and never went away. I was also getting the error about post-quantum key exchange. I upgraded my git server (a little docker container running the default git and openssh setup) and the warning went away. Xcode still hangs on pull/fetch though. I can push without issue. I can pull from the command line without issue.
Apr ’26
In-App Subscription Works in Xcode Sandbox but Not Appearing for App Review Testers
Hello, I’m having an issue with my first subscription for my app WealthSlices, where the subscription appears correctly when testing locally from Xcode, but App Store reviewers appear unable to retrieve the product. Symptoms When I run the app from Xcode on my iPhone using the Sandbox environment: The subscription loads successfully. The purchase sheet appears. I can complete a sandbox purchase. However, when App Review tests the app, the paywall fails to load products and the app shows the following message: No Products found. Purchases are temporarily unavailable on this device. Environment App: WealthSlices Platform: iOS Testing locally via Xcode → Sandbox Apple ID Subscription type: Auto-renewable subscription Product: WealthSlices Basic ($9.99/month) StoreKit: StoreKit 2 Current build: 1.0.7 (Build 32) What works locally When running via Xcode: StoreKit successfully fetches products. The subscription sheet appears with the correct pricing. Sandbox purchase flow complet
3
0
299
Apr ’26
iPhone 17 Pro on iOS 26.3 stays unavailable in xcrun devicectl list devices even with Xcode 26.4 beta 2
I am unable to use my iPhone 17 Pro as a run destination in Xcode. The device appears at a low level, but CoreDevice / devicectl keeps reporting it as unavailable. Environment • Mac mini (Apple Silicon) • macOS 26.3 (Build 25D125) • iPhone 17 Pro • iOS 26.3 • Xcode 26.3 (Build 17C529) • Xcode 26.4 beta 2 (Build 17E5170d) Symptoms • The iPhone appears in Finder • On the iPhone, I tapped “Trust This Computer” • Developer Mode is enabled • Apple ID is added in Xcode Accounts • Team is configured in Signing & Capabilities • iOS Platform Support is installed • The device still does not become available as a run destination • Devices and Simulators does not show it in a usable state • xcrun devicectl list devices still shows unavailable Output of xcrun devicectl list devices Failed to load provisioning paramter list due to error: Error Domain=com.apple.dt.CoreDeviceError Code=1002 No provider was found. UserInfo={NSLocalizedDescription=No provider was found.}. devicectl manag
14
0
653
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
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
Has the behavior of com.apple.security.cs.allow-jit changed on ARM64 in macOS 26 Tahoe?
We're developing a Mac App Store application that embeds the V8 JavaScript engine (via Electron). The application has shipped successfully on macOS 15.x with the following entitlements: com.apple.security.app-sandbox = true com.apple.security.cs.allow-jit = true com.apple.security.cs.allow-unsigned-executable-memory = true com.apple.security.cs.disable-library-validation = true On macOS 26 Tahoe, the exact same signed binary crashes deterministically within ~1.5 seconds on Apple Silicon with EXC_BREAKPOINT (SIGTRAP), ESR 0xf2000000. The crash is in V8's background JIT compilation thread when it attempts to manage memory page protections (transitioning pages between Read-Write and Read-Execute states via mprotect). The crash does not occur in these configurations: macOS 26 + App Sandbox + Intel x86_64 — works macOS 26 + Hardened Runtime (no sandbox) + ARM64 — works macOS 15.x + App Sandbox + ARM64 — works This appears to be a regression in how the XNU kernel handles mprotect calls for sandbox
Replies
1
Boosts
0
Views
354
Activity
Apr ’26
watchOS 11.2 Debug Tunnel Timeout: iPhone Connected, Watch stuck in "Waiting to Reconnect" (Xcode 16.4)
Hello, I am experiencing a critical blocking issue developing a watchOS app. While the iPhone 15 Pro Max is fully Connected via USB (confirmed green light in Network Settings), the Apple Watch Series 7 (watchOS 11.2) remains unreachable by Xcode. Mac: Mac Mini (macOS 15/16). Devices: iPhone 15 Pro Max (iOS 18+), Apple Watch Series 7 (watchOS 11.2). Xcode: 16.4 / Build 26.4. Hardware: Direct USB-C connection (USB 2.0 480Mb/s protocol). Technical Evidence of Protocol Failure: Missing Staging Folders: ~/Library/Developer/Xcode/watchOS DeviceSupport does not exist, implying the handshake fails before symbol stripping/sync begins. CoreDevice Error: Consistently receiving: Previous preparation error: A connection to this device could not be established.; Timed out while attempting to establish tunnel using negotiated network parameters. Missing Keychain Entries: No com.apple.coredevice keys found in Keychain Access, suggesting the Trusted Host handshake is incomplete. mDNS/Discovery: xcru
Replies
1
Boosts
0
Views
50
Activity
Apr ’26
Reply to watchOS 11.2 Debug Tunnel Timeout: iPhone Connected, Watch stuck in "Waiting to Reconnect" (Xcode 16.4)
Partial installation observed: A placeholder icon for the app appeared on the Watch but installation is hung. The app cannot be deleted from the Watch UI, and Xcode continues to report a Connection Timeout. This confirms the initial manifest is sent, but the secure tunnel for the actual binary transfer/validation fails.
Replies
Boosts
Views
Activity
Apr ’26
Should Enhanced Security entitlements use string values or Boolean true for Mac App Store submission?
Hi, I’m hoping someone can help clarify the correct entitlement format for the Enhanced Security capability in a macOS App Store build. Context Our app is a sandboxed macOS app built with Xcode 26.4. We enabled the Enhanced Security capability in Signing & Capabilities, and we configured the entitlements based on the current documentation. What’s confusing me The Xcode 26.4 release notes say apps that already adopted Enhanced Security should remove: com.apple.security.hardened-process.enhanced-security-version com.apple.security.hardened-process.platform-restrictions and replace them with: com.apple.security.hardened-process.enhanced-security-version-string with value 1 com.apple.security.hardened-process.platform-restrictions-string with value 2 Reference: https://developer.apple.com/documentation/xcode-release-notes/xcode-26_4-release-notes The entitlement reference pages also seem consistent with that: https://developer.apple.com/documentation/bundleresources/entitle
Replies
5
Boosts
0
Views
540
Activity
Apr ’26
Notarization submissions stuck "In Progress" for 24+ hours - new team first submissions
Hi, I'm notarizing my Electron macOS app (DMG) for the first time with our new Developer ID, and most submissions have been stuck in In Progress for over 24 hours. Environment: Team ID: BSS9KAH6Z2 Certificate: Developer ID Application (valid until 2031) Tool: xcrun notarytool submit (Xcode CLI) App: Electron 28, signed with hardened runtime File: DMG (~131MB), 104 files inside .app What happened: Total 19 submissions over the past 24 hours Only 4 were Accepted (2 DMGs + 2 zips) The other 15 are still In Progress with no log available The 4 Accepted ones took 1~1.5 hours each codesign --verify --deep --strict passes with no issues Accepted submission log shows issues: null Apple System Status shows Developer ID Notary Service: Available What I've tried: Submitting as DMG directly Submitting as ditto zip of .app Submitting via electron-builder's built-in notarize Using both app-specific password and keychain profile auth Verified entitlements (allow-jit, disable-library-validation) Since some submissio
Replies
2
Boosts
0
Views
481
Activity
Apr ’26
Reply to Agreed to legal agreements but still get "required agreement is missing or has expired"
I have the same issue, not able to create new app in app store connect, or upload from xcode. I can not find any unsigned agreements.
Topic: Code Signing SubTopic: Notarization Tags:
Replies
Boosts
Views
Activity
Apr ’26
Active Membership but Xcode shows "Red X" at Certificates, Identifiers & Profiles
Hi everyone, I am struggling with a persistent issue regarding my Developer Program membership and Xcode syncing. Even though the Apple Developer Portal shows that my developer license is active and I have full access to App Store Connect, it is unfortunately not possible to sign applications with this account. It behaves as if the license wasn't active. The Symptoms: -Portal status: Active (Account Holder/Admin), -Xcode Settings: When I navigate to Settings > Accounts and select my team, there is a Red X displayed next to Certificates, Identifiers & Profiles., Xcode suggests there is an issue accessing these resources and I cannot sign any binaries. Confirmed the membership is active in the web portal. Everything seems configured correctly on the web side, but the account simply doesn't work locally in Xcode. Has anyone faced this specific Red X issue despite a valid membership? Is there a specific cache I need to clear or a way to force Xcode to re-fetch t
Replies
4
Boosts
0
Views
403
Activity
Apr ’26
Xcode Source Control pull/push hangs indefinitely, terminal Git works normally After Tahoe 26.3 (25D125) Update
Device Details: MBP M2 Pro AND MBP M3 Pro macOS 26.3 (25D125) Xcode Version 26.3, 26.2, 26.1 (I reinstalled all 3 of these after the macOS update) BUG: Xcode hangs indefinitely when performing Source Control operations (Pull or Push) on a Git repository that uses SSH authentication. The same repository works correctly when performing the equivalent Git operations from the Terminal using the Git CLI. The issue appears to be specific to Xcode’s internal Source Control integration. When the operation is triggered from Xcode, the UI shows a spinning progress indicator and never completes. Terminal Git commands (git fetch, git pull, git push) complete normally using the same SSH key and repository. A hang sample taken during the issue shows the Xcode main thread blocked in Source Control authentication and fingerprint handling code paths, including: IDESourceControlUIHandler IDESourceControlFingerprintManager handleAuthenticationFailure showFingerprintAlertOnWindow This
Replies
5
Boosts
0
Views
385
Activity
Apr ’26
Reply to Xcode Source Control pull/push hangs indefinitely, terminal Git works normally After Tahoe 26.3 (25D125) Update
Same issue here, it started for me during the developer beta and never went away. I was also getting the error about post-quantum key exchange. I upgraded my git server (a little docker container running the default git and openssh setup) and the warning went away. Xcode still hangs on pull/fetch though. I can push without issue. I can pull from the command line without issue.
Replies
Boosts
Views
Activity
Apr ’26
Claude Agent OAuth token silently expires and fails to refresh in Xcode 26.4 — requires manual re-auth every 12-24 hours
Claude Agent OAuth token silently expires and fails to refresh in Xcode 26.4 — requires manual re-auth every 12-24 hours. this was not happening in 26.3, its a regression in 26.4 Details and sysdiagnose submitted: FB22421882
Replies
1
Boosts
0
Views
110
Activity
Apr ’26
In-App Subscription Works in Xcode Sandbox but Not Appearing for App Review Testers
Hello, I’m having an issue with my first subscription for my app WealthSlices, where the subscription appears correctly when testing locally from Xcode, but App Store reviewers appear unable to retrieve the product. Symptoms When I run the app from Xcode on my iPhone using the Sandbox environment: The subscription loads successfully. The purchase sheet appears. I can complete a sandbox purchase. However, when App Review tests the app, the paywall fails to load products and the app shows the following message: No Products found. Purchases are temporarily unavailable on this device. Environment App: WealthSlices Platform: iOS Testing locally via Xcode → Sandbox Apple ID Subscription type: Auto-renewable subscription Product: WealthSlices Basic ($9.99/month) StoreKit: StoreKit 2 Current build: 1.0.7 (Build 32) What works locally When running via Xcode: StoreKit successfully fetches products. The subscription sheet appears with the correct pricing. Sandbox purchase flow complet
Replies
3
Boosts
0
Views
299
Activity
Apr ’26
iPhone 17 Pro on iOS 26.3 stays unavailable in xcrun devicectl list devices even with Xcode 26.4 beta 2
I am unable to use my iPhone 17 Pro as a run destination in Xcode. The device appears at a low level, but CoreDevice / devicectl keeps reporting it as unavailable. Environment • Mac mini (Apple Silicon) • macOS 26.3 (Build 25D125) • iPhone 17 Pro • iOS 26.3 • Xcode 26.3 (Build 17C529) • Xcode 26.4 beta 2 (Build 17E5170d) Symptoms • The iPhone appears in Finder • On the iPhone, I tapped “Trust This Computer” • Developer Mode is enabled • Apple ID is added in Xcode Accounts • Team is configured in Signing & Capabilities • iOS Platform Support is installed • The device still does not become available as a run destination • Devices and Simulators does not show it in a usable state • xcrun devicectl list devices still shows unavailable Output of xcrun devicectl list devices Failed to load provisioning paramter list due to error: Error Domain=com.apple.dt.CoreDeviceError Code=1002 No provider was found. UserInfo={NSLocalizedDescription=No provider was found.}. devicectl manag
Replies
14
Boosts
0
Views
653
Activity
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