ignite: npx react-native run-ios fail on ignite-cli v8.3.1, node lts v14.20.0

Describe the bug

What happened? I tried to use expo-47-rn-70 in the project. then Could not run sample project created with “npx react-native run-ios” command.

npx react-native run-ios


** BUILD FAILED **

The following build commands failed:
	CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
	CompileSwift normal x86_64
(2 failures)

Ignite version

8.3.1

Additional info

npx ignite-cli doctor


System
  platform           darwin                                                  
  arch               x64                                                     
  cpu                8 cores      Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz 
  directory          iosBuild     /Users/xxxp/Desktop/iosBuild   

JavaScript (and globally-installed packages)
  node               14.20.0      /usr/local/bin/node 
  npm                6.14.17      /usr/local/bin/npm                  
    @vue/cli         5.0.6                            
  yarn               1.22.19      /usr/local/bin/yarn 
  pnpm               -            not installed       
  expo               47.0.3       managed             

Ignite
  ignite-cli         8.3.1        /Users/xxxp/Desktop/node/node_cache/_npx/6972/bin/ignite                        
  ignite src         build        /Users/xxxp/Desktop/node/node_cache/_npx/6972/lib/node_modules/ignite-cli/build 

Android
  java               -            not installed 
  android home       -            undefined     

iOS
  xcode              12.4       
  cocoapods          1.11.3       /usr/local/bin/pod 

Tools
  git                git version 2.27.0   /usr/local/bin/git 

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 29 (14 by maintainers)

Most upvoted comments

@vankhoa01这条错误消息向我表明 Xcode 出了点问题,它无法处理 ExpoModulesCore pod。 我会尝试两件事:

@joshuayoes: 谢谢你的建议 让我更新xcode到最新版本再试一次

I adjusted the version of expo-modules-core to 0.11.3 and found it works "expo-modules-core": "~1.0.4 || ~1.1.0" => "expo-modules-core": "~0.11.3"

Running a fresh app using yarn run ios fails wiht the message: “error No simulator available with name ‘iPhone 13’”, but using yarn run expo:ios works, and also using Xcode (Simulator iPhone 14 / iOS 16.1) to run the app works ok too.

The issue you are having is known, try this solution here: https://github.com/infinitered/ignite/issues/2170#issuecomment-1249641608