iOS 9 crash with xcode
#1
Hello,


I’m trying to build Kodi for iOS (latest Mac os x and xcode version) but it crashes. I have followed the following steps:

https://github.com/xbmc/xbmc/blob/master...README.ios


$ cd $HOME
$ git clone git://github.com/xbmc/xbmc.git Kodi
$ cd Kodi
$ git submodule update --init addons/skin.re-touched
$ cd $HOME/Kodi
$ cd tools/depends
$ ./bootstrap
$ ./configure --host=arm-apple-darwin
$ make
$ make -C target/binary-addons
$ cd $HOME/Kodi
$ make -C tools/depends/target/xbmc
$ make clean
$ make xcode_depends


And building with the following configuration :

OS X El Capitan : 10.11.1
Xcode version : 7.1.1
Build for Release with a real device set minimum deployment to 8.0 in Kodi xcode project.

Then when launching on my iphone 6, i have the following crash in xcode :


dyld: Library not loaded: @executable_path/Frameworks/libsmbclient.dylib
Referenced from: /var/mobile/Containers/Bundle/Application/12C63D8F-ED9F-4E70-BA2E-911E0DB5B5A8/Kodi.app/Kodi
Reason: no suitable image found. Did find:
/var/mobile/Containers/Bundle/Application/12C63D8F-ED9F-4E70-BA2E-911E0DB5B5A8/Kodi.app/Frameworks/libsmbclient.dylib: mmap() error 1 at address=0x039D0000, size=0x003C0000 segment=__TEXT in Segment::map() mapping /var/mobile/Containers/Bundle/Application/12C63D8F-ED9F-4E70-BA2E-911E0DB5B5A8/Kodi.app/Frameworks/libsmbclient.dylib
/private/var/mobile/Containers/Bundle/Application/12C63D8F-ED9F-4E70-BA2E-911E0DB5B5A8/Kodi.app/Frameworks/libsmbclient.dylib: mmap() error 1 at address=0x03F3C000, size=0x003C0000 segment=__TEXT in Segment::map() mapping /private/var/mobile/Containers/Bundle/Application/12C63D8F-ED9F-4E70-BA2E-911E0DB5B5A8/Kodi.app/Frameworks/libsmbclient.dylib

During the compilation on xcode, i have also a lot of warning such as :

warning: (armv7) could not find object file symbol for symbol _ff_ac3_update_bap_counts_arm
warning: (armv7) could not find object file symbol for symbol _ff_ac3_bit_alloc_calc_bap_armv6
warning: (armv7) could not find object file symbol for symbol _ff_dca_lfe_fir64_vfp
warning: (armv7) could not find object file symbol for symbol _ff_dca_lfe_fir32_vfp
warning: (armv7) could not find object file symbol for symbol _ff_dca_qmf_32_subbands_vfp
warning: (armv7) could not find object file symbol for symbol _ff_fft_calc_vfp
warning: (armv7) could not find object file symbol for symbol _ff_fft16_vfp
warning: (armv7) could not find object file symbol for symbol _ff_flac_lpc_16_arm
warning: (armv7) could not find object file symbol for symbol _ff_int32_to_float_fmul_array8_vfp
warning: (armv7) could not find object file symbol for symbol _ff_int32_to_float_fmul_scalar_vfp
warning: (armv7) could not find object file symbol for symbol _ff_h264_idct_add_neon
warning: (armv7) could not find object file symbol for symbol _ff_h264_idct_dc_add_neon
warning: (armv7) could not find object file symbol for symbol _ff_h264_idct_add16_neon
warning: (armv7) could not find object file symbol for symbol _ff_h264_idct_add16intra_neon
warning: (armv7) could not find object file symbol for symbol _ff_h264_idct_add8_neon
warning: (armv7) could not find object file symbol for symbol _ff_h264_idct8_add_neon
warning: (armv7) could not find object file symbol for symbol _ff_h264_idct8_dc_add_neon
warning: (armv7) could not find object file symbol for symbol _ff_h264_idct8_add4_neon
warning: (armv7) could not find object file symbol for symbol _ff_hevc_v_loop_filter_luma_neon
warning: (armv7) could not find object file symbol for symbol _ff_hevc_h_loop_filter_luma_neon
warning: (armv7) could not find object file symbol for symbol _ff_hevc_v_loop_filter_chroma_neon
warning: (armv7) could not find object file symbol for symbol _ff_hevc_h_loop_filter_chroma_neon
warning: (armv7) could not find object file symbol for symbol _ff_hevc_idct_4x4_dc_neon_8
warning: (armv7) could not find object file symbol for symbol _ff_hevc_idct_8x8_dc_neon_8



Any help would be helpful…
Thanks
Reply
#2
You can't just set deployment target to ios8 and expect it to work. Thats not enough. Why do you need to bump the deployment target at all? just leave it alone how it was before.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
iOS 9 crash with xcode0