Skip to content

'Invalid Bundle Structure' during iOS distribution

Hi,

I'm in the process of testing this libvlc C# wrapper for a Xamarin.iOS project I'm willing to start but while successfully building it and testing it for iOS simulator, I can't make any release build that can be uploaded to Testflight (proper release-signed app) because of complaints about having dylib in the main bundle:

Invalid Bundle Structure - The binary file 'VLCTestPlayer.app/libvlc.dylib' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure.

What is the right way to bundle everything?

Screenshot_2018-07-02_at_6.35.02_pm

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information