spec.prepare_command error in third-party-podspecs for GLog and DoubleConversion
See original GitHub issueIs this a bug report?
Yes
when i Adding React Native to an Existing Application According to the document execution "pod install ". I get the error :
[!] /bin/bash -c
set -e
mv src double-conversion
mv: rename src to double-conversion: No such file or directory
At last I found the pod specs of GLog and DoubleConversion have a prepare_command lead to the error.
Have you read the Contributing Guidelines?
Yes
Environment
Environment: OS: macOS High Sierra 10.13 Node: 8.7.0 Yarn: 0.27.5 npm: 5.4.2 Xcode: 9.0 (9A235)
Packages: (wanted => installed) react-native: 0.49.0 react: 16.0.0
Target Platform: iOS (10.3)
Steps to Reproduce
(Write your steps here:)
- In accordance with the Adding React Native to an Existing Application Document for iOS Swift
- add the pod file
- pod install
poffile
# Reactive Native
pod 'React', :path => './ReactComponent/node_modules/react-native', :subspecs => [
'Core',
'CxxBridge', # Include this for RN >= 0.47
'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
'RCTText',
'RCTNetwork',
'RCTWebSocket', # needed for debugging
# Add any other subspecs you want to use in your project
]
# Explicitly include Yoga if you are using RN >= 0.42.0
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
pod 'Folly', :path => '../node_modules/react-native/third-party-podspecs'
pod 'DoubleConversion', :path => '../node_modules/react-native/third-party-podspecs'
pod 'GLog', :path => '../node_modules/react-native/third-party-podspecs'
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:9
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@FlyingNoob Did you means change
pod 'DoubleConversion', :path => './React/node_modules/react-native/third-party-podspecs'
topod 'DoubleConversion', :path => './React/node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
. But it don’t work for meSo am I,and there are solutions?