Sha256: c9da8199681ad19222593e5836687302f6d2facf6f9c89462611b089e1c2c374
Contents?: true
Size: 883 Bytes
Versions: 7
Compression:
Stored size: 883 Bytes
Contents
# Using CocoaPods-Keys in Swift projects Once you've followed the setup instructions described in the [Usage](README.md#usage) section of the README, you have two choices. ## Importing the framework Use Swift's `import` statement. The name of the generated module is `Keys`. ```swift import Keys ``` ## Usage ```swift let keys = MyApplicationKeys() ARAnalytics.setupWithAnalytics(keys.analyticsToken) ``` ### Troubleshooting You can get into a situation where you have an existing integrated project but when you add a new key it isn't recognized in the file(s) you `import Keys` in, although your project is configured properly (you can check by verifying it's shown with a `pod keys` and/or manually viewing the generated `*.h/*.m` files). The fix: clear out your Xcode's Derived Data finder folder and rebuilding should generate a proper swift class in the Keys module.
Version data entries
7 entries across 7 versions & 1 rubygems