TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

IAP 2: always loading....

Forums > Videos

Hi

At 26:35, Paul runs a demo, when he tried to create 4th project, the IAP sheet shows.

Mine shows too, but staying in "Loading...." forever.

If I set breakpoint, it seems productsRequest in UnlockManager.swift has never been called, so it has never change to .loaded state.

Does anyone know what could be wrong?

Thank you very much!

p.s. I haven't fully followed MVVM2, but it compiled ok.

I have verified productID is matched in configuration.storekit and Unlockmanager.swift

5      

I would check your code again as when i did worked fine. So maybe an error in your code.

6      

I found the reason when I rewatch video:

I didn't choose "Configuration.storekit" in Run scheme.

5      

Hacking with Swift is sponsored by String Catalog.

SPONSORED Get accurate app localizations in minutes using AI. Choose your languages & receive translations for 40+ markets!

Localize My App

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.