react-native-cert-pinner icon indicating copy to clipboard operation
react-native-cert-pinner copied to clipboard

Pod Install Dependency Issue

Open mdaronco opened this issue 5 years ago • 6 comments

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.

mdaronco avatar Jul 30 '19 17:07 mdaronco

iam also facing this type of error

[!] The CertPinner pod failed to validate due to 1 error: - ERROR | attributes: Missing required attribute homepage. - WARN | source: The version should be included in the Git tag. - WARN | description: The description is equal to the summary.

in react-native 0.60.5

any one help me

jsriganesh avatar Aug 16 '19 06:08 jsriganesh

@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

iltumio avatar Aug 22 '19 09:08 iltumio

@mtumiati works now. awesome

russelRajitha avatar Oct 01 '19 07:10 russelRajitha

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

virdesai avatar Nov 14 '19 20:11 virdesai

Is there any update for a new release ?

mkdesilva avatar Jul 03 '20 10:07 mkdesilva

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

kingzeng avatar Dec 22 '20 03:12 kingzeng