regression from #14668
when running the tauri CLI via cargo, the CWD is changed by the xcode-script command - moves from src-tauri/gen/apple to src-tauri so the CLI can resolve the app path properly
resolving early breaks this, so we must be careful with the #14668 change