You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of Xcode are you using? Switch statements as expressions were introduced in Swift 5.9 which is shipped in Xcode 15 which Capacitor now requires
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Capacitor Version
Latest Dependencies:
@capacitor/cli: 6.0.0
@capacitor/core: 6.0.0
@capacitor/android: 6.0.0
@capacitor/ios: 6.0.0
Installed Dependencies:
@capacitor/cli: 6.0.0
@capacitor/core: 6.0.0
@capacitor/ios: 6.0.0
@capacitor/android: 6.0.0
Other API Details
Platforms Affected
Current Behavior
After upgrading from Capacitor v5 to v6 and running
npx cap sync
I am getting a build error on ios:...@capacitor/ios/Capacitor/Capacitor/Codable/JSValueEncoder.swift:103:5 Missing return in getter expected to return 'String'
It seems the JSValueEncoder is missing the default return here:
capacitor/ios/Capacitor/Capacitor/Codable/JSValueEncoder.swift
Line 101 in 5b2ab7c
Expected Behavior
iOS builds without error
Project Reproduction
none
Additional Information
No response
The text was updated successfully, but these errors were encountered: