Integrate Fabric/Crashlytics via CocoaPods

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

    I have meet this issue before. Here is my solution. to add the execution mode for the run file automatically before your run the script.

    In the Build Phase -> Run Script add following line:

    chmod +x ./Pods/CrashlyticsFramework/Crashlytics.framework/run
    
    ./Pods/CrashlyticsFramework/Crashlytics.framework/run YOUR_API_KEY YOUR_BUILD_SECRET
    

提交回复
热议问题