Thanks a lot. Your suggestion on generating a UUID and persisting it somewhere seems like a good solution. This could be used to store as the author of the transaction
Note:
identifierForVendor is only for available for iOS
If iOS shows it under manage subscription, then macOS should too. Check App Store > Your account name (bottom left) > Account Settings (top) > Subscriptions. Also are you logged into your Sandbox account? To clear it you don't have to try so hard, there is a clear purchase history option directly on App Store Connect. Note: App Store Connect wouldn't list sandbox purchases.
@maxik I am no expert, I could be wrong. I am not sure if App Store would list Sandbox purchases in your App Store. Have you tried Clearing Purchase History on App Store Connect? I hope an Apple Engineer answers your question.
@maxik Sandbox environment is used for TestFlight based on the documentation and my understanding.
Please refer https://developer.apple.com/documentation/storekit/testing-in-app-purchases-with-sandbox. Quoting from above link:
"Apps in the development and beta-testing stages of your product cycle use the sandbox environment for In-App Purchases. These apps include:
Development-signed apps you build and run from Xcode
Apps you download from TestFlight"
Glad to know you have your own sync between CoreData and CloudKit. Thanks for posting your code, got to applaud the effort of doing this by yourself. Since I am using the built in SwiftData / CloudKit sync, I am hoping that my app allows whatever SwiftData / CloudKit background task had been built for and doesn't block it
You can't create a group under a parent folder. So the parent needs to be converted to a group first in order to be able to a group under it. By default for new projects created with Xcode 16 Beta 3 or higher the top level is a folder (blue). The folder has a blue icon. The group has a yellow icon.
In your case aaa is a blue icon, meaning it is a folder, convert that to a group first and then you will be add groups under it.
locations is maintained by Query, so the order and contents of locations is controlled by Query. So you can't directly reorder locations. Assume your model Location has a field called sortValue then in your Query sort by sortValue and in your move function update the value of sortValue in such a way that would simulate the move.
@BabyJ Pardon my ignorance, I had deleted Xcode Beta 5 completely and downloaded Xcode Beta 6 and tested it. I didn't explicitly download Beta 5 simulators. Having said that I have not tested on the device. Is there a way to find out which simulator beta 5 or 6 simulator I am using?
Thanks a lot. Your suggestion on generating a UUID and persisting it somewhere seems like a good solution. This could be used to store as the author of the transaction
Note:
identifierForVendor is only for available for iOS
If iOS shows it under manage subscription, then macOS should too. Check App Store > Your account name (bottom left) > Account Settings (top) > Subscriptions. Also are you logged into your Sandbox account? To clear it you don't have to try so hard, there is a clear purchase history option directly on App Store Connect. Note: App Store Connect wouldn't list sandbox purchases.
@maxik I am no expert, I could be wrong. I am not sure if App Store would list Sandbox purchases in your App Store. Have you tried Clearing Purchase History on App Store Connect? I hope an Apple Engineer answers your question.
@maxik Sandbox environment is used for TestFlight based on the documentation and my understanding.
Please refer https://developer.apple.com/documentation/storekit/testing-in-app-purchases-with-sandbox. Quoting from above link:
"Apps in the development and beta-testing stages of your product cycle use the sandbox environment for In-App Purchases. These apps include:
Development-signed apps you build and run from Xcode
Apps you download from TestFlight"
Glad to know you have your own sync between CoreData and CloudKit. Thanks for posting your code, got to applaud the effort of doing this by yourself. Since I am using the built in SwiftData / CloudKit sync, I am hoping that my app allows whatever SwiftData / CloudKit background task had been built for and doesn't block it
You can't create a group under a parent folder. So the parent needs to be converted to a group first in order to be able to a group under it. By default for new projects created with Xcode 16 Beta 3 or higher the top level is a folder (blue). The folder has a blue icon. The group has a yellow icon.
In your case aaa is a blue icon, meaning it is a folder, convert that to a group first and then you will be add groups under it.
locations is maintained by Query, so the order and contents of locations is controlled by Query. So you can't directly reorder locations. Assume your model Location has a field called sortValue then in your Query sort by sortValue and in your move function update the value of sortValue in such a way that would simulate the move.
@BabyJ Pardon my ignorance, I had deleted Xcode Beta 5 completely and downloaded Xcode Beta 6 and tested it. I didn't explicitly download Beta 5 simulators. Having said that I have not tested on the device. Is there a way to find out which simulator beta 5 or 6 simulator I am using?