In-App Purchase Capability - Xcode

The In-App purchase capability is on by default in the “App” template for Corona Enterprise. If I turn this off, I get 4 Apple Mach-O Errors. How do I disable IAP’s without errors?

The functionality of IAP is built into the Corona core, so right now, so the underlying functionality is always there, but it’s only “on” if you access the ‘store’ library functions in Lua. 

Your issue looks like a linker issue. Seems like you removed “StoreKit.framework” from the list of frameworks in your project.

By disabling the In-App Purchase capability, Xcode automatically removes the StoreKit framework. I need that disabled though so the app doesn’t show “In-App Purchases” under the Buy button on the store. I solved this by re-adding the StoreKit framework after turning off the capability.

The functionality of IAP is built into the Corona core, so right now, so the underlying functionality is always there, but it’s only “on” if you access the ‘store’ library functions in Lua. 

Your issue looks like a linker issue. Seems like you removed “StoreKit.framework” from the list of frameworks in your project.

By disabling the In-App Purchase capability, Xcode automatically removes the StoreKit framework. I need that disabled though so the app doesn’t show “In-App Purchases” under the Buy button on the store. I solved this by re-adding the StoreKit framework after turning off the capability.