Skip to content
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

ZabraUtility Build issue in IOS #4

Open
bhaveshsimpos opened this issue Aug 4, 2021 · 6 comments
Open

ZabraUtility Build issue in IOS #4

bhaveshsimpos opened this issue Aug 4, 2021 · 6 comments

Comments

@bhaveshsimpos
Copy link

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.

@hrshs
Copy link
Contributor

hrshs commented Aug 4, 2021

Do you run your project in the simulator?
You cannot run a project with Zebra libraries in the simulator.

@bhaveshsimpos bhaveshsimpos changed the title ZabraUtility Run issue in IOS ZabraUtility Build issue in IOS Aug 4, 2021
@bhaveshsimpos
Copy link
Author

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.

@alcampospalacios
Copy link

alcampospalacios commented Sep 26, 2021

Any solutions to this problem?? I have the same issue on a real device.

@elvissalabarria
Copy link

After copying the .a file in the ios folder the error persists, any solution?

@mfurkanyuceal
Copy link

same problem

@taosif7-dreamorbit
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants