Self-built VLCKit does not work with latest iOS SDK 13.x when using on latest 12.4 iOS for e.g. iPad devices
Because of Apple decision that it is not possible to have more than one SDK installed in '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/' the latest version you are able to build with is iOS SDK 13.1.
If you build VLCKit with latest iOS 13.1 SDK you will loose support for "old" iOS 12.4 devices (e.g. iPads).
This is because of iOS 13.1 has its own build-in function 'aligned_alloc'. So VLCKit finds the symbol in the SDK implementation and is not using the VLC-Built-In file (compat/aligned_alloc.c).
So, if the statically build VLCKit library is used on an iOS 12.4 device it will crash because of 'aligned_alloc' call is going to nothing (SIG_ABRT).
For example the implementation in 'vlc/src/misc/picture.c' will crash on every try to play a video file.
There must be a solution to FORCE VLCKit to use its own 'aligned_alloc' implementation ALTHOUGH if the function can be found in the iOS 13.1 SDK.
I tried in configure.ac and in 'compileAndBuildVLCKit.sh' to not export the symbol but it seems that the iOS13.1 version is always used.