If I run otool -L ...
on the main executable of my iOS .ipa file, I see the following output:
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
/System/Library/Frameworks/UIKit.framework/UIKit
...
@rpath/DMSDK.framework/DMSDK
...
/usr/lib/libz.1.dylib
/usr/lib/libc++.1.dylib
/usr/lib/libiconv.2.dylib
/usr/lib/libsqlite3.dylib
This tells me the dynamic libraries that are used/referenced/required by my app.
My question: do these refer to global directories that exist on the ios device itself? I believe the answer's yes, but wouldn't that imply that all iOS devices already have libsqlite
installed on them (I'd only find this surprising because as a web dev I thought sqlite was more of a userspace thing and I'd be surprised it'd have enough support from Apple to be a pre-installed dylib)?
How come some dylibs originate from /System/Library/Frameworks
and some from /usr/lib/...
? I can find a list of iOS frameworks, but where can I find the list of supported dylib
s built into iOS devices?