TPInAppReceipt icon indicating copy to clipboard operation
TPInAppReceipt copied to clipboard

Module 'TPInAppReceipt' was not compiled with library evolution support; using it means binary compatibility for 'MyStoreKit' can't be guaranteed

Open jsloop42 opened this issue 6 months ago • 0 comments

Expected Behavior

TPInAppReceipt should be compatible with multiplatform framework inclusion.

Current Behavior

Module 'TPInAppReceipt' was not compiled with library evolution support; using it means binary compatibility for 'MyStoreKit' can't be guaranteed

Possible Solution

May be set BUILD_LIBRARY_FOR_DISTRIBUTION to YES. Need testing.

Steps to Reproduce (for bugs)

  1. Create a multiplatform framework
  2. Add TPinAppReceipt as a Swift Package and import it in a Swift file
  3. This causes the warning Module 'TPInAppReceipt' was not compiled with library evolution support; using it means binary compatibility for 'MyStoreKit' can't be guaranteed

Context

I am trying to create a framework that includes this library.

Your Environment

  • Version used: 3.4.1
  • Environment name and version (device, simulator): -
  • Operating System and version (iOS, osx): macOS Sequoia
  • Link to your project: -

jsloop42 avatar Apr 01 '25 06:04 jsloop42