Difference between revisions of "Dyld shared cache"

From The iPhone Wiki
Jump to: navigation, search
(DYLD_SHARED_CACHE)
Line 2: Line 2:
 
== The dyld_shared_cache ==
 
== The dyld_shared_cache ==
   
Since iPhone OS 3.1, all system (private and public) libraries have been combined into a big cache file to improve performance.
+
"Since iPhone OS 3.1, all system (private and public) libraries have been combined into a big cache file to improve performance.
 
The original files are redundant and thus eliminated from the system.
 
The original files are redundant and thus eliminated from the system.
 
If you're looking for binaries or libraries inside of /System/Library/Frameworks or /System/Library/PrivateFrameworks (or other directories) and can't, this is why.
 
If you're looking for binaries or libraries inside of /System/Library/Frameworks or /System/Library/PrivateFrameworks (or other directories) and can't, this is why.
 
OS X also uses a shared cache.
 
OS X also uses a shared cache.
 
Unlike iOS, OS X ships with the source binaries still on-disk, particularly so it can be updated with update_dyld_shared_cache.
 
Unlike iOS, OS X ships with the source binaries still on-disk, particularly so it can be updated with update_dyld_shared_cache.
The cache is only vaguely documented in dyld man pages.
+
The cache is only vaguely documented in dyld man pages." - [http://iphonedevwiki.net/index.php/Dyld_shared_cache The iPhone Dev Wiki]
  +
  +
 
In iOS 10, the dyld_shared_cache is located in /System/Library/Caches/com.apple.dyld/
 
In iOS 10, the dyld_shared_cache is located in /System/Library/Caches/com.apple.dyld/
 
In the folder will contain caches for each CPU-Architecture. (eg: dyld_shared_cache_arm64).
 
In the folder will contain caches for each CPU-Architecture. (eg: dyld_shared_cache_arm64).

Revision as of 11:46, 13 September 2017

The dyld_shared_cache

"Since iPhone OS 3.1, all system (private and public) libraries have been combined into a big cache file to improve performance. The original files are redundant and thus eliminated from the system. If you're looking for binaries or libraries inside of /System/Library/Frameworks or /System/Library/PrivateFrameworks (or other directories) and can't, this is why. OS X also uses a shared cache. Unlike iOS, OS X ships with the source binaries still on-disk, particularly so it can be updated with update_dyld_shared_cache. The cache is only vaguely documented in dyld man pages." - The iPhone Dev Wiki


In iOS 10, the dyld_shared_cache is located in /System/Library/Caches/com.apple.dyld/ In the folder will contain caches for each CPU-Architecture. (eg: dyld_shared_cache_arm64).

Extracted dyld_shared_caches

iOS 10.3.1 ARM64