swift - Need to solve issue with building Icecast client for iOS -
few days ago, i've built icecast server on local , built static library ios libshout build icecast client on ios. (xcode7.0).
when built static library, support armv7, armv7s, armv64 (build active architecture : false).
so got libaudiostream.a.
then going use library ios development.
when use library, got following error when init library.
undefined symbols architecture armv7:
"__shout_httpp_parse_response", referenced from:
_parse_http_response in libaudiostream.a(shout.o)
"__shout_httpp_getvar", referenced from:
_parse_http_response in libaudiostream.a(shout.o)
"__shout_sock_write_bytes", referenced from:
_try_write in libaudiostream.a(shout.o)
"__shout_sock_recoverable", referenced from:
_try_write in libaudiostream.a(shout.o) _get_response in libaudiostream.a(shout.o)
"__shout_sock_read_bytes", referenced from:
_get_response in libaudiostream.a(shout.o)
"__shout_sock_connected", referenced from:
_try_connect in libaudiostream.a(shout.o)
"__shout_httpp_destroy", referenced from:
.....
my static library support armv7 , armv64, too.
i checked nm on terminal.
00001538 t _updatestats
libaudiostream.a(shout.o) (for architecture armv7):
u ___memcpy_chk u ___sprintf_chk u ___stack_chk_fail u ___stack_chk_guard u ___udivdi3 u ___vsnprintf_chk
00006584 b __initialized
u __shout_httpp_create_parser u __shout_httpp_destroy u __shout_httpp_getvar u __shout_httpp_initialize u __shout_httpp_parse_response u __shout_sock_close u __shout_sock_connect_non_blocking u __shout_sock_connect_wto u __shout_sock_connected u __shout_sock_error u __shout_sock_initialize u __shout_sock_read_bytes u __shout_sock_recoverable u __shout_sock_shutdown u __shout_sock_write u __shout_sock_write_bytes u __shout_timing_get_time u __shout_timing_sleep u __shout_util_base64_encode u __shout_util_dict_free u __shout_util_dict_get u __shout_util_dict_new u __shout_util_dict_set
.....
so, question is there additional change required building lib supporting arm64 & armv7 or did mistake in above step.
please current me if wrong.
thanks in advance
Comments
Post a Comment