ObjCHiredis icon indicating copy to clipboard operation
ObjCHiredis copied to clipboard

Error compiling redis static library into iOS simulator

Open dineshyash opened this issue 9 years ago • 1 comments

I am trying to integrate the simulator static library of Redis into my iOS project and have done the following things.

drag and drop the static library into my project folder Add header search path in the build settings Check whether the static library is added into the build phases in settings. Set the header search path Set the other linker flags setting to "-all_load" I am not sure where i have gone wrong but am geting the following error while compiling it.

screen shot 2015-03-24 at 2 24 00 pm

Any help in this regard is greatly appreciated. (P.S - I am pretty much sure that i am using the static library built for simulator)

dineshyash avatar Mar 24 '15 10:03 dineshyash

file libRedis.a Please run this in terminal and paste the output here. Most likely, your binary is device only.

dodikk avatar Mar 24 '15 15:03 dodikk