bizz84 / SwiftyStoreKit

Lightweight In App Purchases Swift framework for iOS 8.0+, tvOS 9.0+ and macOS 10.10+ ⛺
MIT License
6.55k stars 796 forks source link

How can I install manually (without Cocoapods/Carthage)? #296

Open mr746866 opened 6 years ago

mr746866 commented 6 years ago

Is it enough to just import the library files (.swift, .h, .plist)?

Not everybody likes to use Cocoapods/Carthage. Please add a guideline for manual installation.

bizz84 commented 6 years ago

@mr746866 Apologies for the late reply.

One way would be to install as a submodule. You're right, this should be documented, I'll see when I get a chance.

mr746866 commented 6 years ago

Just copying the source files and adding them to target seems to work for me.

bizz84 commented 6 years ago

@mr746866 this works, but is not recommended as this will give you access to all internal APIs. Only the public interface should be used.

mr746866 commented 6 years ago

Thanks for the info. Looking forward for the documentation of the recommended way.