Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Multi platform Configuration
If your app is targeting iOS and tvOS in the same Xcode project, you will need to configure the
Podfile differently in order to use the SDK with multiple platforms.
Below you can find a multi-platform sample
Podfile configuration targeting iOS and tvOS.
source 'https://github.com/CocoaPods/Specs.git' inhibit_all_warnings! # Replace with the name of your Xcode project name or a name of your choice abstract_target '<Your Xcode Project Name>' do use_frameworks! pod 'mParticle-Apple-SDK', '~> 6' # Replace with the name of the iOS target in your Xcode project target '<Your iOS Target>' do platform :ios, '8.0' end # Replace with the name of the tvOS target in your Xcode project target '<Your tvOS Target>' do platform :tvos, '9.0' end end