Adding Fullstory as a CocoaPods Pod

Available for the following Plan types:

Fullstory Enterprise*

Fullstory Advanced*

Fullstory Business*

Fullstory Free

*with the following add-on:

Fullstory for Mobile Apps

Available to the following User roles:

Admin

Architect

Standard

 

About this article

This article provides setup steps for adding Fullstory as a CocoaPods Pod. 

CocoaPods Installation: adding the Fullstory pod

For iOS applications that already use CocoaPods, Fullstory distributes a pod specification that you can integrate directly into your existing Podfile

Follow these steps:

  • In your Podfile, in the section for your app's target, paste this line:

pod 'FullStory', :http =>
'https://ios-releases.fullstory.com/fullstory-1.52.0-xcframework.tar.gz'

  • Run “pod install
  • Add a build phase for Fullstory's asset uploader
    • In the project navigator, select your app's project
    • In the editor panel, select your app's target
    • Choose the Build Phases tab
    • Chose Editor > Add Build Phase > Add Run Script Build Phase
    • On the new “Run Script” phase, double-click on the “Run Script” label and rename to “Run FullStory Asset Uploader”
    • If it’s not already, re-order the build phase so it’s the last step
    • Click the disclosure triangle next to the build phase to expand it
    • Replace the body of the script with (it should all be on one line):
      "${PODS_ROOT}/FullStory/tools/FullStoryCommandLine" "${CONFIGURATION_BUILD_DIR}/${WRAPPER_NAME}"
  • To upgrade Fullstory in the future, update the Fullstory release URL in your Podfile and run “pod update FullStory

Next Steps

After you’ve completed this setup, return to Getting Started with iOS Capture to configure Fullstory, review advanced features, and more.

Need to get in touch with us?

The Fullstory Team awaits your every question.

Ask the Community Technical Support