IOS 8 apps with built-in dylib allowed on the App Store?

Does "iOS 8 now support dynamic frameworks" mean that it is allowed for submissions on the App Store?

It seems that earlier developers in which you could use dylib for your own applications, but using them in something presented in the App Store, made you refuse. Is this still the case, or did this change in iOS 8 make it normal?

For example, if I wrote an application using OpenCV, could I now build against and send OpenCV-dylib (assuming I built OpenCV as dylib) instead of static binding?

I am curious as we have an existing Qt-based framework that itself has several shared libraries that we are currently creating for Linux, OS X, Windows, and Android. For iOS, it seems to us that we will need to change this in order to create one application with all our components and statically linked to Qt. If the iOS and App Store applications begin to support (built-in) dynamic libraries, then our iOS builds can send everything as dynamic libraries, like on all other platforms.

on this topic:

+5
source share
1 answer

It seems that there is still a limit that allows only statically linked ios apps to be used in the App Store. You can read in the App Store Review Guide:

2.7 Applications that upload code in any way or form will be rejected

2.8 Applications that install or run other executable code will be rejected

This is not a technical limitation, but a legal one. It is prohibited for security reasons, since the dynamic library can be loaded and unloaded at runtime, you can load additional executable code and load it (for example, a plug-in). Thus, Apple strictly controls dynamic binding, which is a security issue for explicitly protected operating systems such as ios.

In the end, you will need a commercial license to deploy Qt in the app store. You can buy an Indie Mobile license and skip the problems created by third-party app stores. This means that you can distribute your application through any third-party application store that you wish.

+1
source

Source: https://habr.com/ru/post/1210513/


All Articles