MythiCode/zebra_utlity

Cannot build for iOS

Closed this issue · 6 comments

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

Version: 0.0.31

hrshs commented

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.

Thank you. It worked

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

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.

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

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 ?