I have sent my app to Apple review, they accepted the macOS version of the app, and rejected the iOS version. So I tried the subscription again within Xcode, and actually, it's running successfully with the macOS, while it is not on iOS (Simulator). The code to do the purchasing for macOS and iOS is nearly the same.
Please see attached:
Apple review
Screenshot of their test
Screenshot of my test (Xcode log)