# HG changeset patch # User Dennis Concepcion Martin # Date 1635247131 -7200 # Node ID a1443bd115d96d74fe0826ca7044348c87283842 # Parent 736c560d99c1ec107f6344c60dbdffb959949a60 add icloud capability diff -r 736c560d99c1 -r a1443bd115d9 Simoleon.xcodeproj/project.pbxproj --- a/Simoleon.xcodeproj/project.pbxproj Tue Oct 26 13:17:07 2021 +0200 +++ b/Simoleon.xcodeproj/project.pbxproj Tue Oct 26 13:18:51 2021 +0200 @@ -16,6 +16,7 @@ 95DC5D662728176900B1EFA0 /* SimoleonTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95DC5D652728176900B1EFA0 /* SimoleonTests.swift */; }; 95DC5D702728176900B1EFA0 /* SimoleonUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95DC5D6F2728176900B1EFA0 /* SimoleonUITests.swift */; }; 95DC5D722728176900B1EFA0 /* SimoleonUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95DC5D712728176900B1EFA0 /* SimoleonUITestsLaunchTests.swift */; }; + 95DC5D8327281A9F00B1EFA0 /* CloudKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 95DC5D8227281A9F00B1EFA0 /* CloudKit.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -49,6 +50,9 @@ 95DC5D6F2728176900B1EFA0 /* SimoleonUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SimoleonUITests.swift; sourceTree = ""; }; 95DC5D712728176900B1EFA0 /* SimoleonUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SimoleonUITestsLaunchTests.swift; sourceTree = ""; }; 95DC5D7E272817DE00B1EFA0 /* Config.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Config.xcconfig; sourceTree = ""; }; + 95DC5D7F27281A8C00B1EFA0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + 95DC5D8027281A9700B1EFA0 /* Simoleon.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Simoleon.entitlements; sourceTree = ""; }; + 95DC5D8227281A9F00B1EFA0 /* CloudKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CloudKit.framework; path = System/Library/Frameworks/CloudKit.framework; sourceTree = SDKROOT; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -56,6 +60,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 95DC5D8327281A9F00B1EFA0 /* CloudKit.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -83,6 +88,7 @@ 95DC5D642728176900B1EFA0 /* SimoleonTests */, 95DC5D6E2728176900B1EFA0 /* SimoleonUITests */, 95DC5D4D2728176700B1EFA0 /* Products */, + 95DC5D8127281A9F00B1EFA0 /* Frameworks */, ); sourceTree = ""; }; @@ -99,6 +105,8 @@ 95DC5D4E2728176700B1EFA0 /* Simoleon */ = { isa = PBXGroup; children = ( + 95DC5D8027281A9700B1EFA0 /* Simoleon.entitlements */, + 95DC5D7F27281A8C00B1EFA0 /* Info.plist */, 95DC5D532728176800B1EFA0 /* Assets.xcassets */, 95DC5D7E272817DE00B1EFA0 /* Config.xcconfig */, 95DC5D5A2728176800B1EFA0 /* Simoleon.xcdatamodeld */, @@ -135,6 +143,14 @@ path = SimoleonUITests; sourceTree = ""; }; + 95DC5D8127281A9F00B1EFA0 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 95DC5D8227281A9F00B1EFA0 /* CloudKit.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -428,12 +444,14 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = Simoleon/Simoleon.entitlements; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_ASSET_PATHS = "\"Simoleon/Preview Content\""; DEVELOPMENT_TEAM = MTX83R5H8X; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = Simoleon/Info.plist; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; @@ -457,12 +475,14 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = Simoleon/Simoleon.entitlements; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_ASSET_PATHS = "\"Simoleon/Preview Content\""; DEVELOPMENT_TEAM = MTX83R5H8X; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = Simoleon/Info.plist; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; diff -r 736c560d99c1 -r a1443bd115d9 Simoleon/ContentView.swift --- a/Simoleon/ContentView.swift Tue Oct 26 13:17:07 2021 +0200 +++ b/Simoleon/ContentView.swift Tue Oct 26 13:18:51 2021 +0200 @@ -6,7 +6,6 @@ // import SwiftUI -import CoreData struct ContentView: View { var body: some View { @@ -16,6 +15,7 @@ struct ContentView_Previews: PreviewProvider { static var previews: some View { - ContentView().environment(\.managedObjectContext, PersistenceController.preview.container.viewContext) + ContentView() + .environment(\.managedObjectContext, PersistenceController.preview.container.viewContext) } } diff -r 736c560d99c1 -r a1443bd115d9 Simoleon/Info.plist --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Simoleon/Info.plist Tue Oct 26 13:18:51 2021 +0200 @@ -0,0 +1,10 @@ + + + + + UIBackgroundModes + + remote-notification + + + diff -r 736c560d99c1 -r a1443bd115d9 Simoleon/Simoleon.entitlements --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Simoleon/Simoleon.entitlements Tue Oct 26 13:18:51 2021 +0200 @@ -0,0 +1,16 @@ + + + + + aps-environment + development + com.apple.developer.icloud-container-identifiers + + iCloud.simoleon + + com.apple.developer.icloud-services + + CloudKit + + +