Swiftpack.co -  Package - snowplow/snowplow-objc-tracker
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Snowplow event tracker for Objective-C. Add analytics to your iOS 8.0+, macOS and tvOS apps and games
.package(url: "https://github.com/snowplow/snowplow-objc-tracker.git", from: "1.7.0")

iOS, macOS, tvOS and watchOS Analytics for Snowplow

actively-maintained Build Status Coverage Status Version Platform Carthage License


Add analytics to your iOS, macOS, tvOS and watchOS apps and games with the Snowplow event tracker for iOS 8.0+, macOS 10.9+, tvOS 9.0+ and watchOS 2.0+

With this tracker you can collect event data from your applications, games or frameworks.

Building the Static Framework (iOS only)

  • Open Snowplow.xcworkspace in Xcode.
  • Select the SnowplowTracker-iOS-Static scheme and set device to iOS Device.
  • Run Archive from the Product menu.
  • Finder should open and show you where SnowplowTracker.framework is stored.

Running the Demo Application (iOS only)

  • Open SnowplowDemo.xcworkspace in Xcode.
  • Select the SnowplowDemo scheme and set device to any emulator.
  • Hit run and the demo will be installed and launched in the emulator window.
  • Simply enter a valid endpoint to send events to!

Setting up a local testing endpoint

Assuming git, Vagrant and VirtualBox installed:

 host$ git clone https://github.com/snowplow/snowplow-objc-tracker.git
 host$ cd snowplow-objc-tracker
 host$ vagrant up && vagrant ssh
guest$ cd /vagrant
guest$ mb &
guest$ curl -X POST -d @/vagrant/integration-tests/imposter.json http://localhost:2525/imposters

Your local endpoint will be http://localhost:4545 which can be used in the demonstration application.

To view sent events in your browser please navigate to http://localhost:2525.

Find out more

Technical Docs Contributing
i1 i2
Technical Docs Contributing

Copyright and license

The Snowplow iOS/macOS/tvOS/watchOS Tracker is copyright 2013-2020 Snowplow Analytics Ltd.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


Stars: 56
Last commit: 1 hour ago

Release Notes

Snowplow iOS Tracker v1.7.0
1 week ago

This release fixes an issue causing app rejection due to the fingerprinting caused by the OpenIDFA feature. To avoid any issue we have completely removed the OpenIDFA identifier and related code. Also, we changed the policy for enabling the Apple IDFA. On the new version 1.7.0, the IDFA identifier will be enabled only if the developer adds the AdSupport library to the app project and enables the compiler flag SNOWPLOW_IDFA_ENABLED in the build settings. More details here: IDFA tracking

Note: The previous versions of the tracker (before v.1.7.0) used a different flag SNOWPLOW_NO_IFA needed to disable IDFA feature. Instead, since the version 1.7.0 the IDFA will be enabled only if the SNOWPLOW_IDFA_ENABLED is set.


Bug fixes:

  • Fix issue of OpenIDFA causing App Rejection (#575)

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco