Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library won't build, giving error "'init(pemRepresentation:)' is only available in iOS 14.0 or newer" #10

Closed
morpholio opened this issue Oct 18, 2023 · 3 comments

Comments

@morpholio
Copy link

Adding the library to a new Swift or SwiftUI project in Xcode 15 and building yields this error:

'init(pemRepresentation:)' is only available in iOS 14.0 or newer

The deployment target for the sample app is iOS 17 (changing it has no effect). Using Xcode 15.0 (15A240d).

@alexanderjordanbaker
Copy link
Collaborator

Hello @morpholio. Are you attempting to use this library inside an app within XCode? Or run this as part of a server written in Swift

@morpholio
Copy link
Author

Yes, attempting to use the library inside an app within XCode

@alexanderjordanbaker
Copy link
Collaborator

What feature are you attempting to use within the app? This library is only designed to work for Swift on Server, the StoreKit framework on device generally does everything this library would do that is doable on a device, but if you describe more about your use-case I can investigate further

@alexanderjordanbaker alexanderjordanbaker closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants