approov / react-native-cert-pinner

Strengthens TLS in React Native through Certificate Pinning
https://blog.approov.io/tag/reactnative
Apache License 2.0
96 stars 41 forks source link

Pod Install Dependency Issue #11

Open mdaronco opened 5 years ago

mdaronco commented 5 years ago

Using RN 0.60.4, I receive the following error after attempting to run pod install within the ios folder of my project:

Detected React Native module pods for CertPinner, RCTRestart, RNCAsyncStorage, RNDeviceInfo, RNFS, RNGestureHandler, RNLocalize, RNSVG, RNSha256, RNVectorIcons, ReactNativeExceptionHandler, react-native-background-timer, react-native-biometrics, react-native-blur, react-native-config, react-native-netinfo, and react-native-webview
Detected React Native module pods for CertPinner, RCTRestart, RNCAsyncStorage, RNDeviceInfo, RNFS, RNGestureHandler, RNLocalize, RNSVG, RNSha256, RNVectorIcons, ReactNativeExceptionHandler, react-native-background-timer, react-native-biometrics, react-native-blur, react-native-config, react-native-netinfo, and react-native-webview
Analyzing dependencies
[!] There are multiple dependencies with different sources for `CertPinner` in `Podfile`:

- CertPinner (from `../node_modules/react-native-cert-pinner/ios`)
- CertPinner (from `../node_modules/react-native-cert-pinner`)

it appears the same CertPinner dependency is required twice? Also note that I used automatic linking during installation. Thanks in advance for any guidance.

jsriganesh commented 5 years ago

iam also facing this type of error

[!] The CertPinner pod failed to validate due to 1 error:

in react-native 0.60.5

any one help me

iltumio commented 5 years ago

@jsriganesh just edit node_modules/react-native-cert-pinner/ios/CertPinner.podspec file and write something in the s.homepage property.

As I can see it has already been fixed in the master branch but it has not yet been released on npm

russelRajitha commented 4 years ago

@mtumiati works now. awesome

virdesai commented 4 years ago

Change the dependency in package.json to this: "react-native-cert-pinner": "git://github.com/approov/react-native-cert-pinner.git#master"

mkdesilva commented 4 years ago

Is there any update for a new release ?

kingzeng commented 3 years ago

I encountered the same problem !

System: OS: macOS 10.15.7 CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz Memory: 186.96 MB / 8.00 GB Shell: 5.7.1 - /bin/zsh Binaries: Node: 12.16.2 - /usr/local/bin/node Yarn: 1.16.0 - /usr/local/bin/yarn npm: 6.14.4 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.10.0 - /Users/king.zeng/.rvm/gems/ruby-2.6.3/bin/pod SDKs: iOS SDK: Platforms: iOS 14.0, DriverKit 19.0, macOS 10.15, tvOS 14.0, watchOS 7.0 Android SDK: API Levels: 23, 25, 26, 27, 28, 29 Build Tools: 28.0.3, 29.0.3 System Images: android-28 | Intel x86 Atom_64 Android NDK: Not Found IDEs: Android Studio: 4.1 AI-201.8743.12.41.6858069 Xcode: 12.0.1/12A7300 - /usr/bin/xcodebuild Languages: Java: 1.8.0_131 - /usr/bin/javac Python: 2.7.16 - /usr/bin/python npmPackages: @react-native-community/cli: Not Found react: 16.13.1 => 16.13.1 react-native: 0.63.0 => 0.63.0 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found