question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

spec.prepare_command error in third-party-podspecs for GLog and DoubleConversion

See original GitHub issue

Is 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:)

  1. In accordance with the Adding React Native to an Existing Application Document for iOS Swift
  2. add the pod file
  3. 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:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:9

github_iconTop GitHub Comments

2reactions
JianYeeecommented, Oct 30, 2017

@FlyingNoob Did you means change pod 'DoubleConversion', :path => './React/node_modules/react-native/third-party-podspecs' to pod 'DoubleConversion', :path => './React/node_modules/react-native/third-party-podspecs/DoubleConversion.podspec' . But it don’t work for me

2reactions
JianYeeecommented, Oct 26, 2017

So am I,and there are solutions?

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found