Pantrist-dev / capacitor-plugin-ml-kit-text-recognition

MIT License
12 stars 6 forks source link

Can't compile on M2 #9

Open ludufre opened 1 year ago

ludufre commented 1 year ago

Hi,

I can't compile on M2 Pro.

Via CLI i receive:

Could not find module 'Capacitor' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator, at: /Users/ludufre/Library/Developer/Xcode/DerivedData/App-gpnigqekqnhaduddbtpozmbkfodi/Build/Products/Debug-iphonesimulator/Capacitor/Capacitor.framework/Modules/Capacitor.swiftmodule

Via XCode he asks to install Roseta: image

There is any other alternative than enabling Roseta? If I enable compiles, but not via CLI.

Even with a brand new Ionic project the error appears.

wallstudios commented 1 year ago

same here. any updates?

wallstudios commented 1 year ago

Building to actual device works.

NLueg commented 5 months ago

Hello, are you sure that the error lies in this plugin? This sounds like a general issue to me. I only have an M1 mac where everything works fine but I don't think that the M2 behaves much differently.