mlynch / nextjs-tailwind-ionic-capacitor-starter

A starting point for building an iOS, Android, and Progressive Web App with Tailwind CSS, React w/ Next.js, Ionic Framework, and Capacitor
https://dev.to/ionic/build-mobile-apps-with-tailwind-css-next-js-ionic-framework-and-capacitor-3kij
MIT License
1.72k stars 349 forks source link

Error when opening iOS #9

Closed BeanMeUp closed 3 years ago

BeanMeUp commented 3 years ago

I get the following error when running npx cap open ios

Showing Recent Errors Only
/path/to/nextjs-tailwind-ionic-capacitor-starter-main/ios/App/Pods/Target Support Files/Pods-App/Pods-App.debug.xcconfig: unable to open file (in target "App" in project "App")
BeanMeUp commented 3 years ago

I solved this by removing the ios directory and then readded it with npx cap add ios

I then reran

npm run build
npm run export
npx cap copy
npx cap open ios

It then fixed my problem.