rogerluan / arkana

Use dotenv files for Android and iOS projects.
BSD 2-Clause "Simplified" License
362 stars 18 forks source link

I ran arkana… what's the next step? #24

Closed alobaili closed 1 year ago

alobaili commented 1 year ago

After I run bundle exec arkana … and the generated SwiftPM package is created, how do I use it? Can I immediately open my Xcode project and import ArkanaKeys? How do I include the generated SwiftPM package in my Xcode project?

I think the documentation for Arkana should include answers to all these questions.

rogerluan commented 1 year ago

Hi @alobaili , the question you're looking to ask is "how to import local Swift Packages into my Xcode project?" - there are a few different ways to do this. One of them is explained here: https://developer.apple.com/documentation/xcode/organizing-your-code-with-local-packages

I hope this helps. I'll improve the docs to point to that guide 🙏 thanks for bringing up these questions!

alobaili commented 1 year ago

Yes I ended up adding it as a local package as explained in the link, but the arkana docs seemed to miss this part in the Usage section of the readme file.

Thanks

alobaili commented 1 year ago

@rogerluan I created #25 to update the README. Your guidance is appreciated.