CodetrixStudio / CapacitorGoogleAuth

Capacitor plugin for Google Auth. Lightweight & no dependencies.
MIT License
265 stars 145 forks source link

Apple M1: This plugin is incompatible with XCode 13 and M1 #244

Open malte94 opened 1 year ago

malte94 commented 1 year ago

This plugin is currently not compatible with Apple M1 and XCode 13. Does anyone happen to know when a solution to this will be worked on?

        ** BUILD FAILED **

        The following build commands failed:
        CompileSwift normal x86_64 /Users/malte/Documents/MyApp/client/ios/App/App/AppDelegate.swift (in
        target 'App' from project 'App')
        EmitSwiftModule normal x86_64 (in target 'App' from project 'App')
        CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'App' from project 'App')
        (3 failures)
tyronehenrie commented 1 year ago

I am able to use the plugin on an M1 now after using the 2021 solution listed in this answer. https://stackoverflow.com/questions/64901180/how-to-run-cocoapods-on-apple-silicon-m1

At least I think that was what did it. I tried several approaches attempting to get this plugin to work and now it is working so hopefully that answer gets you pointed in the right direction.

malte94 commented 1 year ago

I am able to use the plugin on an M1 now after using the 2021 solution listed in this answer. https://stackoverflow.com/questions/64901180/how-to-run-cocoapods-on-apple-silicon-m1

At least I think that was what did it. I tried several approaches attempting to get this plugin to work and now it is working so hopefully that answer gets you pointed in the right direction.

Thank you! Good to know that you got it working - somehow. I will also investigate and see if there's a solution.

malte94 commented 1 year ago

I am able to use the plugin on an M1 now after using the 2021 solution listed in this answer. https://stackoverflow.com/questions/64901180/how-to-run-cocoapods-on-apple-silicon-m1

At least I think that was what did it. I tried several approaches attempting to get this plugin to work and now it is working so hopefully that answer gets you pointed in the right direction.

I have tested now some suggested solutions in your linked thread. What I have also tried:

Do you possibly have another suggestion or idea, what could have lead to succesfully setting up this plugin on M1?

Thank you! :)

gasci commented 1 month ago

It is incompatible with M2, too :) rc-4