Open bhaveshsimpos opened 3 years ago
Do you run your project in the simulator? You cannot run a project with Zebra libraries in the simulator.
Thanks for the answer @hrshs Yes I am trying to run in a simulator
Now I am trying to run on the real device it's working.
Any solutions to this problem?? I have the same issue on a real device.
After copying the .a file in the ios folder the error persists, any solution?
same problem
Thanks for the answer @hrshs Yes I am trying to run in a simulator
Now I am trying to run on the real device it's working.
Can you explain how did you add libZSDK_API.a file to your iOS project?
I tried to run a new project importing this library in the pubspec.yaml ( zebrautility: ^0.0.38 ) and the project didn't compile. This is the error: Undefined symbols for architecture x86_64: "OBJC_CLASS$_EAAccessory", referenced from: objc-class-ref in zebrautility(Printer.o) "OBJC_CLASS$_EASession", referenced from: objc-class-ref in libZSDK_API.a(Zebra_EADSessionController.o) "OBJC_CLASS$_EAAccessoryManager", referenced from: objc-class-ref in libZSDK_API.a(MfiBtPrinterConnection.o) objc-class-ref in zebrautility(Printer.o) ld: symbol(s) not found for architecture x86_64
already added There is libZSDK_API.a file in the ios folder for this repose. Please open your Xcode project add manually this library to your Xcode.
but getting the issue please help
thanks in advance.