Search results for

“xcode github”

96,030 results found

Post

Replies

Boosts

Views

Activity

Reply to Spatial Audio: <<<< FigAudioSession(AV) >>>> signalled err=-19224 at <>:612
Thanks so much for the post. Can you provide as much information as possible so the visionOS engineers can take a look about the error in the Audio Session including the code you are using to reproduce the issue. Is it happening on unmodified sample code on a physical Vision Pro? As a developer, you are likely mirroring your Vision Pro to your Mac while debugging with Xcode? When you mirror your screen, visionOS attempts to route audio to the AirPlay receiver (your Mac). The spatial audio engine cannot render 3D audio over a standard stereo AirPlay connection, causing FigAudioSession to crash or throw the -19224 error. Can you provide information is you are AirPlay mirroring from the Vision Pro Control Center. Have you tried the device by itself? How are you using the audio session? Can you post the code? If another app recently used the audio session, or if the system defaulted to .ambient? Add the AVAudioSession.sharedInstance().setCategory(.playback) code. All those details will help engineers fig
4d
TelephonyMessagingKit drops first SMS at cold launch — race between client XPC handler registration and server pending flush
Hi all, I'm the developer of OV Message, an end-to-end encrypted SMS messaging app already shipped on Google Play (Android, where it natively encrypts SMS content). The iOS port aims to be the default carrier-messaging app, handling SMS, MMS, and RCS through TelephonyMessagingKit with the com.apple.developer.carrier-messaging-app entitlement under the EU programme. While testing the cold-launch flow on iOS 26.x, I've hit a reproducible bug that silently drops the first SMS/MMS/RCS that wakes the app, and I'd like to confirm whether other devs working with this API see the same. The bug When a default carrier-messaging app is force-killed and a message arrives, iOS correctly: Routes the message via CommCenter (IMS in my case — SFR France) Wakes the app in background (state = .background at didFinishLaunchingWithOptions) Acquires a TelephonyMessaging runningboard assertion on the app But CommCenter then pushes the pending message via XPC before the client TMK library has finished registering its messag
3
0
192
5d
Reply to Xcode now hangs; SDKs are "status unavailable"
Anyone find a solution to this problem? I am having the same issue, I woke up one morning and could not build my iOS app. The components area shows Status unavailable for all my platforms besides macOS. I have no way of re-downloading the runtimes and have gone through steps of rebooting my machine, deleting Xcode and re-installing, clearing out all the cache, downloading older Xcode, etc. I have found no way to get Xcode to build my apps and no way to run an iOS simulator. A very frustrating problem as I have no idea what else I can do. The only thing that seems to have had any reaction in Xcode at all is removing the Images.plist file, but even then I can't get it to the point where I can compile my app. It only gives me the ability to download the iOS platform via a Get button, at which point the actual download hangs.
5d
Reply to Tap to Pay Entitlement only for development
I have the same problem. My application ID indicates that the Tap to Pay on iPhone option is enabled on the Apple Developer Portal (this feature also appears in the Signature & Capabilities tab of Xcode), and the entitlement file is correctly provided in its project bundle. In development/debug mode, the functionality is available and operational: my application can perform Tap-to-Pay payment simulations via the Stripe PSP, using the Stripe Terminal SDK for SwiftUI. However, Xcode reports that the provisioning profile defined with this application ID for distribution on the App Store and loaded into Xcode does not include the com.apple.developer.proximity-reader.payment.acceptance authorization, even though all configuration settings comply with Apple's documentation guidelines. I've regenerated the profile several times without success (and when I use Automatically Manage Signing in Xcode, attempting to distribute an archive to Release Testing (TestFlight) generates an
Topic: Code Signing SubTopic: Entitlements Tags:
5d
Reply to Xcode 26.4.1, iOS 26.4.2, watchOS 26.4, Apple Watch Ultra 3 not appearing as development device.
@steveoyoung Thanks for the post. Looks at the documentation provided, on watchOS when the iPhone is on developer mode, then you just need to tap trust: In watchOS, tap Turn On. Tap Trust in the next dialog, if it appears, and enter your device passcode to confirm. https://developer.apple.com/documentation/xcode/enabling-developer-mode-on-a-device Hope this helps Albert
  Worldwide Developer Relations.
5d
Xcode 26 fails to load SPM packages
For me it looks like Xcode 26 has problems reading SPM packages from a locally hosted BitBucket git solution. While Xcode 16 work perfectly fine, Xcode 26 fails to load and gives Server SSH Fingerprint Failed to Verify as error description. Cleaning build data and DerivedData sometimes makes loading work. Any change in Package dependencies will break it again. Anyone having same problems? How do you handle it?
13
0
1.4k
5d
StoreKit 2: Transaction.all and Transaction.currentEntitlements return empty for valid non-consumable purchases in production
FB: https://feedbackassistant.apple.com/feedback/22556883 We're seeing a small number of production users where both Transaction.currentEntitlements and Transaction.all return zero transactions for a valid, active, non-refunded non-consumable IAP. This makes it impossible to restore the purchase via any StoreKit 2 API. Environment: Xcode 26.4 (Build 17E192) iOS 26.4.1 Direct call to SK2 Transactions.all & Flutter in_app_purchase package v3.2.3 (uses SK2 on iOS 15+) Non-consumable IAP (one-time purchase) What we observe: AppStore.sync() triggers but the purchase stream returns 0 transactions Transaction.all returns empty Transaction.currentEntitlements also returns empty User is confirmed on the correct Apple ID Issue reproduces on both iPhone and Mac for the same Apple ID Issue appears to have started recently for users who previously had no problems Debug log from affected production user: [2026-04-20T08:50:10.744115Z] init: iapAvailable=true [2026-04-20T08:50:10.744566Z] init: isPremium=false [
13
0
727
6d
Reply to Xcode 15 not finding iOS 17 devices
5/3/26. MacOS Tahoe 26.3.1 XCode 26.4.1 ISSUE: Problem connecting my iPhone to XCode. My Apple watch connects but not my iPhone. My iPhone is a Model 12 Pro Max. I have it connected to the Mac Mini via a cable. The iPhone shows up in Finder. Xcode reason for inability to connect is a previous preparation error: The tunnel connection failed while the system tried to connect to the device”. WHAT DID NOT WORK: Restarted Mac & iPhone. Plugged and unplugged cables. Deleted Derived Data folder & Provisioning Profiles data and then restarted XCode. WHAT DID WORK: Settings>Developer>Networking…toggle on Network Link Conditioner…Test Responsiveness Result was almost immediate…Device disappeared and then reappeared in XCode under Devices and Simulators fully operational…no reboot or repairing needed.
6d
Xcode 15 not finding iOS 17 devices
I have a brand new iPhone 15 with iOS 17, paired with a watch on WatchOS10. In devices and simulators, the iPhone 15 and Watch 10 device show up as disconnected (with the globe icon I think is what it is?) and if I click on either of them, that icon changes to a spinner, and the main window says Xcode will continue when the operation completes, but it NEVER completes. This makes the device not usable for development. In addition, I have updated my iPad to iOS17, and it doesn't even show up at all in the devices and simulator list, even though it is enabled for developer mode. I have toggled developer mode off and on (thus rebooting). I have quit and restarted Xcode. I have even rebooted the Mac. Nothing helps. This is incredibly frustrating.
12
0
11k
6d
MEMessageActionHandler — Mail shows "Uninstall only", no enable toggle, consent dialog never fires
I'm implementing a MEMessageActionHandler Mail extension on macOS 26.4.1 (Xcode 26.4). The extension is discovered by Mail and appears in Mail > Settings > Extensions, but Mail shows only an Uninstall button — no enable toggle. The MailKit consent dialog asking permission to process messages in the background has never appeared. Console logs show optedIn: NO / userEnabled: Not Enabled. Extension Info.plist (key parts): NSExtensionPointIdentifier com.apple.email.extension NSExtensionPrincipalClass CheckThisMailExtension.MailExtension MEExtensionCapabilities MEMessageActionHandler Principal class: class MailExtension: NSObject, MEExtension { func handlerForMessageActions() -> any MEMessageActionHandler { return MessageActionHandler() } } Entitlements: app-sandbox: true, application-groups: [group.com.xxx]. App is Developer ID signed and notarized. Has anyone successfully gotten the consent dialog to appear for MEMessageActionHandler on macOS 15/26? Is there something beyond the standard templa
1
0
200
6d
Reply to TelephonyMessagingKit drops first SMS at cold launch — race between client XPC handler registration and server pending flush
Hi Kevin, Thanks a lot for jumping on this — really appreciate it. I tested the pattern you suggested in a fresh, isolated repro: read isConfiguredForCarrierMessaging first, then delay session creation via a Task.sleep before touching smsService.incomingMessageNotifications. I varied the delay across four values to be thorough. Code shape (full source available, Swift, ~50 lines): let session = TelephonyMessagingSession.shared let configured = session.isConfiguredForCarrierMessaging // PHASE 1 TMKLogger.shared.log(isConfiguredForCarrierMessaging=(configured)) Task.detached(priority: .userInitiated) { try? await Task.sleep(nanoseconds: kDelayMs * 1_000_000) // PHASE 2 let notifications = try session.smsService.incomingMessageNotifications // PHASE 3 for await notification in notifications { TMKLogger.shared.log(✅ SMS received: (notification.message.content.body)) } } Test protocol on each delay: Settings → Apps → Default Messaging → TMKTest Force-kill the app Send two SMS in rapid succession from anot
Topic: App & System Services SubTopic: General Tags:
1w
Can Xcode Cloud produce a notarized .pkg for a macOS daemon?
I have a macOS app (a background daemon) that I distribute outside the App Store as a .pkg installer. My build process is: Build the app (xcodebuild archive) Sign the app with Developer ID Application Package it with pkgbuild, signed with Developer ID Installer Notarize with notarytool Staple with stapler This works perfectly on my local machine using custom build_pkg.sh. I'm trying to automate this in Xcode Cloud using a ci_post_xcodebuild.sh script so a new build is triggered whenever I push to git repository. The problem is: • security find-identity shows 0 valid identities in the post-build script environment • The archived app has Signature=adhoc (no Developer ID signing) • pkgbuild can't sign the .pkg without a Developer ID Installer certificate • Notarization rejects everything because nothing is signed with Developer ID My question: Is there any way to make Developer ID certificates available in Xcode Cloud's post-build scripts? Or is Xcode Cloud only designed for App Store
1
0
581
1w
Apple Development Certificate Being Issued Under Wrong Team (Mismatch Between Team IDs)
I am experiencing an issue with Apple Development certificate creation in Xcode for my organization account. Account details: Organization: Jtecx LLC Team ID: 8V397ULNY4 Issue: When I attempt to create a new Apple Development certificate in Xcode under the Jtecx LLC (8V397ULNY4) team, the certificate is consistently generated under a different team: Apple Development: Joseph Salmond (67P4AAZ5TA) This appears to be my personal team, not the organization team. Impact: Because of this mismatch: Provisioning profiles created under 8V397ULNY4 cannot find a matching signing certificate Xcode shows “Signing Certificate: None” Xcode reports that the provisioning profile does not include the signing certificate I am unable to run or test the app on physical devices due to signing failures Troubleshooting performed: Deleted all Apple Development certificates from Keychain Access Revoked existing Apple Development certificates in the Apple Developer Portal Created a new Certificate Si
1
0
603
1w
Reply to Spatial Audio: <<<< FigAudioSession(AV) >>>> signalled err=-19224 at <>:612
Thanks so much for the post. Can you provide as much information as possible so the visionOS engineers can take a look about the error in the Audio Session including the code you are using to reproduce the issue. Is it happening on unmodified sample code on a physical Vision Pro? As a developer, you are likely mirroring your Vision Pro to your Mac while debugging with Xcode? When you mirror your screen, visionOS attempts to route audio to the AirPlay receiver (your Mac). The spatial audio engine cannot render 3D audio over a standard stereo AirPlay connection, causing FigAudioSession to crash or throw the -19224 error. Can you provide information is you are AirPlay mirroring from the Vision Pro Control Center. Have you tried the device by itself? How are you using the audio session? Can you post the code? If another app recently used the audio session, or if the system defaulted to .ambient? Add the AVAudioSession.sharedInstance().setCategory(.playback) code. All those details will help engineers fig
Replies
Boosts
Views
Activity
4d
TelephonyMessagingKit drops first SMS at cold launch — race between client XPC handler registration and server pending flush
Hi all, I'm the developer of OV Message, an end-to-end encrypted SMS messaging app already shipped on Google Play (Android, where it natively encrypts SMS content). The iOS port aims to be the default carrier-messaging app, handling SMS, MMS, and RCS through TelephonyMessagingKit with the com.apple.developer.carrier-messaging-app entitlement under the EU programme. While testing the cold-launch flow on iOS 26.x, I've hit a reproducible bug that silently drops the first SMS/MMS/RCS that wakes the app, and I'd like to confirm whether other devs working with this API see the same. The bug When a default carrier-messaging app is force-killed and a message arrives, iOS correctly: Routes the message via CommCenter (IMS in my case — SFR France) Wakes the app in background (state = .background at didFinishLaunchingWithOptions) Acquires a TelephonyMessaging runningboard assertion on the app But CommCenter then pushes the pending message via XPC before the client TMK library has finished registering its messag
Replies
3
Boosts
0
Views
192
Activity
5d
Reply to Xcode now hangs; SDKs are "status unavailable"
Anyone find a solution to this problem? I am having the same issue, I woke up one morning and could not build my iOS app. The components area shows Status unavailable for all my platforms besides macOS. I have no way of re-downloading the runtimes and have gone through steps of rebooting my machine, deleting Xcode and re-installing, clearing out all the cache, downloading older Xcode, etc. I have found no way to get Xcode to build my apps and no way to run an iOS simulator. A very frustrating problem as I have no idea what else I can do. The only thing that seems to have had any reaction in Xcode at all is removing the Images.plist file, but even then I can't get it to the point where I can compile my app. It only gives me the ability to download the iOS platform via a Get button, at which point the actual download hangs.
Replies
Boosts
Views
Activity
5d
Reply to Tap to Pay Entitlement only for development
I have the same problem. My application ID indicates that the Tap to Pay on iPhone option is enabled on the Apple Developer Portal (this feature also appears in the Signature & Capabilities tab of Xcode), and the entitlement file is correctly provided in its project bundle. In development/debug mode, the functionality is available and operational: my application can perform Tap-to-Pay payment simulations via the Stripe PSP, using the Stripe Terminal SDK for SwiftUI. However, Xcode reports that the provisioning profile defined with this application ID for distribution on the App Store and loaded into Xcode does not include the com.apple.developer.proximity-reader.payment.acceptance authorization, even though all configuration settings comply with Apple's documentation guidelines. I've regenerated the profile several times without success (and when I use Automatically Manage Signing in Xcode, attempting to distribute an archive to Release Testing (TestFlight) generates an
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
5d
Xcode 26.4.1, iOS 26.4.2, watchOS 26.4, Apple Watch Ultra 3 not appearing as development device.
Xcode 26.4.1, iOS 26.4.2, watchOS 26.4, Apple Watch Ultra 3 not appearing as development device. Can't do any IWatch development
Replies
3
Boosts
0
Views
149
Activity
5d
Reply to Xcode 26.4.1, iOS 26.4.2, watchOS 26.4, Apple Watch Ultra 3 not appearing as development device.
@steveoyoung Thanks for the post. Looks at the documentation provided, on watchOS when the iPhone is on developer mode, then you just need to tap trust: In watchOS, tap Turn On. Tap Trust in the next dialog, if it appears, and enter your device passcode to confirm. https://developer.apple.com/documentation/xcode/enabling-developer-mode-on-a-device Hope this helps Albert
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
5d
Reply to Xcode 26 fails to load SPM packages
Just wanted to add that defaults write com.apple.dt.Xcode IDEPackageSupportUseBuiltinSCM YES fixed this problem for me in Xcode 26 as well, which refused to update private packages from BitBucket Cloud.
Replies
Boosts
Views
Activity
5d
Xcode 26 fails to load SPM packages
For me it looks like Xcode 26 has problems reading SPM packages from a locally hosted BitBucket git solution. While Xcode 16 work perfectly fine, Xcode 26 fails to load and gives Server SSH Fingerprint Failed to Verify as error description. Cleaning build data and DerivedData sometimes makes loading work. Any change in Package dependencies will break it again. Anyone having same problems? How do you handle it?
Replies
13
Boosts
0
Views
1.4k
Activity
5d
StoreKit 2: Transaction.all and Transaction.currentEntitlements return empty for valid non-consumable purchases in production
FB: https://feedbackassistant.apple.com/feedback/22556883 We're seeing a small number of production users where both Transaction.currentEntitlements and Transaction.all return zero transactions for a valid, active, non-refunded non-consumable IAP. This makes it impossible to restore the purchase via any StoreKit 2 API. Environment: Xcode 26.4 (Build 17E192) iOS 26.4.1 Direct call to SK2 Transactions.all & Flutter in_app_purchase package v3.2.3 (uses SK2 on iOS 15+) Non-consumable IAP (one-time purchase) What we observe: AppStore.sync() triggers but the purchase stream returns 0 transactions Transaction.all returns empty Transaction.currentEntitlements also returns empty User is confirmed on the correct Apple ID Issue reproduces on both iPhone and Mac for the same Apple ID Issue appears to have started recently for users who previously had no problems Debug log from affected production user: [2026-04-20T08:50:10.744115Z] init: iapAvailable=true [2026-04-20T08:50:10.744566Z] init: isPremium=false [
Replies
13
Boosts
0
Views
727
Activity
6d
Reply to Xcode 15 not finding iOS 17 devices
5/3/26. MacOS Tahoe 26.3.1 XCode 26.4.1 ISSUE: Problem connecting my iPhone to XCode. My Apple watch connects but not my iPhone. My iPhone is a Model 12 Pro Max. I have it connected to the Mac Mini via a cable. The iPhone shows up in Finder. Xcode reason for inability to connect is a previous preparation error: The tunnel connection failed while the system tried to connect to the device”. WHAT DID NOT WORK: Restarted Mac & iPhone. Plugged and unplugged cables. Deleted Derived Data folder & Provisioning Profiles data and then restarted XCode. WHAT DID WORK: Settings>Developer>Networking…toggle on Network Link Conditioner…Test Responsiveness Result was almost immediate…Device disappeared and then reappeared in XCode under Devices and Simulators fully operational…no reboot or repairing needed.
Replies
Boosts
Views
Activity
6d
Xcode 15 not finding iOS 17 devices
I have a brand new iPhone 15 with iOS 17, paired with a watch on WatchOS10. In devices and simulators, the iPhone 15 and Watch 10 device show up as disconnected (with the globe icon I think is what it is?) and if I click on either of them, that icon changes to a spinner, and the main window says Xcode will continue when the operation completes, but it NEVER completes. This makes the device not usable for development. In addition, I have updated my iPad to iOS17, and it doesn't even show up at all in the devices and simulator list, even though it is enabled for developer mode. I have toggled developer mode off and on (thus rebooting). I have quit and restarted Xcode. I have even rebooted the Mac. Nothing helps. This is incredibly frustrating.
Replies
12
Boosts
0
Views
11k
Activity
6d
MEMessageActionHandler — Mail shows "Uninstall only", no enable toggle, consent dialog never fires
I'm implementing a MEMessageActionHandler Mail extension on macOS 26.4.1 (Xcode 26.4). The extension is discovered by Mail and appears in Mail > Settings > Extensions, but Mail shows only an Uninstall button — no enable toggle. The MailKit consent dialog asking permission to process messages in the background has never appeared. Console logs show optedIn: NO / userEnabled: Not Enabled. Extension Info.plist (key parts): NSExtensionPointIdentifier com.apple.email.extension NSExtensionPrincipalClass CheckThisMailExtension.MailExtension MEExtensionCapabilities MEMessageActionHandler Principal class: class MailExtension: NSObject, MEExtension { func handlerForMessageActions() -> any MEMessageActionHandler { return MessageActionHandler() } } Entitlements: app-sandbox: true, application-groups: [group.com.xxx]. App is Developer ID signed and notarized. Has anyone successfully gotten the consent dialog to appear for MEMessageActionHandler on macOS 15/26? Is there something beyond the standard templa
Replies
1
Boosts
0
Views
200
Activity
6d
Reply to TelephonyMessagingKit drops first SMS at cold launch — race between client XPC handler registration and server pending flush
Hi Kevin, Thanks a lot for jumping on this — really appreciate it. I tested the pattern you suggested in a fresh, isolated repro: read isConfiguredForCarrierMessaging first, then delay session creation via a Task.sleep before touching smsService.incomingMessageNotifications. I varied the delay across four values to be thorough. Code shape (full source available, Swift, ~50 lines): let session = TelephonyMessagingSession.shared let configured = session.isConfiguredForCarrierMessaging // PHASE 1 TMKLogger.shared.log(isConfiguredForCarrierMessaging=(configured)) Task.detached(priority: .userInitiated) { try? await Task.sleep(nanoseconds: kDelayMs * 1_000_000) // PHASE 2 let notifications = try session.smsService.incomingMessageNotifications // PHASE 3 for await notification in notifications { TMKLogger.shared.log(✅ SMS received: (notification.message.content.body)) } } Test protocol on each delay: Settings → Apps → Default Messaging → TMKTest Force-kill the app Send two SMS in rapid succession from anot
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Can Xcode Cloud produce a notarized .pkg for a macOS daemon?
I have a macOS app (a background daemon) that I distribute outside the App Store as a .pkg installer. My build process is: Build the app (xcodebuild archive) Sign the app with Developer ID Application Package it with pkgbuild, signed with Developer ID Installer Notarize with notarytool Staple with stapler This works perfectly on my local machine using custom build_pkg.sh. I'm trying to automate this in Xcode Cloud using a ci_post_xcodebuild.sh script so a new build is triggered whenever I push to git repository. The problem is: • security find-identity shows 0 valid identities in the post-build script environment • The archived app has Signature=adhoc (no Developer ID signing) • pkgbuild can't sign the .pkg without a Developer ID Installer certificate • Notarization rejects everything because nothing is signed with Developer ID My question: Is there any way to make Developer ID certificates available in Xcode Cloud's post-build scripts? Or is Xcode Cloud only designed for App Store
Replies
1
Boosts
0
Views
581
Activity
1w
Apple Development Certificate Being Issued Under Wrong Team (Mismatch Between Team IDs)
I am experiencing an issue with Apple Development certificate creation in Xcode for my organization account. Account details: Organization: Jtecx LLC Team ID: 8V397ULNY4 Issue: When I attempt to create a new Apple Development certificate in Xcode under the Jtecx LLC (8V397ULNY4) team, the certificate is consistently generated under a different team: Apple Development: Joseph Salmond (67P4AAZ5TA) This appears to be my personal team, not the organization team. Impact: Because of this mismatch: Provisioning profiles created under 8V397ULNY4 cannot find a matching signing certificate Xcode shows “Signing Certificate: None” Xcode reports that the provisioning profile does not include the signing certificate I am unable to run or test the app on physical devices due to signing failures Troubleshooting performed: Deleted all Apple Development certificates from Keychain Access Revoked existing Apple Development certificates in the Apple Developer Portal Created a new Certificate Si
Replies
1
Boosts
0
Views
603
Activity
1w