software-mansion / react-native-ide

https://ide.swmansion.com
Other
718 stars 22 forks source link

Couldn't start device session Command was killed with SIGABRT (Aborted) #339

Closed acouvreur1997 closed 3 weeks ago

acouvreur1997 commented 1 month ago

Description I'm trying to launch an application with expo 50 with React Native IDE 0.0.14 on iOS with iPhone 15 Pro (i have Xcode 15.3 and on Locations Settings i have Xcode15 15.3 on Command Line Tools).

The iOS build with React Native IDE is successful but i get the error on the React Native IDE logs : "Couldn't start device session Command was killed with SIGABRT (Aborted): .vscode/extensions/swmansion.react-native-ide-0.0.14-darwin-arm64/dist/sim-server ios F3FC0BEC-BF9F-490F-84E9-625619544522 Library/Caches/com.swmansion.react-native-ide/Devices/iOS".

I tried to run the project on the iPhone 15 Pro simulator directly on Xcode and it works.

Do you have any ideas to resolve this problem ?

Environment

jakub-gonet commented 3 weeks ago

We use hardcoded paths for xcode. What's the output of xcode-select -p? We expect it to be /Applications/Xcode.app/Contents/Developer.

acouvreur1997 commented 3 weeks ago

My output of xcode-select -p is : /Desktop/Xcode15.3/Xcode15.3.app/Contents/Developer I need to have 2 versions of Xcode on my mac so i don't use the Xcode on AppStore, i downloaded specific versions on https://xcodereleases.com/. There is a way to tell the ide the specific path of xcode-select -p ?

jakub-gonet commented 3 weeks ago

Not yet, we're working on it. For the time being you can try symlinking it to this location and checking if it works.

acouvreur1997 commented 3 weeks ago

Thanks you 😄 , with the symlink, the simulator launches correctly on the ide extension

jakub-gonet commented 3 weeks ago

@acouvreur1997 in the next release you can probably delete the symlink, we'll handle it automatically. https://github.com/software-mansion/react-native-ide/pull/364

We plan to release new version every few weeks.