Last login: Fri Nov 24 08:24:14 on console ninhnguyen@Ninhs-MacBook-Pro ~ % cd /Users/ninhnguyen/Documents/ZRLibs/TestCapacitor2 ninhnguyen@Ninhs-MacBook-Pro TestCapacitor2 % npm init @capacitor/app ✔ What is the name of your app? … TestCap2 ✔ What directory should be used for your app? … testcap2 ✔ What should be the App ID for your app? App IDs (aka Bundle ID in iOS and Application ID in Android) are unique identifiers for apps. They must be in reverse domain name notation, generally representing a domain name that you or your company owns. … com.ninh.test.cap2 🎉 Your Capacitor app is ready to go! 🎉 Next steps: - cd testcap2/ - install dependencies (e.g. w/ npm install) - npm start ninhnguyen@Ninhs-MacBook-Pro TestCapacitor2 % cd testcap2/ ninhnguyen@Ninhs-MacBook-Pro testcap2 % npm i @capacitor/core npm i -D @capacitor/cli added 113 packages, and audited 114 packages in 9s 17 packages are looking for funding run `npm fund` for details found 0 vulnerabilities up to date, audited 114 packages in 475ms 17 packages are looking for funding run `npm fund` for details found 0 vulnerabilities ninhnguyen@Ninhs-MacBook-Pro testcap2 % npx cap init [?] What is the name of your app? This should be a human-friendly app name, like what you'd see in the App Store. ✔ Name … TestCap2 [?] What should be the Package ID for your app? Package IDs (aka Bundle ID in iOS and Application ID in Android) are unique identifiers for apps. They must be in reverse domain name notation, generally representing a domain name that you or your company owns. ✔ Package ID … com.ninh.test.cap2 ✔ Creating capacitor.config.json in /Users/ninhnguyen/Documents/ZRLibs/TestCapacitor2/testcap2 in 3.22ms [success] capacitor.config.json created! Next steps: https://capacitorjs.com/docs/getting-started#where-to-go-next ninhnguyen@Ninhs-MacBook-Pro testcap2 % npm install @capacitor/ios added 1 package, and audited 115 packages in 2s 17 packages are looking for funding run `npm fund` for details found 0 vulnerabilities ninhnguyen@Ninhs-MacBook-Pro testcap2 % npx cap add ios [warn] The bundledWebRuntime configuration option has been deprecated. Can be safely deleted. ✔ Adding native Xcode project in ios in 11.67ms ✔ add in 12.07ms ✔ Copying web assets from dist to ios/App/App/public in 4.41ms ✔ Creating capacitor.config.json in ios/App/App in 220.42μs ✔ copy ios in 7.38ms ✔ Updating iOS plugins in 376.25μs [info] Found 2 Capacitor plugins for ios: @capacitor/camera@5.0.7 @capacitor/splash-screen@5.0.6 ✖ Updating iOS native dependencies with pod install - failed! ✖ update ios - failed! [error] xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance ninhnguyen@Ninhs-MacBook-Pro testcap2 % npx cap add ios [warn] The bundledWebRuntime configuration option has been deprecated. Can be safely deleted. [error] ios platform already exists. To re-add this platform, first remove ./ios, then run this command again. WARNING: Your native project will be completely removed. ninhnguyen@Ninhs-MacBook-Pro testcap2 % npx cap add ios [warn] The bundledWebRuntime configuration option has been deprecated. Can be safely deleted. ✔ Adding native Xcode project in ios in 11.97ms ✔ add in 12.34ms ✔ Copying web assets from dist to ios/App/App/public in 3.91ms ✔ Creating capacitor.config.json in ios/App/App in 222.50μs ✔ copy ios in 6.82ms ✔ Updating iOS plugins in 412.83μs [info] Found 2 Capacitor plugins for ios: @capacitor/camera@5.0.7 @capacitor/splash-screen@5.0.6 ✖ Updating iOS native dependencies with pod install - failed! ✖ update ios - failed! [error] xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance ninhnguyen@Ninhs-MacBook-Pro testcap2 % xcode-select --install xcode-select: note: Command line tools are already installed. Use "Software Update" in System Settings or the softwareupdate command line interface to install updates ninhnguyen@Ninhs-MacBook-Pro testcap2 % sudo xcode-select --switch /Library/Developer/CommandLineTools Password: ninhnguyen@Ninhs-MacBook-Pro testcap2 % npx cap add ios [warn] The bundledWebRuntime configuration option has been deprecated. Can be safely deleted. ✔ Adding native Xcode project in ios in 12.89ms ✔ add in 13.31ms ✔ Copying web assets from dist to ios/App/App/public in 4.00ms ✔ Creating capacitor.config.json in ios/App/App in 208.67μs ✔ copy ios in 7.01ms ✔ Updating iOS plugins in 382.92μs [info] Found 2 Capacitor plugins for ios: @capacitor/camera@5.0.7 @capacitor/splash-screen@5.0.6 ✖ Updating iOS native dependencies with pod install - failed! ✖ update ios - failed! [error] xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance ninhnguyen@Ninhs-MacBook-Pro testcap2 % sudo xcode-select -s /Applications/Xcode.app/Contents/Developer ninhnguyen@Ninhs-MacBook-Pro testcap2 % npx cap add ios [warn] The bundledWebRuntime configuration option has been deprecated. Can be safely deleted. ✔ Adding native Xcode project in ios in 11.90ms ✔ add in 12.30ms ✔ Copying web assets from dist to ios/App/App/public in 4.28ms ✔ Creating capacitor.config.json in ios/App/App in 373.42μs ✔ copy ios in 7.40ms ✔ Updating iOS plugins in 405.79μs [info] Found 2 Capacitor plugins for ios: @capacitor/camera@5.0.7 @capacitor/splash-screen@5.0.6 ✔ Updating iOS native dependencies with pod install in 4.35s ✔ update ios in 5.23s [success] ios platform added! Follow the Developer Workflow guide to get building: https://capacitorjs.com/docs/basics/workflow ninhnguyen@Ninhs-MacBook-Pro testcap2 % npx cap open ios ✔ Opening the Xcode workspace... in 3.01s ninhnguyen@Ninhs-MacBook-Pro testcap2 % npm start > capacitor-app@1.0.0 start > vite vite v2.9.16 dev server running at: > Local: http://localhost:3000/ > Network: use `--host` to expose ready in 214ms.