Skip to content

Troubleshooting

Dalmo Cirne edited this page Sep 20, 2016 · 2 revisions

Troubleshooting

Required Frameworks and Libraries

Package managers such as CocoaPods and Carthage should take care of adding the required dependencies to your project. In case to verify or insert dependencies manually, here are the frameworks and libraries required by the mParticle SDK:

  1. Under the General configuration tab of your project, following are required dependencies in Linked Frameworks and Libraries:
    • Accounts.framework
    • CoreGraphics.framework
    • CoreTelephony.framework
    • Foundation.framework
    • libc++
    • libsqlite3
    • libz
    • Security.framework
    • SystemConfiguration.framework
    • UIKit.framework
  2. The following libraries should be included in your project, but can be marked as optional:
    • AdSupport.framework
    • iAd.framework
    • UserNotifications.framework
  3. The following library is optional:
    • CoreLocation.framework – Include it if location tracking features are needed

CocoaPods – One of the two will be used. Which one is undefined

When integrating with kits using CocoaPods there may be cases where you will see a message similar to the one below being output to the Xcode console:

Class <XXXX> is implemented in both /YYYY and /ZZZZ. One of the two will be used. Which one is undefined.

These messages are related to an unresolved CocoaPods bug, and although annoying, there will be no side-effects to your app. You can read more about it here: CocoaPods/issues/4355 and CocoaPods/issues/1411