kissmetrics / kissmetrics-ios-sdk Goto Github PK
View Code? Open in Web Editor NEWiOS SDK for KISSmetrics
Home Page: http://support.kissmetrics.com/doc/apis-integrations-and-importing-data/#29
iOS SDK for KISSmetrics
Home Page: http://support.kissmetrics.com/doc/apis-integrations-and-importing-data/#29
** This repository is now deprecated, please see https://github.com/kissmetrics/KISSmetrics/releases/tag/v1.0.0 for the final versions of all included clients ** KISSmetrics is different from other analytics platforms due to a combination of three key features. We focus on funnels and conversions and make them easy to track and interpret, use people as the basic unit of measure, and support tracking of highly-flexible custom data through our simple API. Find out more at http://www.kissmetrics.com * ruby client has moved to https://github.com/kissmetrics/km * php client has moved to https://github.com/kissmetrics/kissmetrics-php * python client has moved to https://github.com/kissmetrics/py-KISSmetrics * perl client is complete with crontab option (untested)
Could you add a Podspec file of KISSmetrics iOS SDK v2 in https://github.com/CocoaPods/Specs/tree/master/Specs/KISSmetrics?
( related link: http://guides.cocoapods.org/making/index.html )
Hi, I'm having an issue when trying to add the framework manually. I'm using the version from the master
branch. When using CocoaPods everything is fine, however this is the last dependency in the project that's using Cocoapods, so I'm trying to add it manually and remove the CocoaPods.
I've added Framework/KISSmetricsSDK.xcodeproj
to the project, then I've added KISSmetricsSDK.framework
to the "Frameworks, Libraries, and Embedded Content" section of the app target. When I try to build the project I'm getting the "'KISSmetricsSDK/KISSmetricsAPI.h' file not found" error in bridging header.
If I don't have the import in bridging header, then I'm getting "No such module 'KISSmetricsSDK'" error when I try to import it in the swift file. With CocoaPods it's working without the import in bridging header.
I can see the framework in the build folder. It contains "_CodeSignature", "Info.plist", "KISSmetricsSDK", so no "Headers" folder (when I build it with CocoaPods it has the Headers folder in the framework).
I've added $(BUILT_PRODUCTS_DIR)
to the "Framework Search Paths" and "Header Search Paths" build settings, still getting the same error.
Any idea what else I'm missing?
I'm starting to receive crash reports with [KMAKeychainItemWrapper writeToKeychain] being the root cause.
Using KISSmetrics-iOS-SDK (2.3.1)
The crashes appear to have started when I introduced a Background Fetch entitlement (as a part of UIBackgroundModes) to retrieve content on a periodic basis.
Stack trace is attached. Any help would be greatly appreciated.
Thanks
Kunal.
We get numerous crashes because of this code:
- (void)sendTopRecord
{
// Assemble the full query string by prepending the current baseUrl as last archived.
NSString *nextAPICall = [[KMAArchiver sharedArchiver] getBaseUrl];
nextAPICall = [nextAPICall stringByAppendingString:[[KMAArchiver sharedArchiver] getQueryStringAtIndex:0]];
...
}
-[KMAArchiver getQueryStringAtIndex:]
returns nil in some cases and appending nil-string to nextAPICall
crashes.
This is mentioned as the "new" way of doing this, but no documentation on how?
I keep getting "KISSmetricsAPI is deprecated" warnings when trying to use: KISSmetricsAPI sharedAPIWithKey:
I'm using the Cocoapod version of the KISSMetrics SDK framework.
I haven't update my cocoapod for my project in a while. Now that I've updated, I get the following link error:
ld: framework not found KISSmetricsSDK
Apparently the framework name was changed which seems to be causing this error. But I've done everything I could to reset my project to use this new version of the pod.
• Clean build folder in project.
• Remove all Derived Data
• Remove Podfile.lock
• Remove generated workspace
• Run 'pod update'
The pod builds fine but my app won't link.
Any help would be appreciated.
Hi,
I drag the library into my project, is linked to my target project,
added the path to "Header Search Paths",
Added the "Objective-C Bridging Header" and
import " # import KISSmetricsSDK/KISSmetricsAPI.h "
so when i call "import KISSmetricsSDK" In my SWIFT file, appears "NO SUCH MODULE KISSmetricsSDK".
I already tried with COCOAPODS and the same error occurred.
Thanks.
As of Cocoapods 0.37, updating our pods throws this error related to KISSMetrics.
[!] The 'Pods' target has transitive dependencies that include static binaries: (~/Projects/Commander/Pods/KISSmetrics-iOS-SDK/KISSmetricsSDK.framework)
It's likely because the KISSMetricsSDK is a faux framework rather than a modern framework as Apple introduced as WWDC last year.
We have to use the use_frameworks!
options in our Podfiles because of Swift, so this is a show stopper for us right now, outside of just manually importing the KISS framework.
Would love to see you guys update your SDK to support this. Let me know how I can help.
For reference, this is the Cocoapods issue tracking this: CocoaPods/CocoaPods#3194
Thanks for the pushed podspec, but there is probably a problem with the podspec.
We met an architecture problem using that podspec.
The error is Undefined symbols for architecture armv7:
, or arm64:
or i386
.
Could you please fix the podspec? Thanks~
Hi, I've added SDK as git submodule and having a problem using "git submodule update --init --recursive" (my project already has recursive submodules, so --recursive is required in my case). This command fails because this SDK uses a submodule with URL "[email protected]:willrust/MockNSURLConnection.git" which requires willrust's private key to fetch. Could you please fix this URL to some public one?
Hey,
I'm getting this error when trying to use the SDK, any idea what's wrong?
ld: warning: ignoring file ./KISSmetricsSDK.framework/KISSmetricsSDK, missing required architecture x86_64 in file ./KISSmetricsSDK.framework/KISSmetricsSDK (2 slices)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_KISSmetricsAPI", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
My build fails on "BitCode" phase.
That was (allegedly) solved in 2.3.0 (Sep 2016)
CocoaPods has 2.2.0 (Sep 2014).
Can you please update CocoaPods to point to 2.3.0?
I have been fighting this issue for the past day and a half. Installing a Framework should be as simple as dragging it into Xcode, letting it put it where it needs to be, and then calling for it. Instead, I am getting the following error:
/Development/PureChat/PureChat-iOS/Pure Chat/AppDelegate.h:10:9: 'KISSmetricsSDK/KISSmetricsAPI.h' file not found
This is what I am importing:
#import <KISSmetricsSDK/KISSmetricsAPI.h>
The latest binary on the releases is 2.2.0; when will a binary added for v2.3.1? I tried cloning the repo and building it myself, but wasn't able to.
Hello,
I get the following warning in Xcode when installing Kissmetrics:
ld: warning: directory not found for option '-F/Users/my_user/Desktop/my_project/Pods/KISSmetricsSDK'
Removing "${PODS_ROOT}/KISSmetricsSDK" from the Pods.xconfig file solves the warning but it appears again when updating the pods.
It seems to be a problem in the pod spec file:
"xcconfig": {
"FRAMEWORK_SEARCH_PATHS": ""${PODS_ROOT}/KISSmetricsSDK""
}
The right path is "$(PODS_ROOT)/KISSmetrics-iOS-SDK" that also appears in the Pods.xconfig file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.