Latest 1.1.1
Homepage https://github.com/PerformanceHorizonGroup/partnerize-mobile-sdk-ios
License Apache License, Version 2.0
Platforms ios 9.0
Authors

Partnerize App Tracking iOS framework.

CocoaPods
Languages
CocoaPods
carthage compatible
License

Installation

Partnerize App Tracking iOS framework supports iOS 9 and later.

CocoaPods

Add the Partnerize pod into your Podfile and run pod install.

target :YourTargetName do
pod 'Partnerize'
end

Carthage

  1. Add github "PerformanceHorizonGroup/partnerize-mobile-sdk-ios" to your Cartfile.
  2. Run carthage update.
  3. Go to your Xcode project’s "General" settings. Drag Partnerize.framework from Carthage/Build/iOS to the "Embedded Binaries" section. Make sure “Copy items if needed” is selected and click Finish.
  4. After verifying your project compiles, switch over to Build Phases and add a new Run Script build phase by clicking the + in the top left of the editor. Add the following command:

/usr/local/bin/carthage copy-frameworks

  1. Click the + under Input Files and add an entry for Partnerize framework:

$(SRCROOT)/Carthage/Build/iOS/Partnerize.framework

This build phase isn’t required for your project to run. However, it’s a workaround for an App Store submission bug where apps with frameworks that contain binary images for the iOS simulator are automatically rejected.

The carthage copy-frameworks command strips out these extra architectures.

Manual Installation

  1. Download Partnerize for iOS and extract the zip.
  2. Go to your Xcode project’s "General" settings. Drag Partnerize.framework to the "Embedded Binaries" section. Make sure "Copy items if needed" is selected and click Finish.
  3. Create a new “Run Script Phase” in your app’s target’s “Build Phases” and paste the following snippet in the script test field:

bash "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/Partnerize.framework/strip-frameworks.sh"

Documentation

SDK API documentation is available here.

Example app

There is an example app provided here for Swift.

Latest podspec

{
    "name": "Partnerize",
    "version": "1.1.1",
    "summary": "Partnerize App Tracking iOS framework.",
    "description": "App Tracking SDK provided by Parnerize to aid advertisers in connecting in-app purchases to their performance marketing activity.",
    "homepage": "https://github.com/PerformanceHorizonGroup/partnerize-mobile-sdk-ios",
    "authors": {
        "Partnerize Product Development": "[email protected]"
    },
    "license": {
        "type": "Apache License, Version 2.0",
        "file": "LICENSE"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "http": "https://github.com/PerformanceHorizonGroup/partnerize-mobile-sdk-ios/releases/download/1.1.1/PartnerizePod.zip"
    },
    "source_files": [
        "Partnerize.framework/Headers/PHGConversion.h",
        "Partnerize.framework/Headers/PHGConversionItem.h",
        "Partnerize.framework/Headers/PHGDefines.h",
        "Partnerize.framework/Headers/PHGError.h",
        "Partnerize.framework/Headers/Partnerize.h"
    ],
    "ios": {
        "vendored_frameworks": "Partnerize.framework"
    }
}

Pin It on Pinterest

Share This