lp / ObjCHiredis

Hiredis with Objective-C Interface
162 stars 22 forks source link

Error compiling redis static library into iOS simulator #11

Open dineshyash opened 9 years ago

dineshyash commented 9 years ago

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)

dodikk commented 9 years ago

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