sbugert / react-native-admob

A react-native component for Google AdMob banners
BSD 2-Clause "Simplified" License
1.13k stars 531 forks source link

[!] Invalid `Podfile` file: no implicit conversion of nil into String. #455

Closed DimaTrue closed 5 years ago

DimaTrue commented 5 years ago

Hi, In React-native v. 0.60.0 I run npm i --save react-native-admob@next after that cd ios pod install and then i received next: [!] Invalid Podfile file: no implicit conversion of nil into String.

from /Users/user/Documents/Projects/ProductsApp/ios/Podfile:36

-------------------------------------------

use_native_modules!

end

-------------------------------------------

when I run

npm uninstall react-native-admob

It's ok. What is going on? How can I fix that?

koenpunt commented 5 years ago

The currently released version has no support for CocoaPods, but I've opened a PR to bring this library up to date with the latest version of React Native, and thus bringing support for CocoaPods: #472