XCode Empty, cant deploy on device

Hey, I installed the basic template from the ionic guide. When it comes to npx cap add ios, npx cap sync ios and run npx cap open ios my XCode looks like this. Am I missing something?

I’m pretty new to that so guides are welcome! Thanks for your time.

Probably you are using Angular 19, and there Is a problem

Try the temporary solution written in link (optimization:false in angular.js)

Hey, thanks for the reply but I’m actually using the VueJS template

The solution were more simple than I ever thought. The issue was that I didn’t had pop installed.

I didnt saw the small warning saying

[capacitor] [warn] Skipping pod install because CocoaPods is not installed

So after installing it with

brew install cocoapods

and a quick

rm -rf ./ios/
ionic cap add ios
ionic cap build ios

Everything were fine and I could start coding my app.

Credits to Ionic Capacitor Build for ios creates empty Xcode workspace - Stack Overflow

1 Like