I updated my provisioning profile for an IOS app today and attempted to build. The build failed for “switch must be exhaustive”
Lots of people say that’s because I don’t have the latest version of ionic installed. The fix for this is supposed to be:
npm install @capacitor/ios@latest
and then
npx cap sync ios
when I try to do this I get an error:
Cannot find module ‘…/lib/cli.js’
I believe this is because I don’t have a node_modules folder. I don’t have that folder because tech support had me delete it otherwise my app wouldn’t build. (I was told it would be created during the compile process.)
Important, this app doesn’t use any frameworks. Prior to the update to XCode the app worked fine. I’ve been updating it quarterly and submitting to the app store without issue.
Any help would be appreciated.