Integrate Fabric/Crashlytics via CocoaPods

后端 未结 16 1529
鱼传尺愫
鱼传尺愫 2020-12-23 13:49

I try to integrate Fabric/Crashlytics via CocoaPods, my Podfile looks like this:

pod \'Fabric/Core\', \'1.2\'
pod \'Fabric/Crashlytics\', \'1.2\'
         


        
16条回答
  •  庸人自扰
    2020-12-23 14:07

    Typically I would recommend not going against the grain and using the Fabric App for installation. Its hands down the simplest integration tool I've ever seen given the complexity they are providing.

    That being said, since you're dead set on using Cocoapods, the only way to get things going would be the following

    1. Run the Crashlytics App installer to the point where they give you the build phase script.
    2. Copy the script
    3. Undo the installation
    4. Install via Cocoapods
    5. Add the copied script to your buildphase

提交回复
热议问题