Skip to content
Merged
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
10 changes: 6 additions & 4 deletions VITTY/VITTY.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
4B8B32CB2D6D75F4004F01BA /* SwiftUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3105871C27A3ECBB00C2FC41 /* SwiftUI.framework */; };
4B8B32DC2D6D75F6004F01BA /* VittyWidgetExtension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 4B8B32C82D6D75F4004F01BA /* VittyWidgetExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
4B8B33752D7029AA004F01BA /* SideBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B8B33742D7029A3004F01BA /* SideBar.swift */; };
4B8FB2C42E374A6700E50AE2 /* AppStorageConstants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3109639E27824F6F0009A29C /* AppStorageConstants.swift */; };
4BA03C1D2D7584F3000756B0 /* AddFriend.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4BA03C1C2D7584EA000756B0 /* AddFriend.swift */; };
4BA6DFE92E33D5CE00B0411A /* NotesModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4BBB00322D957A6A003B8FE2 /* NotesModel.swift */; };
4BBB00312D955163003B8FE2 /* AcademicsViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4BBB00302D95515C003B8FE2 /* AcademicsViewModel.swift */; };
Expand Down Expand Up @@ -1252,6 +1253,7 @@
4BA6DFE92E33D5CE00B0411A /* NotesModel.swift in Sources */,
4B5977482DFAC034009CC224 /* RemainderModel.swift in Sources */,
4BC853C42DF6DA7A0092B2E2 /* TimeTable.swift in Sources */,
4B8FB2C42E374A6700E50AE2 /* AppStorageConstants.swift in Sources */,
4B2D64902E20BA6300412CB7 /* NetworkMonitor.swift in Sources */,
4B74D8732E0BDF2100B390E9 /* CourseFile.swift in Sources */,
4B74D8732E0BDF2100B390E9 /* CourseFile.swift in Sources */,
Expand Down Expand Up @@ -1401,7 +1403,7 @@
CURRENT_PROJECT_VERSION = 7;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_ASSET_PATHS = "\"VITTY/Preview Content\"";
DEVELOPMENT_TEAM = 2TS98F9X52;
DEVELOPMENT_TEAM = C7RX29D33F;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = VITTY/Info.plist;
Expand Down Expand Up @@ -1443,7 +1445,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 7;
DEVELOPMENT_ASSET_PATHS = "\"VITTY/Preview Content\"";
DEVELOPMENT_TEAM = 2TS98F9X52;
DEVELOPMENT_TEAM = C7RX29D33F;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = VITTY/Info.plist;
Expand Down Expand Up @@ -1485,7 +1487,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 2TS98F9X52;
DEVELOPMENT_TEAM = C7RX29D33F;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
GENERATE_INFOPLIST_FILE = YES;
Expand Down Expand Up @@ -1520,7 +1522,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 2TS98F9X52;
DEVELOPMENT_TEAM = C7RX29D33F;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
GENERATE_INFOPLIST_FILE = YES;
Expand Down
6 changes: 3 additions & 3 deletions VITTY/VITTY/Utilities/Constants/AppStorageConstants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import Foundation

struct AppConstants {
//static let VITTYappgroup = "\(teamID).group.com.gdscvit.vittyios"
//static let VITTYappgroup = "122580500.group.com.gdscvit.vittyios"
static let VITTYappgroup = "122580500.com.gdscvit.vittyios"

static let VITTYappgroup = "group.com.gdscvit.vittyios.shared"
}
2 changes: 1 addition & 1 deletion VITTY/VITTYApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ struct VITTYApp: App {
let schema = Schema([TimeTable.self, Remainder.self, CreateNoteModel.self, UploadedFile.self])


let appGroupContainerID = "group.com.gdscvit.vittyioswidget"
let appGroupContainerID = "\(AppConstants.VITTYappgroup)"
let config = ModelConfiguration(
appGroupContainerID,
schema: schema,
Expand Down
2 changes: 1 addition & 1 deletion VITTY/VittyWidget/Providers/RemaindersProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import SwiftData
struct RemindersProvider: TimelineProvider {

private func getSharedContainer() -> ModelContainer? {
let appGroupContainerID = "group.com.gdscvit.vittyios.shared"
let appGroupContainerID = "\(AppConstants.VITTYappgroup)"
let config = ModelConfiguration(appGroupContainerID)

return try? ModelContainer(for: TimeTable.self, Remainder.self, configurations: config)
Expand Down
2 changes: 1 addition & 1 deletion VITTY/VittyWidget/Providers/ScheduleProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import WidgetKit
struct Provider: TimelineProvider {

private func getSharedContainer() -> ModelContainer? {
let appGroupContainerID = "group.com.gdscvit.vittyios.widget"
let appGroupContainerID = "\(AppConstants.VITTYappgroup)"


let schema = Schema([TimeTable.self, Remainder.self, CreateNoteModel.self, UploadedFile.self])
Expand Down
Loading