Combined with the ideas of Air Hockey and billiards pool, I made a one-touch-control and super fun game using UIKit + SpriteKit on iOS.
The ios version of my game "Air Smash Air Hockey" is already on App Store now. Here’s the link if Anyone wanna give it a try.
I need to create an App ID for iOS on the developer page and enable “Mac” under capabilities section, so that I can build a Mac Catalyst app from the Xcode project of iOS app.
I can use the same App ID created on the developer page before for both iOS and Mac app. The bundle ID is generated automatically for the Mac Catalyst app.
According to the Apple’s Xcode Help, we need a separate set of In-App Purchases for Mac Catalyst. They are treated as two separate apps. If this is a paid app, users need to pay again to get the same app on Mac 😟
They can’t share the same product IDs of In-App Purchases, so I need to make some changes to my source code.
Great, everything looks good. Air Smash is running on macOS Catalina now. It also works in Full Screen mode.
There’s a in-app-purchase bug where I use a sandbox account to purchase a consumable product in the Catalyst app. The transaction will never finish even you have called the finishTransaction. The transaction stays in the payment queue forever.
The Incoming Connections option under the "App Sandbox" section was unchecked for some reasons. Enable this option and the problem is solved.
24 hours since the Mac version of Air Smash went to “Ready for Sale” status in App Store Connect. Its finally on the actual Mac App Store. Why did it take so long, Apple? Haha.