apple / app-store-server-library-swift

MIT License
218 stars 28 forks source link

Add iOS target #53

Closed cntrump closed 4 months ago

alexanderjordanbaker commented 4 months ago

@cntrump This library should never be needed on the client since most of the functions are superseded by the StoreKit framework on device, or just can’t be used because they require a private key, like the App Store Server API or Promotional Offer Signature Creation. If you could share more about your use case, perhaps I can direct you towards the appropriate client-side framework

cntrump commented 4 months ago

If you could share more about your use case, perhaps I can direct you towards the appropriate client-side framework

I want to build a client that can be used by both macOS and iOS. and share the same library.

alexanderjordanbaker commented 4 months ago

@cntrump A client for the App Store Server API? It is not possible to make the private key available on iOS or macOS inside an app because the private key would then be visible to users of your app, not just your server