thekevinbrown/react-native-schemes-manager

directory not found for option '.../Beta.Debug-iphonesimulator/DoubleConversion' (cocoapods)

Juliocbr opened this issue · 2 comments

I have installed cocoapods in my project because of some dependencies that I use. I installed the plugin and configure my debug and release schemas.

When I run react-native run-ios --configuration Beta.Debug, appears these errors:

....
ld: warning: directory not found for option '-L/Users/juliocbr/Documentos/ReactNative/ocesa-events-app/ios/build/Build/Products/Beta.Debug-iphonesimulator/DoubleConversion'
ld: warning: directory not found for option '-L/Users/juliocbr/Documentos/ReactNative/ocesa-events-app/ios/build/Build/Products/Beta.Debug-iphonesimulator/Folly'
ld: warning: directory not found for option '-L/Users/juliocbr/Documentos/ReactNative/ocesa-events-app/ios/build/Build/Products/Beta.Debug-iphonesimulator/GLog'
ld: warning: directory not found for option '-L/Users/juliocbr/Documentos/ReactNative/ocesa-events-app/ios/build/Build/Products/Beta.Debug-iphonesimulator/GoogleToolboxForMac'
ld: warning: directory not found for option '-L/Users/juliocbr/Documentos/ReactNative/ocesa-events-app/ios/build/Build/Products/Beta.Debug-iphonesimulator/Protobuf'
ld: warning: directory not found for option '-L/Users/juliocbr/Documentos/ReactNative/ocesa-events-app/ios/build/Build/Products/Beta.Debug-iphonesimulator/React'
ld: warning: directory not found for option '-L/Users/juliocbr/Documentos/ReactNative/ocesa-events-app/ios/build/Build/Products/Beta.Debug-iphonesimulator/nanopb'
ld: warning: directory not found for option '-L/Users/juliocbr/Documentos/ReactNative/ocesa-events-app/ios/build/Build/Products/Beta.Debug-iphonesimulator/yoga'
ld: library not found for -lDoubleConversion
clang: error: linker command failed with exit code 1 (use -v to see invocation)



** BUILD FAILED **

This is my Podfile:

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'ocesa_app' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for ocesa_app
  pod 'Google-Mobile-Ads-SDK', '~> 7.0'
  pod 'Firebase/Core', '~> 4.13.0'
  pod 'Firebase/Messaging'
  # Add new pods below this line
  pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'BatchedBridge',
  ] 
  pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'GLog', :podspec => '../node_modules/react-native/third-party-podspecs/GLog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'


  # pod 'react-native-splash-screen', :path => '../node_modules/react-native-splash-screen'
  # pod 'react-native-google-analytics-bridge', :path => '../node_modules/react-native-google-analytics-bridge'

  target 'ocesa_app-tvOSTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'ocesa_appTests' do
    inherit! :search_paths
    # Pods for testing
  end

end

target 'ocesa_app-tvOS' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for ocesa_app-tvOS

end

I don't know if it is necessary to add some other configuration in xcode to avoid these errors. Thanks

That looks completely unrelated to this library to me. If you remove it following the steps in the readme (including rm -rfing node_modules then npm i again) and run your build again, do the same errors appear?

I'm going to go ahead and close this issue as we haven't heard back. If you are still confident this is an issue with this library, please make sure to let us know by opening a new issue and mentioning that this is the same problem as you experienced in this issue.