-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Running xcodebuild - failed! After installing barcode plugin on mac m1 (macOS Sonoma 14.0) / ios 17. #85
Comments
Thank you for your request. I use a Mac M1 myself and have no problems. Please provide a Minimal, Reproducible Example using this template in a public GitHub repository so I can debug the issue. |
Hello, i could do that. But i just made a brand new project and installed the plugin and got this:
I've never seen that error until I installed your plugin. "dependencies": { |
|
Can you reproduce your issue with the Capacitor ML Kit Plugin Demo project? |
I get the same error after trying to run your project on a IOS simulator. I'm using Xcode 15 by the way. |
The problem seems to affect only simulators. I have no problems on my physical iPhone 13. |
Thank you Robin. I'll try! :) |
Yep. That solved it! By adding your code to my podfile solved it. Thank you! post_install do |installer| |
I am having this issue:
Fails to build in simulator, although, I am able to open the generated XCode project and run in the simulator directly. |
Hello! Thank you for the provided solution, and I apologize in advance for responding to a closed issue. Are you certain that this isn't merely activating a different 'Rosetta' way, serving as a quick fix rather than a real solution? It appears to be enabling a 'use all' approach, when it should be utilizing the ARM64 architecture instead. There will come a time when Apple will mandate 'no more Rosetta; build for ARM64.' I'm also curious as to why other plugins do not encounter this issue. Hope to hear from you and thank you in advance for reading and answering! Kind regards |
This has nothing to do with the plugin but with the pod. You should therefore post your question in https://github.com/googlesamples/mlkit. This is currently the only solution/workaround I have found. If anyone has a better solution, I would appreciate any tips. |
Plugin(s)
Did you test the latest version?
Platform(s)
Current behavior
error.txt
Expected behavior
After installing the barcode scanning plugin and trying to run the simulator i get a huge error. When i remove the plugin, everything can build properly.
Reproduction
Steps to reproduce
Other information
No response
Capacitor doctor
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 5.5.0
@capacitor/core: 5.5.0
@capacitor/android: 5.5.0
@capacitor/ios: 5.5.0
Installed Dependencies:
@capacitor/cli: 5.5.0
@capacitor/core: 5.5.0
@capacitor/android: 5.5.0
@capacitor/ios: 5.5.0
[success] iOS looking great! 👌
[success] Android looking great! 👌
Before submitting
The text was updated successfully, but these errors were encountered: