Fixed uicache compatibility with iOS 6
- Use
-[LSApplicationWorkspace installedApplications]
for iOS 6. - Implement our own
-[NSURL fileSystemRepresentation]
(iOS 7+ API). - Fence out
_LSApplicationState
because it doesn't exist.
As for iOS 5, we don't have yet a method to list all applications via LSApplicationWorkspace
, thus fallback to unsupported.