Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Modules/CommonsLib/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription

let package = Package(
name: "CommonsLib",
platforms: [.iOS(.v17)],
platforms: [.iOS(.v18)],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
Expand Down
2 changes: 1 addition & 1 deletion Modules/ConfigLib/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription

let package = Package(
name: "ConfigLib",
platforms: [.iOS(.v17)],
platforms: [.iOS(.v18)],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public actor ConfigurationLoader: ConfigurationLoaderProtocol, Loggable {
forResource: CommonsLib.Constants.Configuration.DefaultConfigJson,
withExtension: nil
),
let confData = try? String(contentsOf: confDataURL)
let confData = try? String(contentsOf: confDataURL, encoding: .utf8)
else {
throw ConfigurationLoaderError.configurationNotFound
}
Expand All @@ -211,7 +211,7 @@ public actor ConfigurationLoader: ConfigurationLoaderProtocol, Loggable {
forResource: CommonsLib.Constants.Configuration.DefaultConfigEcPub,
withExtension: nil
),
let publicKey = try? String(contentsOf: publicKeyURL)
let publicKey = try? String(contentsOf: publicKeyURL, encoding: .utf8)
else {
throw ConfigurationLoaderError.publicKeyNotFound
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ public actor ConfigurationProperties: ConfigurationPropertiesProtocol {
}

private func loadProperties(from propertiesFile: URL) -> [String: String]? {
guard let fileContents = try? String(contentsOfFile: propertiesFile.resolvedPath) else {
guard let fileContents = try? String(
contentsOfFile: propertiesFile.resolvedPath,
encoding: .utf8
) else {
return nil
}

Expand Down
2 changes: 1 addition & 1 deletion Modules/CryptoLib/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let packageRoot = #filePath

let package = Package(
name: "CryptoLib",
platforms: [.iOS(.v17)],
platforms: [.iOS(.v18)],
products: [
.library(
name: "CryptoLib",
Expand Down
2 changes: 1 addition & 1 deletion Modules/IdCardLib/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PackageDescription

let package = Package(
name: "IdCardLib",
platforms: [.iOS(.v17)],
platforms: [.iOS(.v18)],
products: [
.library(
name: "IdCardLib",
Expand Down
2 changes: 1 addition & 1 deletion Modules/LibdigidocLib/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PackageDescription

let package = Package(
name: "LibdigidocLib",
platforms: [.iOS(.v17)],
platforms: [.iOS(.v18)],
products: [
.library(
name: "LibdigidocLib",
Expand Down
2 changes: 1 addition & 1 deletion Modules/MobileIdLib/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription

let package = Package(
name: "MobileIdLib",
platforms: [.iOS(.v17)],
platforms: [.iOS(.v18)],
products: [
.library(
name: "MobileIdLib",
Expand Down
2 changes: 1 addition & 1 deletion Modules/SmartIdLib/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription

let package = Package(
name: "SmartIdLib",
platforms: [.iOS(.v17)],
platforms: [.iOS(.v18)],
products: [
.library(
name: "SmartIdLib",
Expand Down
2 changes: 1 addition & 1 deletion Modules/Test/CommonsTestShared/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription

let package = Package(
name: "CommonsTestShared",
platforms: [.iOS(.v17)],
platforms: [.iOS(.v18)],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
Expand Down
2 changes: 1 addition & 1 deletion Modules/UtilsLib/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription

let package = Package(
name: "UtilsLib",
platforms: [.iOS(.v17)],
platforms: [.iOS(.v18)],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ extension URL {
from: self,
fileNameToFind: "mimetype"
) {
let mimetypeContent = try String(contentsOf: mimetypeFile)
let mimetypeContent = try String(contentsOf: mimetypeFile, encoding: .utf8)
return mimetypeContent.lowercased().trimmingCharacters(in: .whitespacesAndNewlines)
}
} catch {
Expand Down
4 changes: 2 additions & 2 deletions RIADigiDoc.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
IPHONEOS_DEPLOYMENT_TARGET = 18.0;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MARKETING_VERSION = 3.0.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
Expand Down Expand Up @@ -1143,7 +1143,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
IPHONEOS_DEPLOYMENT_TARGET = 18.0;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MARKETING_VERSION = 3.0.0;
MTL_ENABLE_DEBUG_INFO = NO;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.