Git Product home page Git Product logo

kissmetrics-ios-sdk's Introduction

** 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)

kissmetrics-ios-sdk's People

Contributors

charliewilliams avatar chrish10e avatar ivanbruel avatar lenards avatar mattysads avatar nathanielwroblewski avatar objch avatar percyhanna avatar peteoleary avatar sandwedge avatar willrust avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kissmetrics-ios-sdk's Issues

Error when adding framework manually

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?

Crash observed in KMAKeychainItemWrapper writeToKeychain

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.

KMCrashReport_v2.txt

Crash in sendTopRecord

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.

Link error using KISSMetrics Cocoapod

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.

I can't import the framework in my swift project.

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.

Static Library embedding no longer works with Cocoapods

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

Podspec does not work

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~

Problem adding SDK as git submodule

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?

Missing required architecture x86_64

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)

CocoaPods points to an outdated version

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?

'KISSmetricsSDK/KISSmetricsAPI.h' file not found

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>

No binary for v2.3.1

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.

warning in Xcode after installing Kissmetrics

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.