ignite: [Maverick] Command CompileSwiftSources failed with a nonzero exit code

Describe the bug

Running the boilerplate with Xcode Version 13.4.1 (13F100) produces these two errors:

image
ExpoModulesCore Group
Command CompileSwiftSources failed with a nonzero exit code

CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ExpoModulesCore' from project 'Pods')

( a bunch of output )

remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
Command CompileSwiftSources failed with a nonzero exit code
FBReactNativeSpec Group
Command PhaseScriptExecution failed with a nonzero exit code
Node found at: /var/folders/8j/349q4sb50qv8zwvxk751kdsw0000gn/T/yarn--1660789716516-0.8769200455720108/node
/Users/jh/Code/ignite-cli/boilerplate/ios/Pods/../../node_modules/react-native/React/FBReactNativeSpec/../../scripts/react_native_pods_utils/script_phases.sh: line 83: /var/folders/8j/349q4sb50qv8zwvxk751kdsw0000gn/T/yarn--1660789716516-0.8769200455720108/node: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code

Ignite version

Maverick

Additional info

No

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

By the way, running yarn will output this:

Auto-generating `.xcode.env.local` with
$NODE_BINARY=/var/folders/8j/349q4sb50qv8zwvxk751kdsw0000gn/T/yarn--1661999583968-0.618588229915737/node

But then it runs fine.

So, I guess this means that sometimes you’ll just need to remove that file and re-yarn.

rm ./ios/.xcode.env.local
yarn