VLCKit for ios failed - ios

I'm trying to install VLCKit for iOS by following this. It says that after downloading the project, install vlc framework for iOS is by executing ./buildMobileVLCKit.sh -f in terminal.
I obtain this at the end of log :
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libass.a(ass_fontconfig.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libass.a(utils.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libass.a(ass_fontconfig.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libass.a(utils.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-i386-apple-darwin11-i386/lib/libass.a(ass_fontconfig.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-i386-apple-darwin11-i386/lib/libass.a(utils.o) has no symbols
libavcodec/audiotoolboxdec.c:344:34: warning: incompatible pointer types passing 'UInt32 *'
(aka 'unsigned long *') to parameter of type 'int *' [-Wincompatible-pointer-types]
&in_format.mChannelsPerFrame, &avctx->frame_size,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavcodec/mpegaudiodecheader.h:58:31: note: passing argument to parameter 'channels' here
int *channels, int *frame_size, int *bitrate, enum AVCodecID *codec_id);
^
libavcodec/audiotoolboxdec.c:548:43: warning: incompatible pointer types passing 'int *' to parameter of type
'UInt32 * _Nonnull' (aka 'unsigned long *') [-Wincompatible-pointer-types]
&frame->nb_samples, &out_buffers, NULL);
^~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioConverter.h:828:73: note:
passing argument to parameter 'ioOutputDataPacketSize' here
UInt32 * ioOutputDataPacketSize,
^
libavcodec/audiotoolboxdec.c:559:61: warning: values of type 'OSStatus' should not be used as format arguments;
add an explicit cast to 'int' instead [-Wformat]
av_log(avctx, AV_LOG_WARNING, "Decode error: %i\n", ret);
~~ ^~~
(int)
libavcodec/avrndec.c:110:15: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
ret = avcodec_decode_video2(a->mjpeg_avctx, data, got_frame, avpkt);
^
libavcodec/avcodec.h:4763:5: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
^
1 warning generated.
3 warnings generated.
libavcodec/bitstream_filter.c:40:12: warning: returning 'const AVBitStreamFilter *' (aka
'const struct AVBitStreamFilter *') from a function with result type 'AVBitStreamFilter *'
(aka 'struct AVBitStreamFilter *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
return av_bsf_next(&opaque);
^~~~~~~~~~~~~~~~~~~~
libavcodec/bitstream_filter.c:71:20: warning: assigning to 'struct AVBitStreamFilter *' from
'const AVBitStreamFilter *' (aka 'const struct AVBitStreamFilter *') discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
ctx->filter = bsf;
^ ~~~
libavcodec/bitstream_filter.c:133:14: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from
'const uint8_t *' (aka 'const unsigned char *') discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
pkt.data = buf;
^ ~~~
3 warnings generated.
libavcodec/g726.c:157:23: warning: unused function 'quant' [-Wunused-function]
static inline uint8_t quant(G726Context* c, int d)
^
1 warning generated.
libavcodec/h264_refs.c:371:13: warning: variable 'i' is used uninitialized whenever switch default is taken
[-Wsometimes-uninitialized]
default:
^~~~~~~
libavcodec/h264_refs.c:375:17: note: uninitialized use occurs here
if (i < 0) {
^
libavcodec/h264_refs.c:314:18: note: initialize the variable 'i' to silence this warning
int i;
^
= 0
1 warning generated.
libavcodec/mpegvideo_enc.c:1400:11: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations]
ret = avcodec_encode_video2(c, &pkt, frame, &got_output);
^
libavcodec/avcodec.h:5271:5: note: 'avcodec_encode_video2' has been explicitly marked deprecated here
int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
^
libavcodec/mpegvideo_enc.c:2868:31: warning: variable 'pred_x' is uninitialized when used here [-Wuninitialized]
bytestream_put_byte(&ptr, pred_x); /* hmv1 */
^~~~~~
libavcodec/mpegvideo_enc.c:2861:15: note: initialize the variable 'pred_x' to silence this warning
int pred_x, pred_y;
^
= 0
libavcodec/mpegvideo_enc.c:2869:31: warning: variable 'pred_y' is uninitialized when used here [-Wuninitialized]
bytestream_put_byte(&ptr, pred_y); /* vmv1 */
^~~~~~
libavcodec/mpegvideo_enc.c:2861:23: note: initialize the variable 'pred_y' to silence this warning
int pred_x, pred_y;
^
= 0
libavcodec/pcm.c:34:20: warning: unused function 'pcm_encode_init' [-Wunused-function]
static av_cold int pcm_encode_init(AVCodecContext *avctx)
^
libavcodec/pcm.c:83:12: warning: unused function 'pcm_encode_frame' [-Wunused-function]
static int pcm_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
^
2 warnings generated.
3 warnings generated.
libavcodec/smvjpegdec.c:158:15: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
ret = avcodec_decode_video2(s->avctx, mjpeg_data, &s->mjpeg_data_size, avpkt);
^
libavcodec/avcodec.h:4763:5: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
^
1 warning generated.
libavcodec/sonic.c:160:19: warning: unused function 'intlist_write' [-Wunused-function]
static inline int intlist_write(RangeCoder *c, uint8_t *state, int *buf, int entries, int base_2_part)
^
1 warning generated.
libavcodec/svq3.c:618:29: warning: unused function 'dctcoef_get' [-Wunused-function]
static av_always_inline int dctcoef_get(int16_t *mb, int index)
^
libavcodec/tdsc.c:354:11: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
ret = avcodec_decode_video2(ctx->jpeg_avctx, ctx->jpgframe,
^
libavcodec/avcodec.h:4763:5: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
^
1 warning generated.
1 warning generated.
libavcodec/utils.c:2205:26: warning: assigning to 'AVPacket *' (aka 'struct AVPacket *') from 'const AVPacket *'
(aka 'const struct AVPacket *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
avctx->internal->pkt = avpkt;
^ ~~~~~
libavcodec/utils.c:2206:37: warning: passing 'const AVPacket *' (aka 'const struct AVPacket *') to parameter of
type 'AVPacket *' (aka 'struct AVPacket *') discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
ret = apply_param_change(avctx, avpkt);
^~~~~
libavcodec/utils.c:2056:64: note: passing argument to parameter 'avpkt' here
static int apply_param_change(AVCodecContext *avctx, AVPacket *avpkt)
^
libavcodec/utils.c:2734:15: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
ret = avcodec_decode_video2(avctx, avctx->internal->buffer_frame,
^
libavcodec/utils.c:2180:25: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
int attribute_align_arg avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
^
libavcodec/utils.c:2739:15: warning: 'avcodec_decode_audio4' is deprecated [-Wdeprecated-declarations]
ret = avcodec_decode_audio4(avctx, avctx->internal->buffer_frame,
^
libavcodec/utils.c:2281:25: note: 'avcodec_decode_audio4' has been explicitly marked deprecated here
int attribute_align_arg avcodec_decode_audio4(AVCodecContext *avctx,
^
libavcodec/utils.c:2875:15: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations]
ret = avcodec_encode_video2(avctx, avctx->internal->buffer_pkt,
^
libavcodec/utils.c:1922:25: note: 'avcodec_encode_video2' has been explicitly marked deprecated here
int attribute_align_arg avcodec_encode_video2(AVCodecContext *avctx,
^
libavcodec/utils.c:2878:15: warning: 'avcodec_encode_audio2' is deprecated [-Wdeprecated-declarations]
ret = avcodec_encode_audio2(avctx, avctx->internal->buffer_pkt,
^
libavcodec/utils.c:1776:25: note: 'avcodec_encode_audio2' has been explicitly marked deprecated here
int attribute_align_arg avcodec_encode_audio2(AVCodecContext *avctx,
^
6 warnings generated.
libavcodec/x86/h264_qpel.c:388:1: warning: unused function 'ff_avg_h264_qpel8or16_hv1_lowpass_mmxext'
[-Wunused-function]
QPEL_H264(avg_, AVG_MMXEXT_OP, mmxext)
^
libavcodec/x86/h264_qpel.c:94:30: note: expanded from macro 'QPEL_H264'
static av_always_inline void ff_ ## OPNAME ## h264_qpel8or16_hv1_lowpass_ ## MMX(int16_t *tmp, const uint8...
^
<scratch space>:47:1: note: expanded from here
ff_avg_h264_qpel8or16_hv1_lowpass_mmxext
^
1 warning generated.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: input object file stripped: /Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/contrib/iPhoneSimulator-i386/ffmpeg/libavcodec/x86/proresdsp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: input object file stripped: /Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/contrib/iPhoneSimulator-i386/ffmpeg/libavcodec/x86/simple_idct10.o
libswscale/input.c:944:1: warning: unused function 'planar_rgb9le_to_a' [-Wunused-function]
rgb9plus_planar_funcs(9)
^
libswscale/input.c:941:5: note: expanded from macro 'rgb9plus_planar_funcs'
rgb9plus_planar_funcs_endian(nbits, le, 0) \
^
libswscale/input.c:929:13: note: expanded from macro 'rgb9plus_planar_funcs_endian'
static void planar_rgb##nbits##endian_name##_to_a(uint8_t *dst, const uint8_t *src[4], \
^
<scratch space>:161:1: note: expanded from here
planar_rgb9le_to_a
^
libswscale/input.c:944:1: warning: unused function 'planar_rgb9be_to_a' [-Wunused-function]
libswscale/input.c:942:5: note: expanded from macro 'rgb9plus_planar_funcs'
rgb9plus_planar_funcs_endian(nbits, be, 1)
^
libswscale/input.c:929:13: note: expanded from macro 'rgb9plus_planar_funcs_endian'
static void planar_rgb##nbits##endian_name##_to_a(uint8_t *dst, const uint8_t *src[4], \
^
<scratch space>:170:1: note: expanded from here
planar_rgb9be_to_a
^
libswscale/input.c:947:1: warning: unused function 'planar_rgb14le_to_a' [-Wunused-function]
rgb9plus_planar_funcs(14)
^
libswscale/input.c:941:5: note: expanded from macro 'rgb9plus_planar_funcs'
rgb9plus_planar_funcs_endian(nbits, le, 0) \
^
libswscale/input.c:929:13: note: expanded from macro 'rgb9plus_planar_funcs_endian'
static void planar_rgb##nbits##endian_name##_to_a(uint8_t *dst, const uint8_t *src[4], \
^
<scratch space>:215:1: note: expanded from here
planar_rgb14le_to_a
^
libswscale/input.c:947:1: warning: unused function 'planar_rgb14be_to_a' [-Wunused-function]
libswscale/input.c:942:5: note: expanded from macro 'rgb9plus_planar_funcs'
rgb9plus_planar_funcs_endian(nbits, be, 1)
^
libswscale/input.c:929:13: note: expanded from macro 'rgb9plus_planar_funcs_endian'
static void planar_rgb##nbits##endian_name##_to_a(uint8_t *dst, const uint8_t *src[4], \
^
<scratch space>:224:1: note: expanded from here
planar_rgb14be_to_a
^
4 warnings generated.
libswscale/slice.c:178:56: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'const uint8_t *'
(aka 'const unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
s->plane[i].line[start[i] - first + j] = src_[i] + j * stride[i];
^ ~~~~~~~~~~~~~~~~~~~~~~~~
libswscale/slice.c:184:37: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'const uint8_t *'
(aka 'const unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
s->plane[i].line[j] = src_[i] + j * stride[i];
^ ~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libavcodec/libavcodec.a(hevc_mc.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libavcodec/libavcodec.a(proresdsp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libavcodec/libavcodec.a(simple_idct10.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libavcodec/libavcodec.a(hevc_mc.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libavcodec/libavcodec.a(proresdsp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libavcodec/libavcodec.a(simple_idct10.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-i386-apple-darwin11-i386/lib/libavcodec.a(hevc_mc.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-i386-apple-darwin11-i386/lib/libavcodec.a(proresdsp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-i386-apple-darwin11-i386/lib/libavcodec.a(simple_idct10.o) has no symbols
[info] Bootstraping vlc
/Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/extras/package/ios
[info] VLCROOT = /Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc
[info] Bootstraping vlc finished
[info] >> --prefix=/Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/install-ios-iPhoneSimulator/i386 --host=i386-apple-darwin11
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
configure: WARNING: No package 'dbus-1' found.
configure: WARNING: No package 'libsystemd' found.
configure: WARNING: No package 'live555' found.
configure: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found
configure: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv1394 was not found
configure: WARNING: Library opencv > 2.0 needed for opencv was not found
configure: WARNING: Library smbclient needed for smbclient was not found
configure: WARNING: Blackmagic DeckLink SDI include files not found
configure: WARNING: Library libvncclient >= 0.9.9 needed for vnc was not found
configure: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found
configure: WARNING: No package 'libsidplay2' found (required for sid).
configure: WARNING: Library shout >= 2.1 needed for shout was not found
configure: WARNING: Library shine >= 3.0.0 needed for shine was not found
configure: WARNING: No package 'gstreamer-app-1.0' found. GStreamer modules will not be built.
configure: WARNING: VideoDecodeAcceleration/VDADecoder.h not found
configure: WARNING: No package 'libpostproc' found.
configure: WARNING: Library twolame needed for twolame was not found
configure: WARNING: Library libdca >= 0.0.5 needed for dca was not found
configure: WARNING: Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found
configure: WARNING: Library schroedinger-1.0 >= 1.0.10 needed for schroedinger was not found
configure: WARNING: Library x265 needed for x265 was not found
configure: WARNING: Library libmfx needed for mfx was not found
configure: WARNING: Library fluidlite needed for fluidlite was not found
configure: WARNING: Library aribb24 needed for aribsub was not found
configure: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found
configure: WARNING: Library kate >= 0.3.0 needed for kate was not found
configure: WARNING: No package 'sdl' found.
configure: WARNING: library fontconfig not found. Styles will be disabled in freetype
configure: WARNING: sapi.h not found. Text to Speech renderer for Windows disabled
configure: WARNING: Library librsvg-2.0 >= 2.9.0 needed for svg was not found
configure: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found
configure: WARNING: Library caca >= 0.99.beta14 needed for caca was not found
configure: WARNING: Cannot find development headers for mmal...
configure: WARNING: Library samplerate needed for samplerate was not found
configure: WARNING: Library soxr >= 0.1.2 needed for soxr was not found
configure: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found
configure: WARNING: Library protobuf-lite >= 2.5.0 needed for chromecast was not found
configure: WARNING: The skins2 module depends on the Qt interface, Qt is not built so skins2 is disabled.
configure: WARNING: No package 'libvsxu' found.
configure: WARNING: Library avahi-client >= 0.6 needed for avahi was not found
configure: WARNING: Library libudev >= 142 needed for udev was not found
configure: WARNING: Library libupnp needed for upnp was not found
configure: WARNING: Library libsecret-1 >= 0.18 needed for secret was not found
[info] Building libvlc
/Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/compat/strverscmp.c:42:5: warning:
no previous prototype for function 'strverscmp' [-Wmissing-prototypes]
int strverscmp (const char *s1, const char *s2)
^
1 warning generated.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libcompat.a(dummy.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libcompat.a(tdestroy.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libcompat.a(dummy.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libcompat.a(tdestroy.o) has no symbols
video: 811 entries
audio: 255 entries
spu: 47 entries
/Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/src/misc/variables.c:340:52: warning:
missing field 'p_entries' initializer [-Wmissing-field-initializers]
p_var->value_callbacks = (callback_table_t){ 0 };
^
/Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/src/misc/variables.c:793:25: warning:
unused parameter 'expected_type' [-Wunused-parameter]
int expected_type, vlc_value_t val )
^
/Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/src/misc/variables.c:852:25: warning:
unused parameter 'expected_type' [-Wunused-parameter]
int expected_type, vlc_value_t *p_val )
^
/Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/src/misc/objects.c:299:36: error:
controlling expression type 'const struct vlc_common_members' not compatible with any generic association
type
vlc_object_internals_t *priv = vlc_internals(obj);
^~~~~~~~~~~~~~~~~~
/Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/src/misc/variables.h:53:59: note:
expanded from macro 'vlc_internals'
# define vlc_internals( obj ) (((vlc_object_internals_t*)(VLC_OBJECT(obj)))-1)
^~~~~~~~~~~~~~~
/Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/include/vlc_common.h:478:14: note:
expanded from macro 'VLC_OBJECT'
_Generic((x)->obj, \
^~~~~~~~
1 error generated.
make[3]: *** [misc/objects.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
3 warnings generated.
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
[info] building universal static libs for OS style iPhone
./buildMobileVLCKit.sh: line 44: pushd: MobileVLCKit/ImportedSources/vlc/install-ios-iPhoneOS: No such file or directory
I already tried the solution of this question but still not working.
By not working i mean, after installing the framework, i compile a project and its failed "MobileVLCKit/MobileVLCKit.h file not found" or :
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/install-ios-iPhone/core/libcompat.a (No such file or directory)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/install-ios-iPhone/core/libvlc.a (No such file or directory)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Projets/VLCKit-master-bfdcee6c3ccc7666e42091ea1b2f39903e775781/MobileVLCKit/ImportedSources/vlc/install-ios-iPhone/core/libvlccore.a (No such file or directory)
Did someone success installing VLCKit ?
Thanks in advance!!

You need to read the documentation on how to compile MobileVLCKit using the provided build script. It is not a matter of simply opening the project in Xcode and running it.
Additionally, since compile MobileVLCKit is not simple unless you are used to linux-style compilation systems, consider using a cocoapod.

Related

gem not installing unde Monterey OS X

A rails application created with Ruby 3.1.0 and rails 7.0.3 on a Mac OS X 10.13.6 bundles all required gems using Bundler version 2.3.3
When migrating the application to Mac OS X 12.3 (monterey) with the same bundler version,
this is encountered:
An error occurred while installing semacode-ruby19 (0.7.4), and Bundler cannot continue.
Commenting out the gem allows the gem intallation procedure to complete. However the application remains incomplete, test/test_helper.rb for example needs to be commented out as the application tests the generation of Barby::DataMatrix.new(...)
The aforementioned gem has not been updated in a long time (thus no expectations should be entertained) - however the functionality of encoding DataMatrix for ruby remains a going concern. What options are open at this point?
I remain uncertain as to the source of the problem - the ∆s are OS X and homebrew - and thus uncertain as to where to report this. Suggestions welcome.
Update
As per the suggestion, the manual installation of the gem also fails:
gem install semacode -v 0.7.4 -- --with-cflags="-Wno-error=implicit-function-declaration"
Fetching semacode-0.7.4.gem
Building native extensions with: '--with-cflags=-Wno-error=implicit-function-declaration'
This could take a while...
ERROR: Error installing semacode:
ERROR: Failed to build gem native extension.
current directory: /Users/deploy/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/semacode-0.7.4/ext
/Users/deploy/.rbenv/versions/3.1.0/bin/ruby -I /Users/deploy/.rbenv/versions/3.1.0/lib/ruby/3.1.0 -r ./siteconf20220830-40292-dndt8s.rb extconf.rb --with-cflags\=-Wno-error\=implicit-function-declaration
creating Makefile
current directory: /Users/deploy/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/semacode-0.7.4/ext
make DESTDIR\= clean
current directory: /Users/deploy/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/semacode-0.7.4/ext
make DESTDIR\=
compiling iec16022ecc200.c
iec16022ecc200.c:284:80: warning: data argument not used by format string [-Wformat-extra-args]
rb_raise(rb_eArgError, "cannot encode character in X12", c);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
iec16022ecc200.c:299:80: warning: data argument not used by format string [-Wformat-extra-args]
rb_raise(rb_eArgError, "cannot encode character in X12", c);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
iec16022ecc200.c:323:89: warning: data argument not used by format string [-Wformat-extra-args]
rb_raise(rb_eRuntimeError, "this should not be happening!", c);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
iec16022ecc200.c:498:9: warning: incompatible pointer to integer conversion initializing 'VALUE' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion]
VALUE rb_str = NULL;
^ ~~~~
iec16022ecc200.c:908:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
grid = ALLOC_N(char, W * H);
^ ~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
compiling reedsol.c
compiling semacode.c
semacode.c:61:3: warning: implicit declaration of function 'iec16022init' is invalid in C99 [-Wimplicit-function-declaration]
iec16022init(&semacode->width, &semacode->height, message);
^
semacode.c:96:28: warning: 'bzero' call operates on objects of type 'semacode_t' (aka 'struct semacode_t') while the size is based on a different type 'semacode_t *' (aka 'struct semacode_t *') [-Wsizeof-pointer-memaccess]
bzero(semacode, sizeof(semacode));
~~~~~~~~ ^~~~~~~~
semacode.c:96:28: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
bzero(semacode, sizeof(semacode));
^~~~~~~~
semacode.c:129:27: error: no member named 'len' in 'struct RString'
encode_string(semacode, StringValueLen(message), StringValuePtr(message));
^~~~~~~~~~~~~~~~~~~~~~~
./semacode.h:26:56: note: expanded from macro 'StringValueLen'
#define StringValueLen(s) RSTRING(RB_STRING_VALUE(s))->len
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
semacode.c:239:20: warning: equality comparison result unused [-Wunused-comparison]
semacode->data == NULL;
~~~~~~~~~~~~~~~^~~~~~~
semacode.c:239:20: note: use '=' to turn this equality comparison into an assignment
semacode->data == NULL;
^~
=
semacode.c:243:44: error: no member named 'len' in 'struct RString'
DATA_PTR(self) = encode_string(semacode, StringValueLen(message), StringValuePtr(message));
^~~~~~~~~~~~~~~~~~~~~~~
./semacode.h:26:56: note: expanded from macro 'StringValueLen'
#define StringValueLen(s) RSTRING(RB_STRING_VALUE(s))->len
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
3 warnings and 2 errors generated.
make: *** [semacode.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/deploy/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/semacode-0.7.4 for inspection.
Results logged to /Users/deploy/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/extensions/arm64-darwin-21/3.1.0/semacode-0.7.4/gem_make.out

Can't launch my app on my XCODE 12.5.1, with Flutter 1.22

I was working an application. Before that i was using another version of XCode,
( I don't remember which one)but finally the iOs emulator didn't work and I had to change to the new version of xCode 12.5.1. My code is using Flutter 1.22. But when i try to launch my Xcode build i Have this type of error.
/Users/macbookair/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:343:9: note: did you mean 'tapToDismissEnabled'?
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/macbookair/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:362:20: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param queueEnabled
~~~~~~~~~~~~~~~~~~^
/Users/macbookair/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:19:23: warning: unused variable 'viewController' [-Wunused-variable]
UIViewController *viewController =
^
/Users/macbookair/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:70:21: warning: unused variable 'topPadding' [-Wunused-variable]
CGFloat topPadding = window.safeAreaInsets.top;
^
/Users/macbookair/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:71:21: warning: unused variable 'bottomPadding' [-Wunused-variable]
CGFloat bottomPadding = window.safeAreaInsets.bottom;
^
/Users/macbookair/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:48:19: warning: unused variable 'size' [-Wunused-variable]
NSNumber *size = call.arguments[#"size"];
^
8 warnings generated.
/Users/macbookair/Desktop/Keatov /App/app/ios/Pods/Reachability/Reachability.m:465:63: warning: cast to smaller integer type 'unsigned int' from 'Reachability *' [-Wpointer-to-int-cast]
NSStringFromClass([self class]), (unsigned int) self, [self currentReachabilityFlags]];
^~~~~~~~~~~~~~~~~~~
1 warning generated.
/Users/macbookair/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_device_locale-0.4.0/ios/Classes/FlutterDeviceLocalePlugin.m:2:9: fatal error: 'flutter_device_locale/flutter_device_locale-Swift.h' file not found
#import <flutter_device_locale/flutter_device_locale-Swift.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
Could not build the application for the simulator.
Error launching application on iPhone 12 Pro Max.
Exited (sigterm)
the error is from one of the plugin that you are using, the "flutter_device_locale" plugin
I recommend using device_info_plus, which is also a flutter favorite,
here's a link https://pub.dev/packages/device_info_plus

Unsupported architecture error on initializing React Native app

It's so weird, yesterday morning everything works well, but after trying to install on a physical iOS device, I even cannot initiate a React Native project, right after the npx react-native init MyNewApp command I get this error:
clang: warning: using sysroot for 'iPhoneOS' but targeting 'MacOSX' [-Wincompatible-sysroot]
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/lib/libc++.tbd, missing required architecture x86_64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/lib/libc++.tbd (4 slices)
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/lib/libSystem.tbd, missing required architecture x86_64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/lib/libSystem.tbd (4 slices)
clang: warning: using sysroot for 'iPhoneOS' but targeting 'MacOSX' [-Wincompatible-sysroot]
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:55:
In file included from /Users/amerllica/Library/Caches/node-gyp/12.18.0/include/node/uv.h:52:
In file included from /Users/amerllica/Library/Caches/node-gyp/12.18.0/include/node/uv/errno.h:25:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/errno.h:31:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/errno.h:23:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/errno.h:72:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture
#error Unsupported architecture
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:55:
In file included from /Users/amerllica/Library/Caches/node-gyp/12.18.0/include/node/uv.h:55:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdio.h:107:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/_stdio.h:71:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/_types.h:27:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:33:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
#error architecture not supported
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:55:
In file included from /Users/amerllica/Library/Caches/node-gyp/12.18.0/include/node/uv.h:55:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdio.h:107:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/_stdio.h:71:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/_types.h:27:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'; did you mean
'__int128_t'?
typedef __int64_t __darwin_blkcnt_t; /* total blocks */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'; did you mean
'__int128_t'?
typedef __int32_t __darwin_blksize_t; /* preferred block size */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'; did you mean
'__int128_t'?
typedef __int32_t __darwin_dev_t; /* dev_t */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'; did you mean
'__uint128_t'?
typedef __uint32_t __darwin_gid_t; /* [???] process and group IDs */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'; did you mean
'__uint128_t'?
typedef __uint32_t __darwin_id_t; /* [XSI] pid_t, uid_t, or gid_t*/
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'; did you mean
'__uint128_t'?
typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bit inodes */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'; did you mean
'__uint128_t'?
typedef __uint16_t __darwin_mode_t; /* [???] Some file attributes */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'; did you mean
'__int128_t'?
typedef __int64_t __darwin_off_t; /* [???] Used for file sizes */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'; did you mean
'__int128_t'?
typedef __int32_t __darwin_pid_t; /* [???] process and group IDs */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'; did you mean
'__uint128_t'?
typedef __uint32_t __darwin_sigset_t; /* [???] signal set */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'; did you mean
'__int128_t'?
typedef __int32_t __darwin_suseconds_t; /* [???] microseconds */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'; did you mean
'__uint128_t'?
typedef __uint32_t __darwin_uid_t; /* [???] user IDs */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean
'__uint128_t'?
typedef __uint32_t __darwin_useconds_t; /* [???] microseconds */
^
note: '__uint128_t' declared here
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:55:
In file included from /Users/amerllica/Library/Caches/node-gyp/12.18.0/include/node/uv.h:55:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdio.h:107:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/_stdio.h:71:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'; did you mean
'__uint128_t'?
typedef __uint32_t __darwin_wctype_t;
^
note: '__uint128_t' declared here
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:55:
In file included from /Users/amerllica/Library/Caches/node-gyp/12.18.0/include/node/uv.h:55:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdio.h:107:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/_stdio.h:75:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types/_va_list.h:31:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
#error architecture not supported
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:55:
In file included from /Users/amerllica/Library/Caches/node-gyp/12.18.0/include/node/uv.h:55:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdio.h:107:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/_stdio.h:75:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types/_va_list.h:32:9: error: unknown type name
'__darwin_va_list'
typedef __darwin_va_list va_list;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/amerllica/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 19.5.0
gyp ERR! command "/Users/amerllica/.nvm/versions/node/v12.18.0/bin/node" "/Users/amerllica/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/amerllica/.npm/_npx/15892/lib/node_modules/react-native/node_modules/fsevents
gyp ERR! node -v v12.18.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
I tried many ways, even I uninstall XCode and then re-install XCode. set everything from scratch but I get this error for initializing React Native application.
With the following steps everything back on track:
Logging out
Restarting
It's so weird, but fully shut down the system without keeping open programs states was the solution.

An error occurred while installing puma (2.11.1), and Bundler cannot continue

After running bundle install --path vendor it's showing following error. I'm using macOS Sierra. This problem occurred after update homebrew. I've uninstalled currently installed puma from my gem list. But the same problem occurred here.
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/Users/tanvirhasan/.rbenv/versions/2.2.0/bin/ruby -r ./siteconf20161114-22170-lrj70g.rb extconf.rb
checking for BIO_read() in -lcrypto... yes
checking for SSL_CTX_new() in -lssl... yes
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling http11_parser.c
compiling io_buffer.c
io_buffer.c:119:10: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
return rb_str_new(b->top, b->cur - b->top);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/tanvirhasan/.rbenv/versions/2.2.0/include/ruby-2.2.0/ruby/intern.h:796:20: note: expanded from macro 'rb_str_new'
rb_str_new_static((str), (len)) : \
^~~~~
/Users/tanvirhasan/.rbenv/versions/2.2.0/include/ruby-2.2.0/ruby/intern.h:727:37: note: passing argument to parameter here
VALUE rb_str_new_static(const char *, long);
^
io_buffer.c:119:10: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
return rb_str_new(b->top, b->cur - b->top);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/tanvirhasan/.rbenv/versions/2.2.0/include/ruby-2.2.0/ruby/intern.h:797:13: note: expanded from macro 'rb_str_new'
rb_str_new((str), (len)); \
^~~~~
/Users/tanvirhasan/.rbenv/versions/2.2.0/include/ruby-2.2.0/ruby/intern.h:706:29: note: passing argument to parameter here
VALUE rb_str_new(const char*, long);
^
2 warnings generated.
compiling mini_ssl.c
In file included from mini_ssl.c:3:
/Users/tanvirhasan/.rbenv/versions/2.2.0/include/ruby-2.2.0/ruby/backward/rubyio.h:2:2: warning: use "ruby/io.h" instead of "rubyio.h" [-W#warnings]
#warning use "ruby/io.h" instead of "rubyio.h"
^
mini_ssl.c:4:10: fatal error: 'openssl/bio.h' file not found
#include <openssl/bio.h>
^
1 warning and 1 error generated.
make: *** [mini_ssl.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/tanvirhasan/Git/Nascenia/cribber-web/vendor/ruby/2.2.0/gems/puma-2.11.1 for inspection.
Results logged to /Users/tanvirhasan/Git/Nascenia/cribber-web/vendor/ruby/2.2.0/extensions/x86_64-darwin-15/2.2.0-static/puma-2.11.1/gem_make.out
You updated homebrew, but you probably didn't update XCode. Pull up an instance of Terminal and run:
brew doctor
Homebrew will probably warn you about one or more libraries that need to be updated, including XCode.
Run:
xcode-select --install
Make sure you accept the license for the new version of XCode by running:
sudo xcodebuild -license

Can't build eventmachine 1.0.3 Mac OS X 10.9.2

I want to reinstall my ruby on rails environment, but it failed.
I work on Mac OS X 10.9.2, using Ruby 2.1.2, Apple LLVM version 5.1 (clang-503.0.40)
I want to run:
gem install eventmachine -v '1.0.3'
But I get:
Building native extensions. This could take a while...
ERROR: Error installing eventmachine:
ERROR: Failed to build gem native extension.
/Users/nm/.rbenv/versions/2.1.2/bin/ruby extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... yes
checking for inotify_init() in sys/inotify.h... no
checking for __NR_inotify_init in sys/syscall.h... no
checking for writev() in sys/uio.h... yes
checking for rb_wait_for_single_fd()... yes
checking for rb_enable_interrupt()... no
checking for rb_time_new()... yes
checking for sys/event.h... yes
checking for sys/queue.h... yes
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling binder.cpp
compiling cmain.cpp
compiling ed.cpp
ed.cpp:987:18: warning: variable length arrays are a C99 feature [-Wvla-extension]
struct iovec iov[ iovcnt ];
^
1 warning generated.
compiling em.cpp
em.cpp:75:2: warning: field 'LoopBreakerWriter' will be initialized after field 'NumCloseScheduled' [-Wreorder]
LoopBreakerWriter (-1),
^
em.cpp:822:2: warning: 'rb_thread_blocking_region' is deprecated [-Wdeprecated-declarations]
rb_thread_blocking_region (_SelectDataSelect, (void*)this, RUBY_UBF_IO, 0);
^
/Users/nm/.rbenv/versions/2.1.2/include/ruby-2.1.0/ruby/intern.h:870:18: note: 'rb_thread_blocking_region' declared here
DEPRECATED(VALUE rb_thread_blocking_region(rb_blocking_function_t *func, void *data1,
^
/Users/nm/.rbenv/versions/2.1.2/include/ruby-2.1.0/x86_64-darwin13.0/ruby/config.h:114:52: note: expanded from macro 'DEPRECATED'
#define DEPRECATED(x) __attribute__ ((deprecated)) x
^
em.cpp:946:6: warning: 'rb_thread_select' is deprecated [-Wdeprecated-declarations]
EmSelect (0, NULL, NULL, NULL, &tv);
^
./em.h:25:20: note: expanded from macro 'EmSelect'
#define EmSelect rb_thread_select
^
/Users/nm/.rbenv/versions/2.1.2/include/ruby-2.1.0/ruby/intern.h:440:16: note: 'rb_thread_select' declared here
DEPRECATED(int rb_thread_select(int, fd_set *, fd_set *, fd_set *, struct timeval *));
^
/Users/nm/.rbenv/versions/2.1.2/include/ruby-2.1.0/x86_64-darwin13.0/ruby/config.h:114:52: note: expanded from macro 'DEPRECATED'
#define DEPRECATED(x) __attribute__ ((deprecated)) x
^
em.cpp:1109:40: error: invalid operands to binary expression ('__bind<int &, sockaddr *&, int &>' and 'int')
if (bind (sd, bind_to, bind_to_size) < 0) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
em.cpp:1522:6: error: value of type '__bind<int &, sockaddr *&, int &>' is not contextually convertible to 'bool'
if (bind (sd_accept, bind_here, bind_size)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
em.cpp:1600:53: error: invalid operands to binary expression ('__bind<int &, sockaddr *, unsigned long>' and 'int')
if (bind (sd, (struct sockaddr*)&sin, sizeof(sin)) != 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
em.cpp:1869:6: error: value of type '__bind<int &, sockaddr *, unsigned long>' is not contextually convertible to 'bool'
if (bind (sd_accept, (struct sockaddr*)&s_sun, sizeof(s_sun))) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from em.cpp:23:
In file included from ./project.h:150:
./em.h:189:12: warning: private field 'NextHeartbeatTime' is not used [-Wunused-private-field]
uint64_t NextHeartbeatTime;
^
./em.h:221:22: warning: private field 'inotify' is not used [-Wunused-private-field]
InotifyDescriptor *inotify; // pollable descriptor for our inotify instance
^
5 warnings and 4 errors generated.
make: *** [em.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/nm/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/eventmachine-1.0.3 for inspection.
Results logged to /Users/nm/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/extensions/x86_64-darwin-13/2.1.0-static/eventmachine-1.0.3/gem_make.out
When I install version 1.0.1 or 1.0.2, I will get some similar errors.
Someone can tell me why? thanks.
From the docs it looks like eventmachine does not yet support Ruby 2+
EventMachine supports Ruby 1.8.7, 1.9.2, REE, JRuby and works well on
Windows as well as many operating systems from the Unix family (Linux,
Mac OS X, BSD flavors).

Resources