iOS Question B4i WebSocket not compiling

Wollie

New Member
Licensed User
Longtime User
Hi All

I am new to B4i, iOS and Apple, please help.

I am using B4i with a local Mac builder to develop programs using a iPad Air as test device.
When I compile a simple app (without WebSocket), everything works fine, and the app gets installed on the device (IPad Air)

When I use the WebSocket tutorial program that Erel supplied it just will not compile. I have copied the xml file to the internal libraries folder and the .a and .h files to the Mac Libs folder.
When I compile I get this error:

ld: warning: ignoring file ../../Libs/libiWebSocket.a, file was built for archive which is not the architecture being linked (armv7): ../../Libs/libiWebSocket.a
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_B4IWebSocket", referenced from:
objc-class-ref in b4i_websockethandler.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

What am I missing or what do I do wrong

Thanks
Wollie
 
Top