my Mac put on a forced update (big sur) last night , and it forced an XCODE (13) update
and now my app doesn’t build to run on my iphone
no such module capacitor
the node_modules/@capacitor/ios folder is there
npx cap sync works
I see search results that suggest deleting the ios folder and adding it again…
but there are a bunch of settings (many I don’t remember) that will be lost…
not quite there
get these messages during build (ionic capacitor sync ios)
Images and other types of assets omitted.
DONE Build complete. The dist directory is ready to be deployed.
INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
> capacitor sync ios
[capacitor] ✔ Copying web assets from public to ios/App/App/public in 14.66ms
[capacitor] ✔ Creating capacitor.config.json in ios/App/App in 1.67ms
I have fixed the capacitor.config,json in the project root, and now the cap copy/sync copies from dist to ios/App/App/public
and build in xcode completes…
but now my app is a blank page (i know my icon is not in the xcode settings yet, but is in the public/img folder), like none of my assets were deployed…
I can see the code, css, etc referenced in the index.html.
I faced the same issue after migrating to new laptop - when I did git clone, installed modules, built and synched capacitor - no matter what I’ve tried app won’t build in xCode until I removed the folder and did npx cap add ios
I’m new to capacitor and it already sounds quite frustrating that fresh project cloned from git just won’t run - or maybe I did something wrong?
I just crushed into this problem. Deleting the ios folder and putting it back didn’t correct the problem. I have no problems with ionic build nor anything else. Actually yesterday was doing good and all of a sudden the error popped and now there’s no way of getting rid of it.