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 Superwall.

SPONSORED Superwall lets you build & test paywalls without shipping updates. Run experiments, offer sales, segment users, update locked features and more at the click of button. Best part? It's FREE for up to 250 conversions / mo and the Superwall team builds out 100% custom paywalls – free of charge.

Learn More

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.