Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

CompileSwiftSources failed with a nonzero exit code with "no such file or directory"

$
0
0

I am compiling an iOS project that is created using react-native. One library, react-native-photo-editor, fails to be built with a very odd error. It complains of "no such file or directory" on a file that clearly exists.

XCode error

However, the file definitely exists. I can use Terminal to tail that file.

Terminal output

Several things that I think might contribute to this problem is that my user directory has a space (adityasantoso 1). There is also an @ sign at the compilation message that I am not sure what it stands for.

Environment:

  1. Mac OSX Mojave 10.14.6
  2. Xcode Version 11.3.1 (11C504)
  3. Toolchain: Swift 4.1.3 Release 2018-07-27 (a). This is not the default Swift toolchain for this version of Xcode
  4. react-native: 0.59.10
  5. react-native-photo-editor: 0.0.7

Any idea what else I can try out to make it compile?


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>