Integrate Fabric/Crashlytics via CocoaPods

后端 未结 16 1521
鱼传尺愫
鱼传尺愫 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 13:59

    I had the same problem, use the $PODS_ROOT environment variable which points to your Pods folder; be sure to quote it in case you have spaces in your path; so instead of

    ./Pods/Fabric/Fabric.framework/run YOUR_API_KEY YOUR_BUILD_SECRET

    use

    "$PODS_ROOT"/Fabric/Fabric.framework/run YOUR_API_KEY YOUR_BUILD_SECRET

提交回复
热议问题