Comments (4)
Looks like this solved it for me.
in your bridging header, add this:
#import <KISSmetrics_iOS_SDK/KISSmetricsAPI.h>
Then when you are setting your key in the AppDelegate.swift file, do this:
At the top, import the SDK with this line:
import KISSmetrics_iOS_SDK
And then setup your key in application(_:didFinishLaunchingWithOptions:) with this line:
KISSmetricsAPI.sharedAPIWithKey(YOUR_KEY)
Note that I did pull in the latest non-master branch at https://github.com/kissmetrics/KISSmetrics-iOS-SDK/tree/percy/bitcode_compatability build so not sure if this works on the old Master branch that hasn't been updated since Sept 2014...
from kissmetrics-ios-sdk.
Can you try again with version 2.3.0? This should be fixed now.
from kissmetrics-ios-sdk.
@percyhanna looks like 2.3.0 fixes this issue! Thank you. 👍
from kissmetrics-ios-sdk.
Thanks @jstheoriginal, glad it fixed it for you.
from kissmetrics-ios-sdk.
Related Issues (15)
- Podspec of KISSmetrics iOS SDK v2 HOT 5
- Static Library embedding no longer works with Cocoapods
- 'KISSmetricsSDK/KISSmetricsAPI.h' file not found HOT 1
- Problem adding SDK as git submodule
- Crash in sendTopRecord
- Missing required architecture x86_64 HOT 1
- CocoaPods points to an outdated version HOT 2
- Link error using KISSMetrics Cocoapod HOT 2
- Crash observed in KMAKeychainItemWrapper writeToKeychain HOT 1
- No binary for v2.3.1
- Error when adding framework manually
- Podspec does not work HOT 16
- Where is documentation for KISSmetricsAPI_options.m? HOT 2
- warning in Xcode after installing Kissmetrics HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kissmetrics-ios-sdk.