Skip to content

Commit

Permalink
Bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmuslos committed Jan 13, 2024
1 parent e1aba06 commit 650d14b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions AmpFin.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1177,7 +1177,7 @@
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.music";
IPHONEOS_DEPLOYMENT_TARGET = 17.2;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MARKETING_VERSION = 1.2.1;
MARKETING_VERSION = 1.2.2;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -1244,7 +1244,7 @@
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.music";
IPHONEOS_DEPLOYMENT_TARGET = 17.2;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MARKETING_VERSION = 1.2.1;
MARKETING_VERSION = 1.2.2;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";
Expand Down
Binary file not shown.
6 changes: 2 additions & 4 deletions AmpFinKit/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,14 @@ let package = Package(
targets: [
// Remove the underscore to disable app groups for sideloading
.target(name: "AFBaseKit", dependencies: [.byName(name: "Starscream")], swiftSettings: [.define("_DISABLE_APP_GROUP")]),
.target(name: "AFOfflineKit", dependencies: [.byName(name: "AFBaseKit")]),
.target(name: "AFExtensionKit", dependencies: [.byName(name: "AFBaseKit"), .byName(name: "AFOfflineKit", condition: .when(platforms: [.iOS]))]),
.target(name: "AFOfflineKit", dependencies: [.byName(name: "AFBaseKit")], swiftSettings: [.define("_DISABLE_APP_GROUP")]),
.target(
name: "AFPlaybackKit",
dependencies: [
.byName(name: "AFBaseKit"),
.byName(name: "AFExtensionKit"),
.byName(name: "AFOfflineKit", condition: .when(platforms: [.iOS]))],
resources: [.process("RemoteAudioEndpoint/silence.wav")]),
.target(
name: "AFExtensionKit",
dependencies: [.byName(name: "AFBaseKit"), .byName(name: "AFOfflineKit", condition: .when(platforms: [.iOS]))]),
]
)
1 change: 1 addition & 0 deletions AmpFinKit/Sources/AFBaseKit/HTTP/JellyfinClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public class JellyfinClient {

let logger = Logger(subsystem: "io.rfk.ampfin", category: "HTTP")
#if DISABLE_APP_GROUP
#warning("UserDefaults will not be stored in group container")
static let defaults = UserDefaults.standard
#else
static let defaults = UserDefaults(suiteName: "group.io.rfk.ampfin")!
Expand Down
1 change: 1 addition & 0 deletions AmpFinKit/Sources/AFOfflineKit/PersistenceManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public struct PersistenceManager {
OfflineFavorite.self,
])
#if DISABLE_APP_GROUP
#warning("SwiftData database will not be stored in group container")
let modelConfiguration = ModelConfiguration("AmpFin", schema: schema, isStoredInMemoryOnly: false, allowsSave: true, groupContainer: .identifier("group.io.rfk.ampfin"))
#else
let modelConfiguration = ModelConfiguration("AmpFin", schema: schema, isStoredInMemoryOnly: false, allowsSave: true)
Expand Down

0 comments on commit 650d14b

Please sign in to comment.