If you happen to have 2 nested folders with the same name ArkanaKeys, select the inner one.Locate and select the ArkanaKeys folder (or the name of the import_name option that you passed in your config file). Choose File → Add Packages… and click on Add Local….You can add this package in an Xcode project or as a dependency of another Swift Package: Adding a local Swift Package to your Xcode project If you're integrating Arkana via SPM ( package_manager is set to spm), Arkana will generate its files as a local Swift Package. Once the Arkana has been run, its files will be created according to the package_manager setting defined in your config file, so update that setting according to your project needs. This means you might need to add the Arkana run command in your CI/CD scripts, fastlane, Xcode Build Phases, or something similar. Arkana should always be run before attempting to build your project, to make sure the files exist and are up-to-date (according to the current config file). Note that you have to prepend bundle exec before arkana if you manage your dependencies via bundler, as recommended.Īrkana only has one command, which parses your config file and env vars, generating all the code needed. f, -flavor FrostedFlakes Flavors are useful, for instance, when generating secrets for white-label projects. e /path/to/your/.env, Path to your dotenv file. c /path/to/your/.arkana.yml, Path to your config file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |