MythiCode / zebra_utlity

MIT License
6 stars 26 forks source link

Cannot build for iOS #1

Closed igiazlas closed 3 years ago

igiazlas commented 3 years ago

Building for iOS fails with ld: library not found for -lZSDK_API

Version: 0.0.31

hrshs commented 3 years ago

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.

igiazlas commented 3 years ago

Thank you. It worked

bshaik1 commented 3 years ago

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.

I added libZSDK_API.a file through 'Link Binary With Libraries' and it still doesn't work. I am using 0.0.32

bttruman commented 3 years ago

We were able to get this working by simply right clicking on "Runner" at the top of the solution explorer, and selecting "Add File to Project Name". This added the file to the correct location in the project for it to be referenced properly.

Kirubhasankar commented 2 years ago

Found the issue in plugin. Need to add '.a' extension as like ( s.vendored_libraries = 'libZSDK_API.a' ) in zebrautility.podspec

crushman1 commented 1 year ago

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.

How exactly does one go about doing this ?