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
After I upgraded my ionic application to V8 and my capacitor version to V6 I can't build my app on ios. I am getting the following message as a popup when building the app with 'ionic cap build ios' and then running it in xcode 15: Build failed because Capacitor.swiftmodule is missing a required architecture. Would you like to build for rosetta instead?
And in the output of xcode it gives this error: Could not find module 'capacitor; for target 'x86_64-apple-ios-simulator' found: arm64-apple-ios-simulator.
I already made a issue on the capacitor github. But after some testing I found that the error is removed when i remove the @capacitor-mlkit/barcode-scanning package from my project. Therefore i made a new issue here.
Expected behavior
That when i run the new build i don't get the error displayed above.
And just to be clear. This did work before upgrading to capacitor v6 so the problem lies there
You need to add some code to your Podfile. Also, this issue has already been discussed in #85, #99 and #148. Please search for old issues first before creating a new one. I'm therefore closing this issue.
Plugin(s)
Version
6.0.0
Platform(s)
Current behavior
After I upgraded my ionic application to V8 and my capacitor version to V6 I can't build my app on ios. I am getting the following message as a popup when building the app with 'ionic cap build ios' and then running it in xcode 15: Build failed because Capacitor.swiftmodule is missing a required architecture. Would you like to build for rosetta instead?
And in the output of xcode it gives this error: Could not find module 'capacitor; for target 'x86_64-apple-ios-simulator' found: arm64-apple-ios-simulator.
I already made a issue on the capacitor github. But after some testing I found that the error is removed when i remove the @capacitor-mlkit/barcode-scanning package from my project. Therefore i made a new issue here.
Expected behavior
That when i run the new build i don't get the error displayed above.
And just to be clear. This did work before upgrading to capacitor v6 so the problem lies there
Reproduction
https://github.com/VerburgtJimmy/ionicV8problem
Steps to reproduce
Other information
npm version: 10.7.0
Capacitor doctor
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/android: 6.0.0
@capacitor/ios: 6.0.0
Before submitting
The text was updated successfully, but these errors were encountered: