Capacitor: bug: Switch must be exhaustive (Xcode 12)

Created on 22 Jun 2020  ·  3Comments  ·  Source: ionic-team/capacitor

Bug Report

Compiling an Capacitor app with Xcode 12 causes some build error like not exhaustive switch statements in the Permissions.swift file

ios

Most helpful comment

For others having this issue run:

npm install @capacitor/ios@latest

then sync the project:

npx cap sync ios

All 3 comments

For others having this issue run:

npm install @capacitor/ios@latest

then sync the project:

npx cap sync ios

For others having this issue run:

npm install @capacitor/ios@latest

then sync the project:

npx cap sync ios

Confirmed - fixed for me

Was this page helpful?
0 / 5 - 0 ratings