Search results for

“xcode github”

96,032 results found

Post

Replies

Boosts

Views

Activity

Reply to Xcode 26 Causing StoreKit Fiasco for macOS?
@BigBalli Thanks, BigBalli. It's not about the product identifier because an old Mac App Store application that has been available also fails in the same manner. Also, it's not about the configuration, because, I created a new one, but an old Mac App Store application still manages to fail in the same manner. The current situation is a total mess. I guess I should not have installed Xcode 26. Now, I cannot even sign in and out of an iCloud account so easily. The System keeps running a progress wheel for an hour. I'm bending towards buying a new Mac mini. I'm waiting for a new model with M5.
Topic: App & System Services SubTopic: StoreKit Tags:
2w
SwiftData error: NSKeyedUnarchiveFromData' should not be used to for un-archiving and will be removed in a future release
I am using SwiftData for my model. Until Xcode 15 beta 4 I did not have issues. Since beta 5 I am receiving the following red warning multiple times: 'NSKeyedUnarchiveFromData' should not be used to for un-archiving and will be removed in a future release This seems to be a CoreData warning. However, I am not using CoreData directly. I have no way to change the config of CoreData as used by SwiftData. My model just uses UUID, Int, String, Double, some of them as optionals or Arrays. I only use one attribute (.unique).
9
0
3.7k
2w
2 iPhones connected to mac, XCode doesnt recognize them
Hello together. Since a few weeks I have the problem, that both of my iPhones (iPhone 15 with iOS 26.4.1 and an iPhone Xs with iOS 18.7.4) are NOT recognized by xcode, but are visible in Mac Finder this is what xcode shows: When I click on that I see this: and in finder: I tried everyhting I re-installed XCode 5 times and deleted ALL XCode folders manually I restarted all devices and today I completely reinstalled my mac My Macbook has iOS 26.4.1 as well and XCode is freshly installed from App Store
1
0
68
2w
HKObserverQuery BackgroundDelivery not executed
Hi, I'm having the same issue described in https://developer.apple.com/forums/thread/690974?page=2. When connected to Xcode or when the app is in the foreground, HKObserverQuery fires correctly and my app processes step updates. But once disconnected from Xcode, background delivery stops completely and the observer callback is never called. My setup: com.apple.developer.healthkit.background-delivery entitlement is present and in the provisioning profile enableBackgroundDelivery(for: .stepCount, frequency: .immediate) returns success = true HKObserverQuery is registered on every launch including background launches I also have CMPedometer.startEventUpdates running as a supplemental trigger Background Modes includes Background fetch and Background processing Device: iPhone, iOS 17.4+ App type: App uses Screen Time / Family Controls (ManagedSettings) to block apps until a step goal is met Has anyone found a reliable fix? Any feedback from Apple engineers would be appreciated.
1
0
190
2w
StoreKit Configuration Not Syncing to Xcode
Hello! I am attempting to add Subscriptions to an App that Is already published on the App Store. I cannot get Xcode to actually sync what is in my App Store Connect. When adding the Storekit configuration file, I go through the automatic linking process and select the proper bundleID. The configuration file says 'Synced @ [CurrentTime]' however there are no subscriptions listed in there. I have attempted deleting the file several times, creating a new subscription group. With no success. Do I need to publish the subscriptions without the features first? Upon attempting to write the supporting code that will enable these features within the app, I cannot get Xcode to identify that I have these subscriptions. I have also tried pushing these to TestFlight, still with no success. Thank you.
14
0
1.8k
2w
Reply to StoreKit Configuration Not Syncing to Xcode
The Synced @ [time] timestamp updating while content stays empty is one of those bugs where everything looks correct and nothing works. A few things that usually fix it: Most common cause: the subscriptions in App Store Connect aren't fully configured. The sync only pulls subscriptions that have localization, pricing, and review info all filled in for at least one language. If any single one of those is missing, that subscription gets silently skipped. Open each subscription in App Store Connect and look for red Missing Metadata warnings. The subscription group itself matters. Xcode pulls the group along with the subscriptions. If the group has no localization (display name, level), nothing under it comes across. Sign out and back into your Apple ID in Xcode > Settings > Accounts. The auth token for the App Store Connect API can go stale and the sync silently fails for one team while appearing to succeed. If none of that helps, just build the .storekit file manually. It's usually faste
Topic: App & System Services SubTopic: StoreKit Tags:
2w
AppStore.sync() not restoring purchases
On an app that was using the old API for In-App Purchases (StoreKit 1). The app is already published on the App Store. The purchase is non-consumable. While trying to migrate to StoreKit 2, I'm unable to restore purchases. Specifically displaying and purchasing products works as expected, but when deleting and reinstalling the app, and then trying to restore purchases I can't do it. I'm trying to restore them using the new APIs but it doesn't seem to be working. What I have tried so far: I'm listening for transaction updates during the whole lifetime of the app, with: Task.detached { for await result in Transaction.updates { if case let .verified(safe) = result { } } } I have a button that calls this method, but other than prompting to log in again with the Apple ID it doesn't seem to have any effect at all: try? await AppStore.sync() This doesn't return any item for await result in Transaction.currentEntitlements { if case let .verified(transaction) = result { } } This doesn't return any item for await resul
3
0
1.9k
2w
Xcode 26.4 Editor UI Changes creating problems
Objective C projects, if that matters, but several useful editing features were removed, but the biggest issues relate to Storyboards. Action buttons were moved all around. Not sure why it was changed, as the new layout is not intuitive at all. Loading of storyboards is amazingly slow. It's been getting worse for several revisions, but it is really bad now. Connecting from the storyboard to code is non functional with this revision. Connections have to be done from the code to the storyboard only, which means all the code has to be done before storyboard changes. This is much less efficient for coding. Really dislike 26.4 editing changes. You are making our jobs harder, not easier.
1
0
71
2w
Live Activity updates not received on iPhone 16 Pro Max when started via ActivityKit push
Description When starting Live Activities via ActivityKit push notifications, the “start” notification is received correctly on iPhone 16 Pro Max, but subsequent update or end push notifications are not. The same implementation on iPhone 16 Pro behaves as expected (both start and update/end notifications are delivered and processed). Environment Property Value Device (failing) iPhone 16 Pro Max Device (working) iPhone 16 Pro iOS Version 18.5 Xcode / SDK 16.2/ActivityKit / Push Notifications Network Wi-Fi / Cellular (both tested) Data Collection Method Devices connected via USB. Logs captured using Console.app. Log filtering applied for the liveactivitiesd daemon to isolate Live Activity behavior. Initial Triage/Observations Payload format confirmed compatible; no incompatible fields. APNs token remains the same across messages (no refresh). Identical ActivityKit subscriptions/participants on both devices. Server-side delivery is confirmed: iPhone 16 Pro receives all messages (start, update, end). Onl
2
0
298
2w
Reply to Xcode 26 Causing StoreKit Fiasco for macOS?
Sounds like a frustrating regression. Before chalking it up to a bug, a few things worth trying: The transaction cache in Xcode's StoreKit environment gets into weird states after major version upgrades. From Xcode, open Debug > StoreKit > Manage Transactions, delete everything in there, then clean build folder (Shift-Cmd-K), nuke DerivedData, and restart Xcode. On the running target, delete the app entirely before re-running. Second, check your scheme's StoreKit configuration setting. The Xcode 16 to 26 migration has been resetting StoreKit Configuration to None on some projects. Edit Scheme > Run > Options, confirm your .storekit file is still selected. Third, when purchases silently fail without even showing the confirmation sheet, it's usually the store failing to resolve the product ID. Open the .storekit file, hit the refresh/sync icon, and confirm every product identifier matches what your code requests exactly (it's case-sensitive). Did macOS also update
Topic: App & System Services SubTopic: StoreKit Tags:
2w
Reply to Icon Composer: Any way to add icons to the app bundle for older macOS versions?
Does anyone have an update about this for Xcode 26.3/26.4? I'm finally getting around to updating my app's icon with Icon Composer and Liquid Glass for Tahoe. But now my app looks very out of place in Sequoia and earlier. I figured it'd be easy to just keep my old icon along side my new Tahoe icon so my app looks correct under both new and Legacy OS's. But I cannot for the life of me get this to work, and it's maddening. I've wasted well over half a day on this problem. Is there a known solution? Surely there must be a way, as the very latest builds of both Safari and Chrome have different icons in Sequoia and Tahoe.
2w
Reply to Issue where images from local paths cannot be retrieved in Cordova Webview starting from iOS 26.4
Thanks for your post and your insight on this one. Based on the code snippet and the behavior you are describing in WKWebView, I’m sure the issue is as you describe caused by appending a query string (? + timestamp) to a file:// URI. Xcode does not handle HTML and modifies the WKWebView. Is after the tools and developers to set the HTML to display on the WKWebView. Unlike http:// or https:// URLs, file:// URIs do not natively support query parameters, appending ?1776643364151 causes the system to look for a file literally named profile_image.jpg?1776643364151 on the disk. Because that file doesn't exist, WKWebView returns a broken image? I believe is important to highlight the 3rd party tool you are using is the one that generates the custom HTML? When loading your local HTML file, and does not ensure the allowingReadAccessTo parameter points to a directory high enough in the file tree to encompass both your HTML files and your saved images. I suggest you first check with the third-party tool, as the
Topic: Safari & Web SubTopic: General Tags:
2w
Reply to Xcode 26 Causing StoreKit Fiasco for macOS?
@BigBalli Thanks, BigBalli. It's not about the product identifier because an old Mac App Store application that has been available also fails in the same manner. Also, it's not about the configuration, because, I created a new one, but an old Mac App Store application still manages to fail in the same manner. The current situation is a total mess. I guess I should not have installed Xcode 26. Now, I cannot even sign in and out of an iCloud account so easily. The System keeps running a progress wheel for an hour. I'm bending towards buying a new Mac mini. I'm waiting for a new model with M5.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
2w
Reply to SwiftData error: NSKeyedUnarchiveFromData' should not be used to for un-archiving and will be removed in a future release
This issue is still present in April 2026 with Xcode 26.4.1 and iOS 26.4.1.
Replies
Boosts
Views
Activity
2w
SwiftData error: NSKeyedUnarchiveFromData' should not be used to for un-archiving and will be removed in a future release
I am using SwiftData for my model. Until Xcode 15 beta 4 I did not have issues. Since beta 5 I am receiving the following red warning multiple times: 'NSKeyedUnarchiveFromData' should not be used to for un-archiving and will be removed in a future release This seems to be a CoreData warning. However, I am not using CoreData directly. I have no way to change the config of CoreData as used by SwiftData. My model just uses UUID, Int, String, Double, some of them as optionals or Arrays. I only use one attribute (.unique).
Replies
9
Boosts
0
Views
3.7k
Activity
2w
2 iPhones connected to mac, XCode doesnt recognize them
Hello together. Since a few weeks I have the problem, that both of my iPhones (iPhone 15 with iOS 26.4.1 and an iPhone Xs with iOS 18.7.4) are NOT recognized by xcode, but are visible in Mac Finder this is what xcode shows: When I click on that I see this: and in finder: I tried everyhting I re-installed XCode 5 times and deleted ALL XCode folders manually I restarted all devices and today I completely reinstalled my mac My Macbook has iOS 26.4.1 as well and XCode is freshly installed from App Store
Replies
1
Boosts
0
Views
68
Activity
2w
HKObserverQuery BackgroundDelivery not executed
Hi, I'm having the same issue described in https://developer.apple.com/forums/thread/690974?page=2. When connected to Xcode or when the app is in the foreground, HKObserverQuery fires correctly and my app processes step updates. But once disconnected from Xcode, background delivery stops completely and the observer callback is never called. My setup: com.apple.developer.healthkit.background-delivery entitlement is present and in the provisioning profile enableBackgroundDelivery(for: .stepCount, frequency: .immediate) returns success = true HKObserverQuery is registered on every launch including background launches I also have CMPedometer.startEventUpdates running as a supplemental trigger Background Modes includes Background fetch and Background processing Device: iPhone, iOS 17.4+ App type: App uses Screen Time / Family Controls (ManagedSettings) to block apps until a step goal is met Has anyone found a reliable fix? Any feedback from Apple engineers would be appreciated.
Replies
1
Boosts
0
Views
190
Activity
2w
StoreKit Configuration Not Syncing to Xcode
Hello! I am attempting to add Subscriptions to an App that Is already published on the App Store. I cannot get Xcode to actually sync what is in my App Store Connect. When adding the Storekit configuration file, I go through the automatic linking process and select the proper bundleID. The configuration file says 'Synced @ [CurrentTime]' however there are no subscriptions listed in there. I have attempted deleting the file several times, creating a new subscription group. With no success. Do I need to publish the subscriptions without the features first? Upon attempting to write the supporting code that will enable these features within the app, I cannot get Xcode to identify that I have these subscriptions. I have also tried pushing these to TestFlight, still with no success. Thank you.
Replies
14
Boosts
0
Views
1.8k
Activity
2w
Reply to StoreKit Configuration Not Syncing to Xcode
The Synced @ [time] timestamp updating while content stays empty is one of those bugs where everything looks correct and nothing works. A few things that usually fix it: Most common cause: the subscriptions in App Store Connect aren't fully configured. The sync only pulls subscriptions that have localization, pricing, and review info all filled in for at least one language. If any single one of those is missing, that subscription gets silently skipped. Open each subscription in App Store Connect and look for red Missing Metadata warnings. The subscription group itself matters. Xcode pulls the group along with the subscriptions. If the group has no localization (display name, level), nothing under it comes across. Sign out and back into your Apple ID in Xcode > Settings > Accounts. The auth token for the App Store Connect API can go stale and the sync silently fails for one team while appearing to succeed. If none of that helps, just build the .storekit file manually. It's usually faste
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
2w
AppStore.sync() not restoring purchases
On an app that was using the old API for In-App Purchases (StoreKit 1). The app is already published on the App Store. The purchase is non-consumable. While trying to migrate to StoreKit 2, I'm unable to restore purchases. Specifically displaying and purchasing products works as expected, but when deleting and reinstalling the app, and then trying to restore purchases I can't do it. I'm trying to restore them using the new APIs but it doesn't seem to be working. What I have tried so far: I'm listening for transaction updates during the whole lifetime of the app, with: Task.detached { for await result in Transaction.updates { if case let .verified(safe) = result { } } } I have a button that calls this method, but other than prompting to log in again with the Apple ID it doesn't seem to have any effect at all: try? await AppStore.sync() This doesn't return any item for await result in Transaction.currentEntitlements { if case let .verified(transaction) = result { } } This doesn't return any item for await resul
Replies
3
Boosts
0
Views
1.9k
Activity
2w
Xcode 26.4 Editor UI Changes creating problems
Objective C projects, if that matters, but several useful editing features were removed, but the biggest issues relate to Storyboards. Action buttons were moved all around. Not sure why it was changed, as the new layout is not intuitive at all. Loading of storyboards is amazingly slow. It's been getting worse for several revisions, but it is really bad now. Connecting from the storyboard to code is non functional with this revision. Connections have to be done from the code to the storyboard only, which means all the code has to be done before storyboard changes. This is much less efficient for coding. Really dislike 26.4 editing changes. You are making our jobs harder, not easier.
Replies
1
Boosts
0
Views
71
Activity
2w
Live Activity updates not received on iPhone 16 Pro Max when started via ActivityKit push
Description When starting Live Activities via ActivityKit push notifications, the “start” notification is received correctly on iPhone 16 Pro Max, but subsequent update or end push notifications are not. The same implementation on iPhone 16 Pro behaves as expected (both start and update/end notifications are delivered and processed). Environment Property Value Device (failing) iPhone 16 Pro Max Device (working) iPhone 16 Pro iOS Version 18.5 Xcode / SDK 16.2/ActivityKit / Push Notifications Network Wi-Fi / Cellular (both tested) Data Collection Method Devices connected via USB. Logs captured using Console.app. Log filtering applied for the liveactivitiesd daemon to isolate Live Activity behavior. Initial Triage/Observations Payload format confirmed compatible; no incompatible fields. APNs token remains the same across messages (no refresh). Identical ActivityKit subscriptions/participants on both devices. Server-side delivery is confirmed: iPhone 16 Pro receives all messages (start, update, end). Onl
Replies
2
Boosts
0
Views
298
Activity
2w
Reply to Xcode 26 Causing StoreKit Fiasco for macOS?
Sounds like a frustrating regression. Before chalking it up to a bug, a few things worth trying: The transaction cache in Xcode's StoreKit environment gets into weird states after major version upgrades. From Xcode, open Debug > StoreKit > Manage Transactions, delete everything in there, then clean build folder (Shift-Cmd-K), nuke DerivedData, and restart Xcode. On the running target, delete the app entirely before re-running. Second, check your scheme's StoreKit configuration setting. The Xcode 16 to 26 migration has been resetting StoreKit Configuration to None on some projects. Edit Scheme > Run > Options, confirm your .storekit file is still selected. Third, when purchases silently fail without even showing the confirmation sheet, it's usually the store failing to resolve the product ID. Open the .storekit file, hit the refresh/sync icon, and confirm every product identifier matches what your code requests exactly (it's case-sensitive). Did macOS also update
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
2w
Reply to Icon Composer: Any way to add icons to the app bundle for older macOS versions?
No solution afaik. I am still on Xcode 26.0.1 because of this. My plan is to simply drop pre-Tahoe (and Intel) support for newer versions of my stuff when macOS 27 lands and leave all this mess behind. :)
Replies
Boosts
Views
Activity
2w
Reply to Icon Composer: Any way to add icons to the app bundle for older macOS versions?
Does anyone have an update about this for Xcode 26.3/26.4? I'm finally getting around to updating my app's icon with Icon Composer and Liquid Glass for Tahoe. But now my app looks very out of place in Sequoia and earlier. I figured it'd be easy to just keep my old icon along side my new Tahoe icon so my app looks correct under both new and Legacy OS's. But I cannot for the life of me get this to work, and it's maddening. I've wasted well over half a day on this problem. Is there a known solution? Surely there must be a way, as the very latest builds of both Safari and Chrome have different icons in Sequoia and Tahoe.
Replies
Boosts
Views
Activity
2w
Reply to Issue where images from local paths cannot be retrieved in Cordova Webview starting from iOS 26.4
Thanks for your post and your insight on this one. Based on the code snippet and the behavior you are describing in WKWebView, I’m sure the issue is as you describe caused by appending a query string (? + timestamp) to a file:// URI. Xcode does not handle HTML and modifies the WKWebView. Is after the tools and developers to set the HTML to display on the WKWebView. Unlike http:// or https:// URLs, file:// URIs do not natively support query parameters, appending ?1776643364151 causes the system to look for a file literally named profile_image.jpg?1776643364151 on the disk. Because that file doesn't exist, WKWebView returns a broken image? I believe is important to highlight the 3rd party tool you are using is the one that generates the custom HTML? When loading your local HTML file, and does not ensure the allowingReadAccessTo parameter points to a directory high enough in the file tree to encompass both your HTML files and your saved images. I suggest you first check with the third-party tool, as the
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
2w
Claude keeps logging out
Hi, I'm running Xcode version 26.0.1 (17A400). Every time I restart Xcode, it seems to not recognize my Claude login anymore, and I have to go through the whole authentication flow again. It's quite annoying. Does anyone have a solution for it?
Replies
5
Boosts
0
Views
430
Activity
2w