diff --git a/iOS/CryptoPassphrase.xcodeproj/project.pbxproj b/iOS/CryptoPassphrase.xcodeproj/project.pbxproj index 4c53eb9..1389fc5 100644 --- a/iOS/CryptoPassphrase.xcodeproj/project.pbxproj +++ b/iOS/CryptoPassphrase.xcodeproj/project.pbxproj @@ -378,7 +378,6 @@ "$(inherited)", "$(PROJECT_DIR)/ObjFW/Frameworks", ); - HEADER_SEARCH_PATHS = ObjFW/include; INFOPLIST_FILE = Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MARKETING_VERSION = 1.3; @@ -404,7 +403,6 @@ "$(inherited)", "$(PROJECT_DIR)/ObjFW/Frameworks", ); - HEADER_SEARCH_PATHS = ObjFW/include; INFOPLIST_FILE = Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MARKETING_VERSION = 1.3; diff --git a/iOS/SiteStorage.swift b/iOS/SiteStorage.swift index bf049e3..87d8fbe 100644 --- a/iOS/SiteStorage.swift +++ b/iOS/SiteStorage.swift @@ -45,7 +45,8 @@ class SiteStorage: OFObject { var storage: [String: [NSNumber: AnyObject]]? = nil OFException.try({ - let decoded = (OFData(contentsOfFile: path).messagePackValue) + let decoded = (OFData(contentsOfFile: path) + .objectByParsingMessagePack) as? OFDictionary> storage = (decoded?.nsObject as? [String: [NSNumber: AnyObject]]) ?? [:]