-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SANDBOX] StoreKit config not working when using Xcode 14/iOS 16 beta 3 #1765
Comments
Hey @ZeeWanderer, thanks for the detailed issue. It's definitely possible this was broken in the latest xcode beta release. I'll try it out myself, but need to download beta 3 first 😅 will report back here once done! |
Hey @ZeeWanderer, quick update -- we confirmed that StoreKit config files work for our sample app in Xcode 14 beta 3 +ios 16 beta 3. We did see the method Looking at the logs, it appears that the successful ios16/xcode14 run didn't make an SKProductsRequest because our SDK already cached products on the device. The SKProductsRequest is the one that fails later on. Can you please confirm whether the iOS 16/Xcode 14/useStoreKit2IfEnabled true combination still works after uninstalling and reinstalling the app? |
Yes, iOS 16/Xcode 14/useStoreKit2IfEnabled true combination works with clean app install. Log still says |
Hey @ZeeWanderer actually don't worry about the caching thing. Turns out we are just missing a I'm still unable to reproduce...perhaps you could Xcode beta 4? |
On Xcode 14 beta 4 and iOS 16 beta 4 still the same thing. Without SK2 enabled using the StoreKit config results in fetching error. |
Heya, we've got a broader testing initiative for iOS 16 compatibility that we're going to be doing when the GM is available. Unfortunately, we haven't been able to reproduce this yet but we're going to keep trying. For now, I'd suggest using |
…turns an error This will help figure out the reason behind #1765. We were currently ignoring the error returned by `ProductsManager`.
Thanks a lot for attaching those logs. That made me realize that we were not exposing the underlying error returned by |
…turns an error (#1792) This will help figure out the reason behind #1765. We were currently ignoring the error returned by `ProductsManager`. In the example below, we can see the underlying issue is `SKErrorDomain` code 5. ### Before: > Error fetching offerings - The operation couldn’t be completed. (RevenueCat.OfferingsManager.Error error 1.) ### After: > Error fetching offerings - The operation couldn’t be completed. (RevenueCat.OfferingsManager.Error error 1.) _**Underlying error: The operation couldn’t be completed. (SKErrorDomain error 5.)**_ ERROR: 😿‼️ There is an issue with your configuration. Check the underlying error for more details. There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Configuration file if one is being used). More information: https://rev.cat/why-are-offerings-empty
That PR was just merged. We're not sure when the next release will be out, but if you're able to test with |
Here is the log for main (9b5b3f2), no SK2 and clean install: |
@ZeeWanderer are you still seeing this issue on Xcode 14 RC? |
@NachoSoto Yes, it still requires SK2 to work with store kit config. |
I recommend filing a Feedback with Apple if you're still seeing this issue, as it's likely an Xcode bug. |
This issue has been automatically locked due to no recent activity after it was closed. Please open a new issue for related reports. |
Describe the bug
StoreKit configuration file stopped working on XCode 14 beta 3 + iOS 16 beta 3, the same configuration works on XCode 13.4.1 + IOS 15.5. I tried resaving public testing certificate with beta xcode but it produces the same file. I also tried recreating Config file with Xcode 14. Logs attached, thou logs for ios15.5+Xcode13.4.1 are from a simulator as rn i don't have a real device with 15.X to produce the log.
useStoreKit2IfEnabled
) (Y/N): NAdditional context
Add any other context about the problem here.
EDIT:
If StoreKit 2 is enabled the config works fine
log: RC_ios16.b3+Xcode14.b3+SK2.log
The text was updated successfully, but these errors were encountered: