DolphiniOS-Issue-Tracker icon indicating copy to clipboard operation
DolphiniOS-Issue-Tracker copied to clipboard

Building fails with "Error loading 'build.ninja': No such file or directory"

Open jawshoeadan opened this issue 4 years ago • 1 comments

Describe the issue I cloned the GitHub repo for ios-jb following the instructions in the README. I installed everything with homebrew and installed the pods all according to the instructions. When I hit build in the xcworkspace, I get the error "loading 'build.ninja': No such file or directory"

How to reproduce Follow instructions on README, hit run with a device plugged in, build fails.

Expected result I expected the build to succeed Screen Shot 2020-10-13 at 9 16 42 PM

jawshoeadan avatar Oct 14 '20 04:10 jawshoeadan

I had a similar error, but not for the build.ninja for the cmake. The solution was to update all of the references to cmake in this build.ninja to the correct one in homebrew and also I had the latest version of Xcode 13.1 so I had to update all references of iOS 14.5 sdk to iOS 15 sdk.

run brew list and make sure you see ninja. If that's good I would shut down the terminal and Xcode and then open Xcode again and try. I'm on an m1 mac, so not sure if it's the same case for intel macs too.

pabloarista avatar Oct 30 '21 23:10 pabloarista