Closed widersky closed 7 months ago
It says Command "brew reinstall xcodegen" didn't complete successfully, exiting with code 1.: Command "brew reinstall xcodegen" didn't complete successfully
, just try to reinstall xcodegen again?
Same thing here. $ brew reinstall xcodegen works fine. Running xcodegen from the command line works fine. There is something wrong with the "yarn tauri ios init" command
Same issue, any workarounds?
I can confirm this happens on M2 too.
intel mac also.
Any solutions?
I'm working on the fix for this. Will be released today.
It looks like the tauri CLI included in package.json by the project creator has not been updated to 2.0. Try using this:
"devDependencies": {
"@tauri-apps/cli": ">=2.0.0-beta.0",
}
I figured it out by looking at https://github.com/atilafassina/quantum/blob/main/package.json based on this video https://www.youtube.com/watch?v=W539_PP4Y98
Describe the bug
When executing the
yarn tauri ios init
command, an error appears as below:Reproduction
yarn tauri ios init
commandExpected behavior
No errors - using Hombrew commands directly to install packages runs without any problems.
Platform and versions
$ tauri info
Environment › OS: Mac OS 13.2.0 X64 › Node.js: 16.19.0 › npm: 8.19.3 › pnpm: 7.18.2 › yarn: 1.22.19 › rustup: 1.25.1 › rustc: 1.67.0 › cargo: 1.67.0 › Rust toolchain: stable-aarch64-apple-darwin
Packages › @tauri-apps/cli [NPM]: 2.0.0-alpha.2 › @tauri-apps/api [NPM]: 2.0.0-alpha.0 › tauri [RUST]: 2.0.0-alpha.3, › tauri-build [RUST]: 2.0.0-alpha.1, › tao [RUST]: 0.17.0, › wry [RUST]: 0.26.0,
App › build-type: bundle › CSP: unset › distDir: ../dist › devPath: http://localhost:1420/ › framework: React › bundler: Vite
App directory structure ├─ node_modules ├─ public ├─ src-tauri ├─ .vscode └─ src ✨ Done in 9.17s.
Stack trace
No response
Additional context
No response