Integrate Fabric/Crashlytics via CocoaPods

后端 未结 16 1518
鱼传尺愫
鱼传尺愫 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

    Same problem for me was fixed by changing the line from:

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

    to:

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

    In other words, just prepend an extra '.' to designate that the 'Pods' directory is a sibling rather than a child of the build directory. YMMV.

提交回复
热议问题