Post

Replies

Boosts

Views

Activity

Reply to Accessing "From my mac" in PhotoKit
Thank you anonymous Framework Engineer, it worked. I had erroneously thought that querying for .album and subtype .any like so: let albums = PHAssetCollection.fetchAssetCollections(with: .album, subtype: .any, options: nil) would fetch for all albums regardless of subtype, including the synced albums, but alas not, you have to query for them specifically. Is this also the case for all the other PHAssetCollectionSubtype subtypes?
Oct ’23
Reply to Accessing "From my mac" in PhotoKit
The bug you describe kai_ is perhaps not a bug, but how Apple intended it to work and is why I was confused about how to fetch synced (non-iCloud) photos in my app. When querying the photo library for photos on the top level, you only get the iCloud photos. It requires querying specifically for synced photos in order to get them. I had assumed that synced photos was a subset of querying for all photos, but no it doesn't work that way and it's not clear at all in the iOS documentation. So Apple will likely reject your feedback and you need to file feedback with the app developers of the apps that are not working for you and refer to this thread - this is what prompted me to start this thread because one of my customers had the same issue as you and now I have fixed it by querying for iTunes/mac synced photos specifically.
Nov ’23
Reply to Simulator in Low Data Mode
Encountering the same issue in iOS 18.1 simulator using the iPhone 16 Pro. iCloud photos will not sync, even if you tap "Sync Now", presumably because of the Low Data Mode. It has not previously been an issue, works fine if I create an iOS 18.0 simulator. How to turn it off?
Oct ’24
Reply to Xcode 26 fails to load SPM packages
Chiming in again with some findings. Reverting to Xcode 26.1 solved the package issue for me I'm using Tahoe 26.3.1 - I have a coworker with same project and Xcode 26.3.1, but using Tahoe 26.1 that does not have the problem. Using Is_kevin's approach using xcodebuild -resolvePackageDependencies, albeit with cleaning the package cache first worked for me on Xcode 26.3.1 too, but is cumbersome
2w
Reply to Accessing "From my mac" in PhotoKit
Thank you anonymous Framework Engineer, it worked. I had erroneously thought that querying for .album and subtype .any like so: let albums = PHAssetCollection.fetchAssetCollections(with: .album, subtype: .any, options: nil) would fetch for all albums regardless of subtype, including the synced albums, but alas not, you have to query for them specifically. Is this also the case for all the other PHAssetCollectionSubtype subtypes?
Replies
Boosts
Views
Activity
Oct ’23
Reply to Accessing "From my mac" in PhotoKit
The bug you describe kai_ is perhaps not a bug, but how Apple intended it to work and is why I was confused about how to fetch synced (non-iCloud) photos in my app. When querying the photo library for photos on the top level, you only get the iCloud photos. It requires querying specifically for synced photos in order to get them. I had assumed that synced photos was a subset of querying for all photos, but no it doesn't work that way and it's not clear at all in the iOS documentation. So Apple will likely reject your feedback and you need to file feedback with the app developers of the apps that are not working for you and refer to this thread - this is what prompted me to start this thread because one of my customers had the same issue as you and now I have fixed it by querying for iTunes/mac synced photos specifically.
Replies
Boosts
Views
Activity
Nov ’23
Reply to Simulator in Low Data Mode
Encountering the same issue in iOS 18.1 simulator using the iPhone 16 Pro. iCloud photos will not sync, even if you tap "Sync Now", presumably because of the Low Data Mode. It has not previously been an issue, works fine if I create an iOS 18.0 simulator. How to turn it off?
Replies
Boosts
Views
Activity
Oct ’24
Reply to Xcode 26 fails to load SPM packages
I have same problem, have even tried creating a new user account on my mac to weed out any funny config in the user account, but with same problem. Yet to find a solution.
Replies
Boosts
Views
Activity
2w
Reply to Xcode 26 fails to load SPM packages
Chiming in again with some findings. Reverting to Xcode 26.1 solved the package issue for me I'm using Tahoe 26.3.1 - I have a coworker with same project and Xcode 26.3.1, but using Tahoe 26.1 that does not have the problem. Using Is_kevin's approach using xcodebuild -resolvePackageDependencies, albeit with cleaning the package cache first worked for me on Xcode 26.3.1 too, but is cumbersome
Replies
Boosts
Views
Activity
2w
Reply to Xcode 26 fails to load SPM packages
Enabling IDEPackageSupportUseBuiltinSCM also worked for me
Replies
Boosts
Views
Activity
5d