React-native-svg: Error build iOS/Android 9.9.0

Created on 9 Sep 2019  ·  3Comments  ·  Source: react-native-svg/react-native-svg

Bug

After update 9.9.0 iOS / Android not build.

error: Build input file cannot be found: 'my_app/node_modules/react-native-svg/ios/Utils/RNSVGViewBox.m'


▸ Compiling RNSVGUse.m

❌  error: Build input file cannot be found: 'myapp/node_modules/react-native-svg/ios/Elements/RNSVGUse.m'


▸ Compiling RNSVGUseManager.m

❌  error: Build input file cannot be found: 'my_app/node_modules/react-native-svg/ios/ViewManagers/RNSVGUseManager.m'


▸ Compiling RNSVGTextProperties.m

❌  error: Build input file cannot be found: 'my_app/node_modules/react-native-svg/ios/Text/RNSVGTextProperties.m'

Environment info

React native info output:

   React Native Environment Info:
    System:
      OS: macOS 10.14.6
      CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
      Memory: 58.65 MB / 8.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 10.15.3 - /usr/local/bin/node
      Yarn: 1.15.2 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
      Android SDK:
        API Levels: 23, 25, 26, 27, 28
        Build Tools: 26.0.2, 26.0.3, 28.0.3, 29.0.0
        System Images: android-17 | Google APIs Intel x86 Atom, android-23 | Google APIs Intel x86 Atom_64, android-27 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom
    IDEs:
      Android Studio: 3.5 AI-191.8026.42.35.5791312
      Xcode: 10.3/10G8 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.6 => 16.8.6
      react-native: 0.59.5 => 0.59.5
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-rename: 2.4.1

Library version: 9.9.0

Steps To Reproduce

  1. Install latest version
  2. Build any app with the dependency

Most helpful comment

Make that v9.9.2

All 3 comments

Can you try with v9.9.1?

Make that v9.9.2

  • iOS - build ok
  • Android - build ok

Tksssss

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ryanhomer picture ryanhomer  ·  35Comments

raffaeler picture raffaeler  ·  117Comments

uriklar picture uriklar  ·  40Comments

SudoPlz picture SudoPlz  ·  35Comments

anhuiliujun picture anhuiliujun  ·  59Comments