libimobiledev libs almost build

This commit is contained in:
Joe Mattiello
2023-03-01 13:15:22 -05:00
parent d22d12c234
commit 686d1ab42a
36 changed files with 844 additions and 218 deletions

View File

@@ -7,11 +7,15 @@
//
import Foundation
import Shared
public extension FileManager {
var altstoreSharedDirectory: URL? {
guard let appGroup = Bundle.main.appGroups.first else { return nil }
#if SWIFT_PACKAGE
guard let appGroup = Bundle.main.appGroups.first else { return nil }
#else
guard let appGroup = Bundle.main.appGroups.first else { return nil }
#endif
let sharedDirectoryURL = containerURL(forSecurityApplicationGroupIdentifier: appGroup)
return sharedDirectoryURL
}