Search code examples
npmreact-nativecocoapodsflurry

CocoaPods error while doing "pod install": [!] Invalid `Podfile` file: uninitialized constant Pod::Podfile::Flurry.


I am trying to install Flurry for React Native using the npm React Native Flurry Analytics

Here is my pod file:

target 'myApp' do

  pod Flurry-iOS-SDK/FlurrySDK

end

and running pod install in the /ios directory of my React-Native project i get:

[!] Invalid `Podfile` file: uninitialized constant Pod::Podfile::Flurry.

Thanks in advance!


Solution

  • I needed quotes around Flurry-iOS-SDK/FlurrySDK.

    It should look like this:

    target 'myApp' do
    
      pod 'Flurry-iOS-SDK/FlurrySDK'
    
    end