aloisdeniel / flutter_plugin_appcenter

Flutter plugins for accessing Visual Studio App Center services.
55 stars 51 forks source link

Undefined symbols for architecture x86_64 #11

Open karan-rawal opened 5 years ago

karan-rawal commented 5 years ago

I'm getting this error while building.

bazurtovqhr commented 5 years ago

Hi everybody. I am currently using your app centre plugin and it is working fine in Android. However, when building on macOS and try to run it on the iPhone emulator on IntelliJ, I get this error:

Xcode's output:
↳
    warning: no rule to process file ‘/my-user/.pub-cache/hosted/pub.dartlang.org/flutter_sodium-0.0.10/ios/Classes/libsodium-ios/lib/libsodium.a' of type 'archive.ar' for architecture 'x86_64' (in target 'flutter_sodium')
    Command CompileSwift failed with a nonzero exit code
    Undefined symbols for architecture x86_64:
      "_OBJC_CLASS_$_MSCrashes", referenced from:
          objc-class-ref in AppcenterCrashesPlugin.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    Runner-buuavrjfrqfmcneuzzrlijgfeahr
    note: Using new build systemnote: Planning buildnote: Constructing build description

Could not build the application for the simulator.
Error launching application on iPhone Xʀ.

Could you help me with this? I am not familiar with IOs programming, Xcode .