As everyone knows, static libraries can work well in the Iphone app, and your app can be easily approved by the IOS App Store
Unfortunately, the two static libraries that I use now have some C functions and variables.
so I compiled them into * .dylib (dynamic libraries) and copied them to "Bundle Resources" in Xcode.
dylib_handle = dlopen(dylib_path_in_resource_bundle, RTLD_LAZY); func = dlsym(dylib_handle, "func"); // invoke func();
This works well in simulator and ipad (of course, different dynamic libraries).
I noticed that someone said that the Iphone application does not support third-party dynamic libraries, and my application will be rejected. (see here)
but I carefully read the "Recommendations for checking the app store", I did not find a single item that answers my question.
Now I'm confused!
Does iphone support dynamic libraries? Does the iOS AppStore support this?
Who can give me an official answer.
source share