Post

Replies

Boosts

Views

Activity

Reply to StoreKit purchase failed with UI anchor
I think I roughly understand what’s going on. If you’re using UIKit, the idiots suggest you use confirmIn(scene:), and the purchase(options:) method doesn’t throw any warnings — it works fine in UIKit. So what’s the point of all these warning messages? I haven’t seen any, or if I did, I didn’t pay attention to them. It gives the illusion that it’s related to visionOS. The confirmIn(scene:) method is useless for apps that use AppDelegate because those apps don’t have a scene or getting access to the scene is not straightforward. Therefore, older apps that use AppDelegate + UIKit + StoreKit 2 could only use the purchase(options:) method. It seems that in iOS 18.2, these idiots realized this issue and introduced the confirmIn(viewController:) method as a workaround. Adding this new method is fine, but they should ensure that the purchase(options:) method continues to work as expected. Instead, they just outright disabled it! I don’t think this is a bug — I believe they did this intentionally.
Topic: App & System Services SubTopic: StoreKit Tags:
Jan ’25
Reply to I am unable to run my iPad app on the Vision Pro simulator
My problem is solved: 1 main project: Switch to the "Build Settings" tab. Find the "Architectures" and "Valid Architectures" settings and make sure x86_64 has been removed. Add x86_64 to "Excluded Architectures" to ensure Xcode doesn't try to compile for this architecture. 2 Pods project: To be in Podfile: config.build_settings['VALID_ARCHS[sdk=iphonesimulator*]'] = 'arm64e arm64' config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'x86_64' 3 The most important: When facing xcode, remember to clear DerivedData. This is the most very very very important thing.
Jan ’24
Reply to User cannot purchase in app after upgrading iOS system with StoreKit
Give it a try https://forums.developer.apple.com/forums/thread/770751?answerId=819978022#819978022
Replies
Boosts
Views
Activity
Jan ’25
Reply to StoreKit 2.0 keep throwing unknown error.
https://forums.developer.apple.com/forums/thread/770751?answerId=819978022#819978022
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to StoreKit purchase failed with UI anchor
I think I roughly understand what’s going on. If you’re using UIKit, the idiots suggest you use confirmIn(scene:), and the purchase(options:) method doesn’t throw any warnings — it works fine in UIKit. So what’s the point of all these warning messages? I haven’t seen any, or if I did, I didn’t pay attention to them. It gives the illusion that it’s related to visionOS. The confirmIn(scene:) method is useless for apps that use AppDelegate because those apps don’t have a scene or getting access to the scene is not straightforward. Therefore, older apps that use AppDelegate + UIKit + StoreKit 2 could only use the purchase(options:) method. It seems that in iOS 18.2, these idiots realized this issue and introduced the confirmIn(viewController:) method as a workaround. Adding this new method is fine, but they should ensure that the purchase(options:) method continues to work as expected. Instead, they just outright disabled it! I don’t think this is a bug — I believe they did this intentionally.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to I am unable to run my iPad app on the Vision Pro simulator
My problem is solved: 1 main project: Switch to the "Build Settings" tab. Find the "Architectures" and "Valid Architectures" settings and make sure x86_64 has been removed. Add x86_64 to "Excluded Architectures" to ensure Xcode doesn't try to compile for this architecture. 2 Pods project: To be in Podfile: config.build_settings['VALID_ARCHS[sdk=iphonesimulator*]'] = 'arm64e arm64' config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'x86_64' 3 The most important: When facing xcode, remember to clear DerivedData. This is the most very very very important thing.
Replies
Boosts
Views
Activity
Jan ’24
Reply to I am unable to run my iPad app on the Vision Pro simulator
I have the same issue too....
Replies
Boosts
Views
Activity
Jan ’24
Reply to This method should not be called on the main thread as it may lead to UI unresponsiveness.
me too
Replies
Boosts
Views
Activity
Sep ’22