title: ld: library not found for -lRCTAnimation
body: <p><strong>Description</strong></p>
  
  <p>After react native version upgradiong to 0-62.2, I encountered many problems. This is one of them in the following question:</p>
  
  <p>-- I took this page for reference and edited it <a href="https://react-native-community.github.io/upgrade-helper/?from=0.59.3&amp;to=0.62.0" rel="nofollow noreferrer">https://react-native-community.github.io/upgrade-helper/?from=0.59.3&amp;to=0.62.0</a></p>
  
  <p><strong>React Native version:</strong></p>
  
  <p>react-native-cli: 2.0.1</p>
  
  <p>react-native: 0.62.2</p>
  
  <pre><code>**Expected Results**
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  
  ld: library not found for -lRCTAnimation
  warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 6.0, but the range of supported deployment target versions is 8.0 to 13.4.99. (in target 'OpenSSL-Universal' from project 'Pods')
  
  ** BUILD FAILED **
  
  
  The following build commands failed:
          Ld /Users/ibrahimyolbir/Library/Developer/Xcode/DerivedData/DGFonder-fxqthwkcalsxjgaeqbdxsodcnrou/Build/Products/Debug-iphonesimulator/DGFonder.app/DGFonder normal x86_64
  (1 failure)
  </code></pre>
  
  <pre><code>**Podfile**
  
  platform :ios, '9.0'
  require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
  
  
  def flipper_pods()
    flipperkit_version = '0.34.0'
    pod 'FlipperKit', '~&gt;' + flipperkit_version, :configuration =&gt; 'Debug'
    pod 'FlipperKit/FlipperKitLayoutPlugin', '~&gt;' + flipperkit_version, :configuration =&gt; 'Debug'
    pod 'FlipperKit/SKIOSNetworkPlugin', '~&gt;' + flipperkit_version, :configuration =&gt; 'Debug'
    pod 'FlipperKit/FlipperKitUserDefaultsPlugin', '~&gt;' + flipperkit_version, :configuration =&gt; 'Debug'
    pod 'FlipperKit/FlipperKitReactPlugin', '~&gt;' + flipperkit_version, :configuration =&gt; 'Debug'
  end
  
  # Post Install processing for Flipper
  def flipper_post_install(installer)
    installer.pods_project.targets.each do |target|
      if target.name == 'YogaKit'
        target.build_configurations.each do |config|
          config.build_settings['SWIFT_VERSION'] = '4.1'
        end
      end
    end
    file_name = Dir.glob("*.xcodeproj")[0]
    app_project = Xcodeproj::Project.open(file_name)
    app_project.native_targets.each do |target|
      target.build_configurations.each do |config|
        cflags = config.build_settings['OTHER_CFLAGS'] || '$(inherited) '
        unless cflags.include? '-DFB_SONARKIT_ENABLED=1'
          puts 'Adding -DFB_SONARKIT_ENABLED=1 in OTHER_CFLAGS...'
          cflags &lt;&lt; '-DFB_SONARKIT_ENABLED=1'
        end
        config.build_settings['OTHER_CFLAGS'] = cflags
      end
      app_project.save
    end
    installer.pods_project.save
  end
  
  
  
  target 'DGFonder' do
    pod 'FBLazyVector', :path =&gt; "../node_modules/react-native/Libraries/FBLazyVector"
    pod 'FBReactNativeSpec', :path =&gt; "../node_modules/react-native/Libraries/FBReactNativeSpec"
    pod 'RCTRequired', :path =&gt; "../node_modules/react-native/Libraries/RCTRequired"
    pod 'RCTTypeSafety', :path =&gt; "../node_modules/react-native/Libraries/TypeSafety"
    pod 'React', :path =&gt; '../node_modules/react-native/'
    pod 'React-Core', :path =&gt; '../node_modules/react-native/'
    pod 'React-CoreModules', :path =&gt; '../node_modules/react-native/React/CoreModules'
    pod 'React-Core/DevSupport', :path =&gt; '../node_modules/react-native/'
    pod 'React-RCTActionSheet', :path =&gt; '../node_modules/react-native/Libraries/ActionSheetIOS'
    pod 'React-RCTAnimation', :path =&gt; '../node_modules/react-native/Libraries/NativeAnimation'
    pod 'React-RCTBlob', :path =&gt; '../node_modules/react-native/Libraries/Blob'
    pod 'React-RCTImage', :path =&gt; '../node_modules/react-native/Libraries/Image'
    pod 'React-RCTLinking', :path =&gt; '../node_modules/react-native/Libraries/LinkingIOS'
    pod 'React-RCTNetwork', :path =&gt; '../node_modules/react-native/Libraries/Network'
    pod 'React-RCTSettings', :path =&gt; '../node_modules/react-native/Libraries/Settings'
    pod 'React-RCTText', :path =&gt; '../node_modules/react-native/Libraries/Text'
    pod 'React-RCTVibration', :path =&gt; '../node_modules/react-native/Libraries/Vibration'
    pod 'React-Core/RCTWebSocket', :path =&gt; '../node_modules/react-native/'
    pod 'React-cxxreact', :path =&gt; '../node_modules/react-native/ReactCommon/cxxreact'
    pod 'React-jsi', :path =&gt; '../node_modules/react-native/ReactCommon/jsi'
    pod 'React-jsiexecutor', :path =&gt; '../node_modules/react-native/ReactCommon/jsiexecutor'
    pod 'React-jsinspector', :path =&gt; '../node_modules/react-native/ReactCommon/jsinspector'
    pod 'ReactCommon/callinvoker', :path =&gt; "../node_modules/react-native/ReactCommon"
    pod 'ReactCommon/turbomodule/core', :path =&gt; "../node_modules/react-native/ReactCommon"
    pod 'Yoga', :path =&gt; '../node_modules/react-native/ReactCommon/Yoga', :modular_headers =&gt; true
    pod 'DoubleConversion', :podspec =&gt; '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
    pod 'glog', :podspec =&gt; '../node_modules/react-native/third-party-podspecs/glog.podspec'
    pod 'Folly', :podspec =&gt; '../node_modules/react-native/third-party-podspecs/Folly.podspec'
  
    use_native_modules!
  
  
    target 'DGFonderTests' do
      inherit! :search_paths
      # Pods for testing
    end
    flipper_pods()
    post_install do |installer|
      flipper_post_install(installer)
      installer.pods_project.targets.each do |target|
        if target.name == 'react-native-config'
          phase = target.project.new(Xcodeproj::Project::Object::PBXShellScriptBuildPhase)
          phase.shell_script = "cd ../../"\
                               " &amp;&amp; RNC_ROOT=./node_modules/react-native-config/"\
                               " &amp;&amp; export SYMROOT=$RNC_ROOT/ios/ReactNativeConfig"\
                               " &amp;&amp; export BUILD_DIR=$RNC_ROOT/ios/ReactNativeConfig"\
                               " &amp;&amp; ruby $RNC_ROOT/ios/ReactNativeConfig/BuildDotenvConfig.ruby"
  
          target.build_phases &lt;&lt; phase
          target.build_phases.move(phase,0)
        end
      end
  
    end
  end
  </code></pre>
  
  <p>ProjectName> Build phases > Link Binary With Libraries</p>
  
  <p><a href="https://i.stack.imgur.com/WlOdR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WlOdR.png" alt="enter image description here"></a></p>