electrode-io / electrode-native

A platform to ease integration&delivery of React Native apps in existing mobile applications
https://native.electrode.io
Other
723 stars 113 forks source link

Detect cocoapods issue #1899

Open darwineee opened 11 months ago

darwineee commented 11 months ago

Hi everyone, I have an issue with "ern create-miniapp".

image

I found the checking code in the source code: Platform.isCocoaPodsInstalled() always fails. But I create a test script and run the same code (isCocoaPodsInstalled()) in the nodejs then it's ok. Please help!

friederbluemle commented 11 months ago

Hi @darwineee - What method did you use to install CocoaPods? (e.g. via gem or brew/...)? When you type which pod, what is the output?

darwineee commented 11 months ago

I used brew first but then I tried it both. The result of "which pod" is: $HOME/.rbenv/shims/pod (/Users/tungnguyen/.rbenv/shims/pod)