chaimPaneth / react-native-zoom-bridge

22 stars 15 forks source link

Invalid Podfile file #16

Open amdrade opened 4 years ago

amdrade commented 4 years ago

Xcode 10.2.1 RN 0.61.5

[!] Invalid `Podfile` file: 
[!] Invalid `RNZoomBridge.podspec` file: undefined method `info_plist=' for #<Pod::Specification name="RNZoomBridge">.

 #  from /private/var/www/html/app/react-native/project/node_modules/react-native-zoom-bridge/RNZoomBridge.podspec:25
 #  -------------------------------------------
 #    s.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '"$(SRCROOT)/../node_modules/react-native-zoom-bridge/ios/libs"' }
 >    s.info_plist = {
 #      'NSCameraUsageDescription' => 'For people to see you during meetings, we need access to your camera.',
 #  -------------------------------------------
.

 #  from /private/var/www/html/app/react-native/project/ios/Podfile:42
 #  -------------------------------------------
 #  
 >    use_native_modules!
 #  end
 #  -------------------------------------------
amdrade commented 4 years ago

After commet s.info_plist, pod install work, but the libraries not show on Xcode project.

chaimPaneth commented 4 years ago

Hi @amdrade it seems this issue has to do with an older cocoapods version, can you share the version number you have installed?

Thanks

amdrade commented 4 years ago

Hi @chaimPaneth, pod verison 1.9.3.