diff --git a/refilc/ios/Podfile b/refilc/ios/Podfile index 2ab2399..7e4c492 100644 --- a/refilc/ios/Podfile +++ b/refilc/ios/Podfile @@ -43,4 +43,21 @@ post_install do |installer| config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET' end end + + bitcode_strip_path = `xcrun --find bitcode_strip`.chop! + def strip_bitcode_from_framework(bitcode_strip_path, framework_relative_path) + framework_path = File.join(Dir.pwd, framework_relative_path) + command = "#{bitcode_strip_path} #{framework_path} -r -o #{framework_path}" + puts "Stripping bitcode: #{command}" + system(command) + end + + framework_paths = [ + "Pods/Shake/Sources/Shake.xcframework/ios-arm64/Shake.framework/Shake", + "Pods/Shake/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/Shake" + ] + + framework_paths.each do |framework_relative_path| + strip_bitcode_from_framework(bitcode_strip_path, framework_relative_path) + end end diff --git a/refilc/ios/Runner.xcodeproj/project.pbxproj b/refilc/ios/Runner.xcodeproj/project.pbxproj index d536ab3..1aaec33 100644 --- a/refilc/ios/Runner.xcodeproj/project.pbxproj +++ b/refilc/ios/Runner.xcodeproj/project.pbxproj @@ -1,861 +1,1860 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 54; - objects = { - -/* Begin PBXBuildFile section */ - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; - 3127F78D28EAEDE200C2EFB3 /* WidgetKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3127F75528EAECC800C2EFB3 /* WidgetKit.framework */; }; - 3127F78E28EAEDE200C2EFB3 /* SwiftUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3127F75728EAECC800C2EFB3 /* SwiftUI.framework */; }; - 3127F79828EAEDE300C2EFB3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3127F79728EAEDE300C2EFB3 /* Assets.xcassets */; }; - 3127F79E28EAEDE300C2EFB3 /* livecard.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 3127F78C28EAEDE200C2EFB3 /* livecard.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; - 3127F7A428EAEE3D00C2EFB3 /* livecard.intentdefinition in Sources */ = {isa = PBXBuildFile; fileRef = 3127F7A328EAEE3D00C2EFB3 /* livecard.intentdefinition */; }; - 3127F7A628EAEE5900C2EFB3 /* livecard.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3127F7A528EAEE5900C2EFB3 /* livecard.swift */; }; - 3127F7A828EAEE8500C2EFB3 /* lesson_model.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3127F7A728EAEE8500C2EFB3 /* lesson_model.swift */; }; - 373A6ECB5FC71FE9D8AF2EDB /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1F0ADD56276103500A3016C8 /* Pods_Runner.framework */; }; - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; - 4F35BF332BE2FFA30098EF72 /* public_vars.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F35BF322BE2FFA30098EF72 /* public_vars.swift */; }; - 4F35BF352BE2FFD80098EF72 /* LiveActivityManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F35BF342BE2FFD80098EF72 /* LiveActivityManager.swift */; }; - 4F35BF362BE2FFD80098EF72 /* LiveActivityManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F35BF342BE2FFD80098EF72 /* LiveActivityManager.swift */; }; - 4F35BF382BE300A70098EF72 /* lesson_model.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3127F7A728EAEE8500C2EFB3 /* lesson_model.swift */; }; - 4F35BF392BE300B10098EF72 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; - 4F35BF3A2BE301180098EF72 /* public_vars.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F35BF322BE2FFA30098EF72 /* public_vars.swift */; }; - 4F35BF3E2BE304550098EF72 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 4F35BF3D2BE304550098EF72 /* PrivacyInfo.xcprivacy */; }; - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 3127F79C28EAEDE300C2EFB3 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 97C146E61CF9000F007C117D /* Project object */; - proxyType = 1; - remoteGlobalIDString = 3127F78B28EAEDE200C2EFB3; - remoteInfo = livecardExtension; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 3127F74F28EAEC8A00C2EFB3 /* Embed Foundation Extensions */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 13; - files = ( - 3127F79E28EAEDE300C2EFB3 /* livecard.appex in Embed Foundation Extensions */, - ); - name = "Embed Foundation Extensions"; - runOnlyForDeploymentPostprocessing = 0; - }; - 9705A1C41CF9048500538489 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; - 1F0ADD56276103500A3016C8 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 3127F73928EAEC3200C2EFB3 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = ""; }; - 3127F73F28EAEC8A00C2EFB3 /* IntentsUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IntentsUI.framework; path = System/Library/Frameworks/IntentsUI.framework; sourceTree = SDKROOT; }; - 3127F75528EAECC800C2EFB3 /* WidgetKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WidgetKit.framework; path = System/Library/Frameworks/WidgetKit.framework; sourceTree = SDKROOT; }; - 3127F75728EAECC800C2EFB3 /* SwiftUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SwiftUI.framework; path = System/Library/Frameworks/SwiftUI.framework; sourceTree = SDKROOT; }; - 3127F78C28EAEDE200C2EFB3 /* livecard.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = livecard.appex; sourceTree = BUILT_PRODUCTS_DIR; }; - 3127F79728EAEDE300C2EFB3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 3127F79928EAEDE300C2EFB3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 3127F7A328EAEE3D00C2EFB3 /* livecard.intentdefinition */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.intentdefinition; path = livecard.intentdefinition; sourceTree = ""; }; - 3127F7A528EAEE5900C2EFB3 /* livecard.swift */ = {isa = PBXFileReference; indentWidth = 2; lastKnownFileType = sourcecode.swift; path = livecard.swift; sourceTree = ""; tabWidth = 2; }; - 3127F7A728EAEE8500C2EFB3 /* lesson_model.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = lesson_model.swift; sourceTree = ""; }; - 317DE77A294F6FFB002E323E /* livecard.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = livecard.entitlements; sourceTree = ""; }; - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; - 4F35BF322BE2FFA30098EF72 /* public_vars.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = public_vars.swift; sourceTree = ""; }; - 4F35BF342BE2FFD80098EF72 /* LiveActivityManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LiveActivityManager.swift; sourceTree = ""; }; - 4F35BF3B2BE303A40098EF72 /* app_group_directory.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = app_group_directory.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 4F35BF3D2BE304550098EF72 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; - 707F8089D970F81C480F73C4 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; - 80777CF254888CE770D5F909 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; - 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; - 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 98578F0EBCC6D3FF8391AAEB /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 3127F78928EAEDE200C2EFB3 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3127F78E28EAEDE200C2EFB3 /* SwiftUI.framework in Frameworks */, - 3127F78D28EAEDE200C2EFB3 /* WidgetKit.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EB1CF9000F007C117D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 373A6ECB5FC71FE9D8AF2EDB /* Pods_Runner.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 3127F78F28EAEDE200C2EFB3 /* livecard */ = { - isa = PBXGroup; - children = ( - 317DE77A294F6FFB002E323E /* livecard.entitlements */, - 3127F7A728EAEE8500C2EFB3 /* lesson_model.swift */, - 3127F7A328EAEE3D00C2EFB3 /* livecard.intentdefinition */, - 3127F79728EAEDE300C2EFB3 /* Assets.xcassets */, - 3127F79928EAEDE300C2EFB3 /* Info.plist */, - 3127F7A528EAEE5900C2EFB3 /* livecard.swift */, - 4F35BF342BE2FFD80098EF72 /* LiveActivityManager.swift */, - ); - path = livecard; - sourceTree = ""; - }; - 6640A963014A9D4F31026053 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 4F35BF3B2BE303A40098EF72 /* app_group_directory.framework */, - 1F0ADD56276103500A3016C8 /* Pods_Runner.framework */, - 3127F73F28EAEC8A00C2EFB3 /* IntentsUI.framework */, - 3127F75528EAECC800C2EFB3 /* WidgetKit.framework */, - 3127F75728EAECC800C2EFB3 /* SwiftUI.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 91FEB6212755D596FFFFEC73 /* Pods */ = { - isa = PBXGroup; - children = ( - 80777CF254888CE770D5F909 /* Pods-Runner.debug.xcconfig */, - 98578F0EBCC6D3FF8391AAEB /* Pods-Runner.release.xcconfig */, - 707F8089D970F81C480F73C4 /* Pods-Runner.profile.xcconfig */, - ); - path = Pods; - sourceTree = ""; - }; - 9740EEB11CF90186004384FC /* Flutter */ = { - isa = PBXGroup; - children = ( - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, - 9740EEB21CF90195004384FC /* Debug.xcconfig */, - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, - 9740EEB31CF90195004384FC /* Generated.xcconfig */, - ); - name = Flutter; - sourceTree = ""; - }; - 97C146E51CF9000F007C117D = { - isa = PBXGroup; - children = ( - 4F35BF3D2BE304550098EF72 /* PrivacyInfo.xcprivacy */, - 9740EEB11CF90186004384FC /* Flutter */, - 97C146F01CF9000F007C117D /* Runner */, - 3127F78F28EAEDE200C2EFB3 /* livecard */, - 97C146EF1CF9000F007C117D /* Products */, - 91FEB6212755D596FFFFEC73 /* Pods */, - 6640A963014A9D4F31026053 /* Frameworks */, - ); - sourceTree = ""; - }; - 97C146EF1CF9000F007C117D /* Products */ = { - isa = PBXGroup; - children = ( - 97C146EE1CF9000F007C117D /* Runner.app */, - 3127F78C28EAEDE200C2EFB3 /* livecard.appex */, - ); - name = Products; - sourceTree = ""; - }; - 97C146F01CF9000F007C117D /* Runner */ = { - isa = PBXGroup; - children = ( - 3127F73928EAEC3200C2EFB3 /* Runner.entitlements */, - 97C146FA1CF9000F007C117D /* Main.storyboard */, - 97C146FD1CF9000F007C117D /* Assets.xcassets */, - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, - 97C147021CF9000F007C117D /* Info.plist */, - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, - 4F35BF322BE2FFA30098EF72 /* public_vars.swift */, - ); - path = Runner; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 3127F78B28EAEDE200C2EFB3 /* livecard */ = { - isa = PBXNativeTarget; - buildConfigurationList = 3127F79F28EAEDE300C2EFB3 /* Build configuration list for PBXNativeTarget "livecard" */; - buildPhases = ( - 3127F78A28EAEDE200C2EFB3 /* Resources */, - 3127F78828EAEDE200C2EFB3 /* Sources */, - 3127F78928EAEDE200C2EFB3 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = livecard; - productName = livecardExtension; - productReference = 3127F78C28EAEDE200C2EFB3 /* livecard.appex */; - productType = "com.apple.product-type.app-extension"; - }; - 97C146ED1CF9000F007C117D /* Runner */ = { - isa = PBXNativeTarget; - buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; - buildPhases = ( - 779338C8D92BCBC36F75F791 /* [CP] Check Pods Manifest.lock */, - 9740EEB61CF901F6004384FC /* Run Script */, - 97C146EA1CF9000F007C117D /* Sources */, - 97C146EB1CF9000F007C117D /* Frameworks */, - 97C146EC1CF9000F007C117D /* Resources */, - 9705A1C41CF9048500538489 /* Embed Frameworks */, - 3127F74F28EAEC8A00C2EFB3 /* Embed Foundation Extensions */, - 3B06AD1E1E4923F5004D2608 /* Thin Binary */, - 71459C0EB905E05018E3D78F /* [CP] Embed Pods Frameworks */, - 262089761B766E074256257A /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - 3127F79D28EAEDE300C2EFB3 /* PBXTargetDependency */, - ); - name = Runner; - productName = Runner; - productReference = 97C146EE1CF9000F007C117D /* Runner.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 97C146E61CF9000F007C117D /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 1530; - LastUpgradeCheck = 1510; - ORGANIZATIONNAME = ""; - TargetAttributes = { - 3127F78B28EAEDE200C2EFB3 = { - CreatedOnToolsVersion = 14.1; - }; - 97C146ED1CF9000F007C117D = { - CreatedOnToolsVersion = 7.3.1; - LastSwiftMigration = 1100; - }; - }; - }; - buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 97C146E51CF9000F007C117D; - productRefGroup = 97C146EF1CF9000F007C117D /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 97C146ED1CF9000F007C117D /* Runner */, - 3127F78B28EAEDE200C2EFB3 /* livecard */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 3127F78A28EAEDE200C2EFB3 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 3127F79828EAEDE300C2EFB3 /* Assets.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EC1CF9000F007C117D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, - 4F35BF3E2BE304550098EF72 /* PrivacyInfo.xcprivacy in Resources */, - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 262089761B766E074256257A /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Copy Pods Resources"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 12; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", - ); - name = "Thin Binary"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin\n"; - }; - 71459C0EB905E05018E3D78F /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 12; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 779338C8D92BCBC36F75F791 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 9740EEB61CF901F6004384FC /* Run Script */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 12; - files = ( - ); - inputPaths = ( - ); - name = "Run Script"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build\n"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 3127F78828EAEDE200C2EFB3 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 4F35BF362BE2FFD80098EF72 /* LiveActivityManager.swift in Sources */, - 3127F7A828EAEE8500C2EFB3 /* lesson_model.swift in Sources */, - 3127F7A428EAEE3D00C2EFB3 /* livecard.intentdefinition in Sources */, - 3127F7A628EAEE5900C2EFB3 /* livecard.swift in Sources */, - 4F35BF3A2BE301180098EF72 /* public_vars.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EA1CF9000F007C117D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 4F35BF392BE300B10098EF72 /* AppDelegate.swift in Sources */, - 4F35BF382BE300A70098EF72 /* lesson_model.swift in Sources */, - 4F35BF352BE2FFD80098EF72 /* LiveActivityManager.swift in Sources */, - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, - 4F35BF332BE2FFA30098EF72 /* public_vars.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 3127F79D28EAEDE300C2EFB3 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 3127F78B28EAEDE200C2EFB3 /* livecard */; - targetProxy = 3127F79C28EAEDE300C2EFB3 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 97C146FA1CF9000F007C117D /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C146FB1CF9000F007C117D /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C147001CF9000F007C117D /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 249021D3217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Profile; - }; - 249021D4217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = 257; - DEVELOPMENT_TEAM = 4DKAF249F3; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = reFilc; - INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.education"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 5.0.0; - PRODUCT_BUNDLE_IDENTIFIER = com.refilc2.naplo; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Profile; - }; - 3127F7A028EAEDE300C2EFB3 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AppIcon; - ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = AppIcon; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_ENTITLEMENTS = livecard/livecard.entitlements; - CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 257; - DEVELOPMENT_TEAM = 4DKAF249F3; - GCC_C_LANGUAGE_STANDARD = gnu11; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = livecard/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = livecard; - INFOPLIST_KEY_NSHumanReadableCopyright = ""; - INFOPLIST_KEY_NSSupportsLiveActivities = YES; - IPHONEOS_DEPLOYMENT_TARGET = 16.2; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - MARKETING_VERSION = 5.0.0; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.refilc2.naplo.livecardpro; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 3127F7A128EAEDE300C2EFB3 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AppIcon; - ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = AppIcon; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_ENTITLEMENTS = livecard/livecard.entitlements; - CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 257; - DEVELOPMENT_TEAM = 4DKAF249F3; - GCC_C_LANGUAGE_STANDARD = gnu11; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = livecard/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = livecard; - INFOPLIST_KEY_NSHumanReadableCopyright = ""; - INFOPLIST_KEY_NSSupportsLiveActivities = YES; - IPHONEOS_DEPLOYMENT_TARGET = 16.2; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - MARKETING_VERSION = 5.0.0; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.refilc2.naplo.livecardpro; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SKIP_INSTALL = YES; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - 3127F7A228EAEDE300C2EFB3 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AppIcon; - ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = AppIcon; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_ENTITLEMENTS = livecard/livecard.entitlements; - CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 257; - DEVELOPMENT_TEAM = 4DKAF249F3; - GCC_C_LANGUAGE_STANDARD = gnu11; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = livecard/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = livecard; - INFOPLIST_KEY_NSHumanReadableCopyright = ""; - INFOPLIST_KEY_NSSupportsLiveActivities = YES; - IPHONEOS_DEPLOYMENT_TARGET = 16.2; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - MARKETING_VERSION = 5.0.0; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.refilc2.naplo.livecardpro; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SKIP_INSTALL = YES; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Profile; - }; - 97C147031CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 97C147041CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 97C147061CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = 257; - DEVELOPMENT_TEAM = 4DKAF249F3; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = reFilc; - INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.education"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 5.0.0; - PRODUCT_BUNDLE_IDENTIFIER = com.refilc2.naplo; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Debug; - }; - 97C147071CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = 257; - DEVELOPMENT_TEAM = 4DKAF249F3; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = reFilc; - INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.education"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 5.0.0; - PRODUCT_BUNDLE_IDENTIFIER = com.refilc2.naplo; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 3127F79F28EAEDE300C2EFB3 /* Build configuration list for PBXNativeTarget "livecard" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 3127F7A028EAEDE300C2EFB3 /* Debug */, - 3127F7A128EAEDE300C2EFB3 /* Release */, - 3127F7A228EAEDE300C2EFB3 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147031CF9000F007C117D /* Debug */, - 97C147041CF9000F007C117D /* Release */, - 249021D3217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147061CF9000F007C117D /* Debug */, - 97C147071CF9000F007C117D /* Release */, - 249021D4217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 97C146E61CF9000F007C117D /* Project object */; -} + + + + + archiveVersion + 1 + classes + + objectVersion + 54 + objects + + 1498D2321E8E86230040F4C2 + + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + path + GeneratedPluginRegistrant.h + sourceTree + <group> + + 1498D2331E8E89220040F4C2 + + fileEncoding + 4 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + path + GeneratedPluginRegistrant.m + sourceTree + <group> + + 1498D2341E8E89220040F4C2 + + fileRef + 1498D2331E8E89220040F4C2 + isa + PBXBuildFile + + 1F0ADD56276103500A3016C8 + + explicitFileType + wrapper.framework + includeInIndex + 0 + isa + PBXFileReference + path + Pods_Runner.framework + sourceTree + BUILT_PRODUCTS_DIR + + 249021D3217E4FDB00AE95B9 + + buildSettings + + ALWAYS_SEARCH_USER_PATHS + NO + CLANG_ANALYZER_NONNULL + YES + CLANG_CXX_LANGUAGE_STANDARD + gnu++0x + CLANG_CXX_LIBRARY + libc++ + CLANG_ENABLE_MODULES + YES + CLANG_ENABLE_OBJC_ARC + YES + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING + YES + CLANG_WARN_BOOL_CONVERSION + YES + CLANG_WARN_COMMA + YES + CLANG_WARN_CONSTANT_CONVERSION + YES + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS + YES + CLANG_WARN_DIRECT_OBJC_ISA_USAGE + YES_ERROR + CLANG_WARN_EMPTY_BODY + YES + CLANG_WARN_ENUM_CONVERSION + YES + CLANG_WARN_INFINITE_RECURSION + YES + CLANG_WARN_INT_CONVERSION + YES + CLANG_WARN_NON_LITERAL_NULL_CONVERSION + YES + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF + YES + CLANG_WARN_OBJC_LITERAL_CONVERSION + YES + CLANG_WARN_OBJC_ROOT_CLASS + YES_ERROR + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER + YES + CLANG_WARN_RANGE_LOOP_ANALYSIS + YES + CLANG_WARN_STRICT_PROTOTYPES + YES + CLANG_WARN_SUSPICIOUS_MOVE + YES + CLANG_WARN_UNREACHABLE_CODE + YES + CLANG_WARN__DUPLICATE_METHOD_MATCH + YES + CODE_SIGN_IDENTITY[sdk=iphoneos*] + iPhone Developer + COPY_PHASE_STRIP + NO + DEBUG_INFORMATION_FORMAT + dwarf-with-dsym + ENABLE_NS_ASSERTIONS + NO + ENABLE_STRICT_OBJC_MSGSEND + YES + GCC_C_LANGUAGE_STANDARD + gnu99 + GCC_NO_COMMON_BLOCKS + YES + GCC_WARN_64_TO_32_BIT_CONVERSION + YES + GCC_WARN_ABOUT_RETURN_TYPE + YES_ERROR + GCC_WARN_UNDECLARED_SELECTOR + YES + GCC_WARN_UNINITIALIZED_AUTOS + YES_AGGRESSIVE + GCC_WARN_UNUSED_FUNCTION + YES + GCC_WARN_UNUSED_VARIABLE + YES + IPHONEOS_DEPLOYMENT_TARGET + 12.0 + MTL_ENABLE_DEBUG_INFO + NO + SDKROOT + iphoneos + SUPPORTED_PLATFORMS + iphoneos + TARGETED_DEVICE_FAMILY + 1,2 + VALIDATE_PRODUCT + YES + + isa + XCBuildConfiguration + name + Profile + + 249021D4217E4FDB00AE95B9 + + baseConfigurationReference + 7AFA3C8E1D35360C0083082E + buildSettings + + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES + YES + ASSETCATALOG_COMPILER_APPICON_NAME + AppIcon + CLANG_ENABLE_MODULES + YES + CODE_SIGN_ENTITLEMENTS + Runner/Runner.entitlements + CURRENT_PROJECT_VERSION + 276 + DEVELOPMENT_TEAM + 4DKAF249F3 + ENABLE_BITCODE + NO + INFOPLIST_FILE + Runner/Info.plist + INFOPLIST_KEY_CFBundleDisplayName + reFilc + INFOPLIST_KEY_LSApplicationCategoryType + public.app-category.education + LD_RUNPATH_SEARCH_PATHS + + $(inherited) + @executable_path/Frameworks + + MARKETING_VERSION + 5.0.5 + PRODUCT_BUNDLE_IDENTIFIER + com.refilc2.naplo + PRODUCT_NAME + $(TARGET_NAME) + SWIFT_OBJC_BRIDGING_HEADER + Runner/Runner-Bridging-Header.h + SWIFT_VERSION + 5.0 + VERSIONING_SYSTEM + apple-generic + + isa + XCBuildConfiguration + name + Profile + + 262089761B766E074256257A + + buildActionMask + 2147483647 + files + + inputFileListPaths + + ${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist + + isa + PBXShellScriptBuildPhase + name + [CP] Copy Pods Resources + outputFileListPaths + + ${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist + + runOnlyForDeploymentPostprocessing + 0 + shellPath + /bin/sh + shellScript + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh" + + showEnvVarsInLog + 0 + + 3127F73928EAEC3200C2EFB3 + + isa + PBXFileReference + lastKnownFileType + text.plist.entitlements + path + Runner.entitlements + sourceTree + <group> + + 3127F73F28EAEC8A00C2EFB3 + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + IntentsUI.framework + path + System/Library/Frameworks/IntentsUI.framework + sourceTree + SDKROOT + + 3127F74F28EAEC8A00C2EFB3 + + buildActionMask + 2147483647 + dstPath + + dstSubfolderSpec + 13 + files + + 3127F79E28EAEDE300C2EFB3 + + isa + PBXCopyFilesBuildPhase + name + Embed Foundation Extensions + runOnlyForDeploymentPostprocessing + 0 + + 3127F75528EAECC800C2EFB3 + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + WidgetKit.framework + path + System/Library/Frameworks/WidgetKit.framework + sourceTree + SDKROOT + + 3127F75728EAECC800C2EFB3 + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + SwiftUI.framework + path + System/Library/Frameworks/SwiftUI.framework + sourceTree + SDKROOT + + 3127F78828EAEDE200C2EFB3 + + buildActionMask + 2147483647 + files + + 4F35BF362BE2FFD80098EF72 + 3127F7A828EAEE8500C2EFB3 + 3127F7A428EAEE3D00C2EFB3 + 3127F7A628EAEE5900C2EFB3 + 4F35BF3A2BE301180098EF72 + + isa + PBXSourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 3127F78928EAEDE200C2EFB3 + + buildActionMask + 2147483647 + files + + 3127F78E28EAEDE200C2EFB3 + 3127F78D28EAEDE200C2EFB3 + + isa + PBXFrameworksBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 3127F78A28EAEDE200C2EFB3 + + buildActionMask + 2147483647 + files + + 3127F79828EAEDE300C2EFB3 + + isa + PBXResourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 3127F78B28EAEDE200C2EFB3 + + buildConfigurationList + 3127F79F28EAEDE300C2EFB3 + buildPhases + + 3127F78A28EAEDE200C2EFB3 + 3127F78828EAEDE200C2EFB3 + 3127F78928EAEDE200C2EFB3 + + buildRules + + dependencies + + isa + PBXNativeTarget + name + livecard + productName + livecardExtension + productReference + 3127F78C28EAEDE200C2EFB3 + productType + com.apple.product-type.app-extension + + 3127F78C28EAEDE200C2EFB3 + + explicitFileType + wrapper.app-extension + includeInIndex + 0 + isa + PBXFileReference + path + livecard.appex + sourceTree + BUILT_PRODUCTS_DIR + + 3127F78D28EAEDE200C2EFB3 + + fileRef + 3127F75528EAECC800C2EFB3 + isa + PBXBuildFile + + 3127F78E28EAEDE200C2EFB3 + + fileRef + 3127F75728EAECC800C2EFB3 + isa + PBXBuildFile + + 3127F78F28EAEDE200C2EFB3 + + children + + 317DE77A294F6FFB002E323E + 3127F7A728EAEE8500C2EFB3 + 3127F7A328EAEE3D00C2EFB3 + 3127F79728EAEDE300C2EFB3 + 3127F79928EAEDE300C2EFB3 + 3127F7A528EAEE5900C2EFB3 + 4F35BF342BE2FFD80098EF72 + + isa + PBXGroup + path + livecard + sourceTree + <group> + + 3127F79728EAEDE300C2EFB3 + + isa + PBXFileReference + lastKnownFileType + folder.assetcatalog + path + Assets.xcassets + sourceTree + <group> + + 3127F79828EAEDE300C2EFB3 + + fileRef + 3127F79728EAEDE300C2EFB3 + isa + PBXBuildFile + + 3127F79928EAEDE300C2EFB3 + + isa + PBXFileReference + lastKnownFileType + text.plist.xml + path + Info.plist + sourceTree + <group> + + 3127F79C28EAEDE300C2EFB3 + + containerPortal + 97C146E61CF9000F007C117D + isa + PBXContainerItemProxy + proxyType + 1 + remoteGlobalIDString + 3127F78B28EAEDE200C2EFB3 + remoteInfo + livecardExtension + + 3127F79D28EAEDE300C2EFB3 + + isa + PBXTargetDependency + target + 3127F78B28EAEDE200C2EFB3 + targetProxy + 3127F79C28EAEDE300C2EFB3 + + 3127F79E28EAEDE300C2EFB3 + + fileRef + 3127F78C28EAEDE200C2EFB3 + isa + PBXBuildFile + settings + + ATTRIBUTES + + RemoveHeadersOnCopy + + + + 3127F79F28EAEDE300C2EFB3 + + buildConfigurations + + 3127F7A028EAEDE300C2EFB3 + 3127F7A128EAEDE300C2EFB3 + 3127F7A228EAEDE300C2EFB3 + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release + isa + XCConfigurationList + + 3127F7A028EAEDE300C2EFB3 + + buildSettings + + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME + AppIcon + ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME + AppIcon + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION + YES_AGGRESSIVE + CLANG_CXX_LANGUAGE_STANDARD + gnu++20 + CLANG_ENABLE_OBJC_WEAK + YES + CLANG_WARN_DOCUMENTATION_COMMENTS + YES + CLANG_WARN_UNGUARDED_AVAILABILITY + YES_AGGRESSIVE + CODE_SIGN_ENTITLEMENTS + livecard/livecard.entitlements + CODE_SIGN_IDENTITY + Apple Development + CODE_SIGN_STYLE + Automatic + CURRENT_PROJECT_VERSION + 276 + DEVELOPMENT_TEAM + 4DKAF249F3 + GCC_C_LANGUAGE_STANDARD + gnu11 + GENERATE_INFOPLIST_FILE + YES + INFOPLIST_FILE + livecard/Info.plist + INFOPLIST_KEY_CFBundleDisplayName + livecard + INFOPLIST_KEY_NSHumanReadableCopyright + + INFOPLIST_KEY_NSSupportsLiveActivities + YES + IPHONEOS_DEPLOYMENT_TARGET + 16.2 + LD_RUNPATH_SEARCH_PATHS + + $(inherited) + @executable_path/Frameworks + @executable_path/../../Frameworks + + MARKETING_VERSION + 5.0.5 + MTL_ENABLE_DEBUG_INFO + INCLUDE_SOURCE + MTL_FAST_MATH + YES + PRODUCT_BUNDLE_IDENTIFIER + com.refilc2.naplo.livecardpro + PRODUCT_NAME + $(TARGET_NAME) + PROVISIONING_PROFILE_SPECIFIER + + SKIP_INSTALL + YES + SWIFT_ACTIVE_COMPILATION_CONDITIONS + DEBUG + SWIFT_EMIT_LOC_STRINGS + YES + SWIFT_OPTIMIZATION_LEVEL + -Onone + SWIFT_VERSION + 5.0 + TARGETED_DEVICE_FAMILY + 1,2 + + isa + XCBuildConfiguration + name + Debug + + 3127F7A128EAEDE300C2EFB3 + + buildSettings + + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME + AppIcon + ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME + AppIcon + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION + YES_AGGRESSIVE + CLANG_CXX_LANGUAGE_STANDARD + gnu++20 + CLANG_ENABLE_OBJC_WEAK + YES + CLANG_WARN_DOCUMENTATION_COMMENTS + YES + CLANG_WARN_UNGUARDED_AVAILABILITY + YES_AGGRESSIVE + CODE_SIGN_ENTITLEMENTS + livecard/livecard.entitlements + CODE_SIGN_IDENTITY + Apple Development + CODE_SIGN_STYLE + Automatic + CURRENT_PROJECT_VERSION + 276 + DEVELOPMENT_TEAM + 4DKAF249F3 + GCC_C_LANGUAGE_STANDARD + gnu11 + GENERATE_INFOPLIST_FILE + YES + INFOPLIST_FILE + livecard/Info.plist + INFOPLIST_KEY_CFBundleDisplayName + livecard + INFOPLIST_KEY_NSHumanReadableCopyright + + INFOPLIST_KEY_NSSupportsLiveActivities + YES + IPHONEOS_DEPLOYMENT_TARGET + 16.2 + LD_RUNPATH_SEARCH_PATHS + + $(inherited) + @executable_path/Frameworks + @executable_path/../../Frameworks + + MARKETING_VERSION + 5.0.5 + MTL_FAST_MATH + YES + PRODUCT_BUNDLE_IDENTIFIER + com.refilc2.naplo.livecardpro + PRODUCT_NAME + $(TARGET_NAME) + PROVISIONING_PROFILE_SPECIFIER + + SKIP_INSTALL + YES + SWIFT_EMIT_LOC_STRINGS + YES + SWIFT_OPTIMIZATION_LEVEL + -O + SWIFT_VERSION + 5.0 + TARGETED_DEVICE_FAMILY + 1,2 + + isa + XCBuildConfiguration + name + Release + + 3127F7A228EAEDE300C2EFB3 + + buildSettings + + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME + AppIcon + ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME + AppIcon + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION + YES_AGGRESSIVE + CLANG_CXX_LANGUAGE_STANDARD + gnu++20 + CLANG_ENABLE_OBJC_WEAK + YES + CLANG_WARN_DOCUMENTATION_COMMENTS + YES + CLANG_WARN_UNGUARDED_AVAILABILITY + YES_AGGRESSIVE + CODE_SIGN_ENTITLEMENTS + livecard/livecard.entitlements + CODE_SIGN_IDENTITY + Apple Development + CODE_SIGN_STYLE + Automatic + CURRENT_PROJECT_VERSION + 276 + DEVELOPMENT_TEAM + 4DKAF249F3 + GCC_C_LANGUAGE_STANDARD + gnu11 + GENERATE_INFOPLIST_FILE + YES + INFOPLIST_FILE + livecard/Info.plist + INFOPLIST_KEY_CFBundleDisplayName + livecard + INFOPLIST_KEY_NSHumanReadableCopyright + + INFOPLIST_KEY_NSSupportsLiveActivities + YES + IPHONEOS_DEPLOYMENT_TARGET + 16.2 + LD_RUNPATH_SEARCH_PATHS + + $(inherited) + @executable_path/Frameworks + @executable_path/../../Frameworks + + MARKETING_VERSION + 5.0.5 + MTL_FAST_MATH + YES + PRODUCT_BUNDLE_IDENTIFIER + com.refilc2.naplo.livecardpro + PRODUCT_NAME + $(TARGET_NAME) + PROVISIONING_PROFILE_SPECIFIER + + SKIP_INSTALL + YES + SWIFT_EMIT_LOC_STRINGS + YES + SWIFT_OPTIMIZATION_LEVEL + -O + SWIFT_VERSION + 5.0 + TARGETED_DEVICE_FAMILY + 1,2 + + isa + XCBuildConfiguration + name + Profile + + 3127F7A328EAEE3D00C2EFB3 + + fileEncoding + 4 + isa + PBXFileReference + lastKnownFileType + file.intentdefinition + path + livecard.intentdefinition + sourceTree + <group> + + 3127F7A428EAEE3D00C2EFB3 + + fileRef + 3127F7A328EAEE3D00C2EFB3 + isa + PBXBuildFile + + 3127F7A528EAEE5900C2EFB3 + + indentWidth + 2 + isa + PBXFileReference + lastKnownFileType + sourcecode.swift + path + livecard.swift + sourceTree + <group> + tabWidth + 2 + + 3127F7A628EAEE5900C2EFB3 + + fileRef + 3127F7A528EAEE5900C2EFB3 + isa + PBXBuildFile + + 3127F7A728EAEE8500C2EFB3 + + fileEncoding + 4 + isa + PBXFileReference + lastKnownFileType + sourcecode.swift + path + lesson_model.swift + sourceTree + <group> + + 3127F7A828EAEE8500C2EFB3 + + fileRef + 3127F7A728EAEE8500C2EFB3 + isa + PBXBuildFile + + 317DE77A294F6FFB002E323E + + isa + PBXFileReference + lastKnownFileType + text.plist.entitlements + path + livecard.entitlements + sourceTree + <group> + + 373A6ECB5FC71FE9D8AF2EDB + + fileRef + 1F0ADD56276103500A3016C8 + isa + PBXBuildFile + + 3B06AD1E1E4923F5004D2608 + + alwaysOutOfDate + 1 + buildActionMask + 12 + files + + inputFileListPaths + + inputPaths + + ${TARGET_BUILD_DIR}/${INFOPLIST_PATH} + + isa + PBXShellScriptBuildPhase + name + Thin Binary + outputPaths + + runOnlyForDeploymentPostprocessing + 0 + shellPath + /bin/sh + shellScript + /bin/sh "$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" embed_and_thin + + + 3B3967151E833CAA004F5970 + + fileEncoding + 4 + isa + PBXFileReference + lastKnownFileType + text.plist.xml + name + AppFrameworkInfo.plist + path + Flutter/AppFrameworkInfo.plist + sourceTree + <group> + + 3B3967161E833CAA004F5970 + + fileRef + 3B3967151E833CAA004F5970 + isa + PBXBuildFile + + 4F35BF322BE2FFA30098EF72 + + isa + PBXFileReference + lastKnownFileType + sourcecode.swift + path + public_vars.swift + sourceTree + <group> + + 4F35BF332BE2FFA30098EF72 + + fileRef + 4F35BF322BE2FFA30098EF72 + isa + PBXBuildFile + + 4F35BF342BE2FFD80098EF72 + + isa + PBXFileReference + lastKnownFileType + sourcecode.swift + path + LiveActivityManager.swift + sourceTree + <group> + + 4F35BF352BE2FFD80098EF72 + + fileRef + 4F35BF342BE2FFD80098EF72 + isa + PBXBuildFile + + 4F35BF362BE2FFD80098EF72 + + fileRef + 4F35BF342BE2FFD80098EF72 + isa + PBXBuildFile + + 4F35BF382BE300A70098EF72 + + fileRef + 3127F7A728EAEE8500C2EFB3 + isa + PBXBuildFile + + 4F35BF392BE300B10098EF72 + + fileRef + 74858FAE1ED2DC5600515810 + isa + PBXBuildFile + + 4F35BF3A2BE301180098EF72 + + fileRef + 4F35BF322BE2FFA30098EF72 + isa + PBXBuildFile + + 4F35BF3B2BE303A40098EF72 + + explicitFileType + wrapper.framework + isa + PBXFileReference + path + app_group_directory.framework + sourceTree + BUILT_PRODUCTS_DIR + + 4F35BF3D2BE304550098EF72 + + fileEncoding + 4 + isa + PBXFileReference + lastKnownFileType + text.xml + path + PrivacyInfo.xcprivacy + sourceTree + <group> + + 4F35BF3E2BE304550098EF72 + + fileRef + 4F35BF3D2BE304550098EF72 + isa + PBXBuildFile + + 6640A963014A9D4F31026053 + + children + + 4F35BF3B2BE303A40098EF72 + 1F0ADD56276103500A3016C8 + 3127F73F28EAEC8A00C2EFB3 + 3127F75528EAECC800C2EFB3 + 3127F75728EAECC800C2EFB3 + + isa + PBXGroup + name + Frameworks + sourceTree + <group> + + 707F8089D970F81C480F73C4 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + name + Pods-Runner.profile.xcconfig + path + Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig + sourceTree + <group> + + 71459C0EB905E05018E3D78F + + buildActionMask + 12 + files + + inputFileListPaths + + ${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist + + isa + PBXShellScriptBuildPhase + name + [CP] Embed Pods Frameworks + outputFileListPaths + + ${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist + + runOnlyForDeploymentPostprocessing + 0 + shellPath + /bin/sh + shellScript + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh" + + showEnvVarsInLog + 0 + + 74858FAD1ED2DC5600515810 + + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + path + Runner-Bridging-Header.h + sourceTree + <group> + + 74858FAE1ED2DC5600515810 + + fileEncoding + 4 + isa + PBXFileReference + lastKnownFileType + sourcecode.swift + path + AppDelegate.swift + sourceTree + <group> + + 779338C8D92BCBC36F75F791 + + buildActionMask + 2147483647 + files + + inputFileListPaths + + inputPaths + + ${PODS_PODFILE_DIR_PATH}/Podfile.lock + ${PODS_ROOT}/Manifest.lock + + isa + PBXShellScriptBuildPhase + name + [CP] Check Pods Manifest.lock + outputFileListPaths + + outputPaths + + $(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt + + runOnlyForDeploymentPostprocessing + 0 + shellPath + /bin/sh + shellScript + diff "${PODS_PODFILE_DIR_PATH}/Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null +if [ $? != 0 ] ; then + # print error to STDERR + echo "error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation." >&2 + exit 1 +fi +# This output is used by Xcode 'outputs' to avoid re-running this script phase. +echo "SUCCESS" > "${SCRIPT_OUTPUT_FILE_0}" + + showEnvVarsInLog + 0 + + 7AFA3C8E1D35360C0083082E + + isa + PBXFileReference + lastKnownFileType + text.xcconfig + name + Release.xcconfig + path + Flutter/Release.xcconfig + sourceTree + <group> + + 80777CF254888CE770D5F909 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + name + Pods-Runner.debug.xcconfig + path + Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig + sourceTree + <group> + + 91FEB6212755D596FFFFEC73 + + children + + 80777CF254888CE770D5F909 + 98578F0EBCC6D3FF8391AAEB + 707F8089D970F81C480F73C4 + + isa + PBXGroup + path + Pods + sourceTree + <group> + + 9705A1C41CF9048500538489 + + buildActionMask + 2147483647 + dstPath + + dstSubfolderSpec + 10 + files + + isa + PBXCopyFilesBuildPhase + name + Embed Frameworks + runOnlyForDeploymentPostprocessing + 0 + + 9740EEB11CF90186004384FC + + children + + 3B3967151E833CAA004F5970 + 9740EEB21CF90195004384FC + 7AFA3C8E1D35360C0083082E + 9740EEB31CF90195004384FC + + isa + PBXGroup + name + Flutter + sourceTree + <group> + + 9740EEB21CF90195004384FC + + fileEncoding + 4 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + name + Debug.xcconfig + path + Flutter/Debug.xcconfig + sourceTree + <group> + + 9740EEB31CF90195004384FC + + fileEncoding + 4 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + name + Generated.xcconfig + path + Flutter/Generated.xcconfig + sourceTree + <group> + + 9740EEB61CF901F6004384FC + + alwaysOutOfDate + 1 + buildActionMask + 12 + files + + inputPaths + + isa + PBXShellScriptBuildPhase + name + Run Script + outputPaths + + runOnlyForDeploymentPostprocessing + 0 + shellPath + /bin/sh + shellScript + /bin/sh "$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" build + + + 97C146E51CF9000F007C117D + + children + + 4F35BF3D2BE304550098EF72 + 9740EEB11CF90186004384FC + 97C146F01CF9000F007C117D + 3127F78F28EAEDE200C2EFB3 + 97C146EF1CF9000F007C117D + 91FEB6212755D596FFFFEC73 + 6640A963014A9D4F31026053 + + isa + PBXGroup + sourceTree + <group> + + 97C146E61CF9000F007C117D + + attributes + + LastSwiftUpdateCheck + 1530 + LastUpgradeCheck + 1510 + ORGANIZATIONNAME + + TargetAttributes + + 3127F78B28EAEDE200C2EFB3 + + CreatedOnToolsVersion + 14.1 + + 97C146ED1CF9000F007C117D + + CreatedOnToolsVersion + 7.3.1 + LastSwiftMigration + 1100 + + + + buildConfigurationList + 97C146E91CF9000F007C117D + compatibilityVersion + Xcode 9.3 + developmentRegion + en + hasScannedForEncodings + 0 + isa + PBXProject + knownRegions + + en + Base + + mainGroup + 97C146E51CF9000F007C117D + productRefGroup + 97C146EF1CF9000F007C117D + projectDirPath + + projectRoot + + targets + + 97C146ED1CF9000F007C117D + 3127F78B28EAEDE200C2EFB3 + + + 97C146E91CF9000F007C117D + + buildConfigurations + + 97C147031CF9000F007C117D + 97C147041CF9000F007C117D + 249021D3217E4FDB00AE95B9 + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release + isa + XCConfigurationList + + 97C146EA1CF9000F007C117D + + buildActionMask + 2147483647 + files + + 4F35BF392BE300B10098EF72 + 4F35BF382BE300A70098EF72 + 4F35BF352BE2FFD80098EF72 + 1498D2341E8E89220040F4C2 + 4F35BF332BE2FFA30098EF72 + + isa + PBXSourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 97C146EB1CF9000F007C117D + + buildActionMask + 2147483647 + files + + 373A6ECB5FC71FE9D8AF2EDB + + isa + PBXFrameworksBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 97C146EC1CF9000F007C117D + + buildActionMask + 2147483647 + files + + 97C147011CF9000F007C117D + 3B3967161E833CAA004F5970 + 97C146FE1CF9000F007C117D + 4F35BF3E2BE304550098EF72 + 97C146FC1CF9000F007C117D + + isa + PBXResourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 97C146ED1CF9000F007C117D + + buildConfigurationList + 97C147051CF9000F007C117D + buildPhases + + 779338C8D92BCBC36F75F791 + 9740EEB61CF901F6004384FC + 97C146EA1CF9000F007C117D + 97C146EB1CF9000F007C117D + 97C146EC1CF9000F007C117D + 9705A1C41CF9048500538489 + 3127F74F28EAEC8A00C2EFB3 + 3B06AD1E1E4923F5004D2608 + 71459C0EB905E05018E3D78F + 262089761B766E074256257A + + buildRules + + dependencies + + 3127F79D28EAEDE300C2EFB3 + + isa + PBXNativeTarget + name + Runner + productName + Runner + productReference + 97C146EE1CF9000F007C117D + productType + com.apple.product-type.application + + 97C146EE1CF9000F007C117D + + explicitFileType + wrapper.application + includeInIndex + 0 + isa + PBXFileReference + path + Runner.app + sourceTree + BUILT_PRODUCTS_DIR + + 97C146EF1CF9000F007C117D + + children + + 97C146EE1CF9000F007C117D + 3127F78C28EAEDE200C2EFB3 + + isa + PBXGroup + name + Products + sourceTree + <group> + + 97C146F01CF9000F007C117D + + children + + 3127F73928EAEC3200C2EFB3 + 97C146FA1CF9000F007C117D + 97C146FD1CF9000F007C117D + 97C146FF1CF9000F007C117D + 97C147021CF9000F007C117D + 1498D2321E8E86230040F4C2 + 1498D2331E8E89220040F4C2 + 74858FAE1ED2DC5600515810 + 74858FAD1ED2DC5600515810 + 4F35BF322BE2FFA30098EF72 + + isa + PBXGroup + path + Runner + sourceTree + <group> + + 97C146FA1CF9000F007C117D + + children + + 97C146FB1CF9000F007C117D + + isa + PBXVariantGroup + name + Main.storyboard + sourceTree + <group> + + 97C146FB1CF9000F007C117D + + isa + PBXFileReference + lastKnownFileType + file.storyboard + name + Base + path + Base.lproj/Main.storyboard + sourceTree + <group> + + 97C146FC1CF9000F007C117D + + fileRef + 97C146FA1CF9000F007C117D + isa + PBXBuildFile + + 97C146FD1CF9000F007C117D + + isa + PBXFileReference + lastKnownFileType + folder.assetcatalog + path + Assets.xcassets + sourceTree + <group> + + 97C146FE1CF9000F007C117D + + fileRef + 97C146FD1CF9000F007C117D + isa + PBXBuildFile + + 97C146FF1CF9000F007C117D + + children + + 97C147001CF9000F007C117D + + isa + PBXVariantGroup + name + LaunchScreen.storyboard + sourceTree + <group> + + 97C147001CF9000F007C117D + + isa + PBXFileReference + lastKnownFileType + file.storyboard + name + Base + path + Base.lproj/LaunchScreen.storyboard + sourceTree + <group> + + 97C147011CF9000F007C117D + + fileRef + 97C146FF1CF9000F007C117D + isa + PBXBuildFile + + 97C147021CF9000F007C117D + + isa + PBXFileReference + lastKnownFileType + text.plist.xml + path + Info.plist + sourceTree + <group> + + 97C147031CF9000F007C117D + + buildSettings + + ALWAYS_SEARCH_USER_PATHS + NO + CLANG_ANALYZER_NONNULL + YES + CLANG_CXX_LANGUAGE_STANDARD + gnu++0x + CLANG_CXX_LIBRARY + libc++ + CLANG_ENABLE_MODULES + YES + CLANG_ENABLE_OBJC_ARC + YES + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING + YES + CLANG_WARN_BOOL_CONVERSION + YES + CLANG_WARN_COMMA + YES + CLANG_WARN_CONSTANT_CONVERSION + YES + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS + YES + CLANG_WARN_DIRECT_OBJC_ISA_USAGE + YES_ERROR + CLANG_WARN_EMPTY_BODY + YES + CLANG_WARN_ENUM_CONVERSION + YES + CLANG_WARN_INFINITE_RECURSION + YES + CLANG_WARN_INT_CONVERSION + YES + CLANG_WARN_NON_LITERAL_NULL_CONVERSION + YES + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF + YES + CLANG_WARN_OBJC_LITERAL_CONVERSION + YES + CLANG_WARN_OBJC_ROOT_CLASS + YES_ERROR + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER + YES + CLANG_WARN_RANGE_LOOP_ANALYSIS + YES + CLANG_WARN_STRICT_PROTOTYPES + YES + CLANG_WARN_SUSPICIOUS_MOVE + YES + CLANG_WARN_UNREACHABLE_CODE + YES + CLANG_WARN__DUPLICATE_METHOD_MATCH + YES + CODE_SIGN_IDENTITY[sdk=iphoneos*] + iPhone Developer + COPY_PHASE_STRIP + NO + DEBUG_INFORMATION_FORMAT + dwarf + ENABLE_STRICT_OBJC_MSGSEND + YES + ENABLE_TESTABILITY + YES + GCC_C_LANGUAGE_STANDARD + gnu99 + GCC_DYNAMIC_NO_PIC + NO + GCC_NO_COMMON_BLOCKS + YES + GCC_OPTIMIZATION_LEVEL + 0 + GCC_PREPROCESSOR_DEFINITIONS + + DEBUG=1 + $(inherited) + + GCC_WARN_64_TO_32_BIT_CONVERSION + YES + GCC_WARN_ABOUT_RETURN_TYPE + YES_ERROR + GCC_WARN_UNDECLARED_SELECTOR + YES + GCC_WARN_UNINITIALIZED_AUTOS + YES_AGGRESSIVE + GCC_WARN_UNUSED_FUNCTION + YES + GCC_WARN_UNUSED_VARIABLE + YES + IPHONEOS_DEPLOYMENT_TARGET + 12.0 + MTL_ENABLE_DEBUG_INFO + YES + ONLY_ACTIVE_ARCH + YES + SDKROOT + iphoneos + TARGETED_DEVICE_FAMILY + 1,2 + + isa + XCBuildConfiguration + name + Debug + + 97C147041CF9000F007C117D + + buildSettings + + ALWAYS_SEARCH_USER_PATHS + NO + CLANG_ANALYZER_NONNULL + YES + CLANG_CXX_LANGUAGE_STANDARD + gnu++0x + CLANG_CXX_LIBRARY + libc++ + CLANG_ENABLE_MODULES + YES + CLANG_ENABLE_OBJC_ARC + YES + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING + YES + CLANG_WARN_BOOL_CONVERSION + YES + CLANG_WARN_COMMA + YES + CLANG_WARN_CONSTANT_CONVERSION + YES + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS + YES + CLANG_WARN_DIRECT_OBJC_ISA_USAGE + YES_ERROR + CLANG_WARN_EMPTY_BODY + YES + CLANG_WARN_ENUM_CONVERSION + YES + CLANG_WARN_INFINITE_RECURSION + YES + CLANG_WARN_INT_CONVERSION + YES + CLANG_WARN_NON_LITERAL_NULL_CONVERSION + YES + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF + YES + CLANG_WARN_OBJC_LITERAL_CONVERSION + YES + CLANG_WARN_OBJC_ROOT_CLASS + YES_ERROR + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER + YES + CLANG_WARN_RANGE_LOOP_ANALYSIS + YES + CLANG_WARN_STRICT_PROTOTYPES + YES + CLANG_WARN_SUSPICIOUS_MOVE + YES + CLANG_WARN_UNREACHABLE_CODE + YES + CLANG_WARN__DUPLICATE_METHOD_MATCH + YES + CODE_SIGN_IDENTITY[sdk=iphoneos*] + iPhone Developer + COPY_PHASE_STRIP + NO + DEBUG_INFORMATION_FORMAT + dwarf-with-dsym + ENABLE_NS_ASSERTIONS + NO + ENABLE_STRICT_OBJC_MSGSEND + YES + GCC_C_LANGUAGE_STANDARD + gnu99 + GCC_NO_COMMON_BLOCKS + YES + GCC_WARN_64_TO_32_BIT_CONVERSION + YES + GCC_WARN_ABOUT_RETURN_TYPE + YES_ERROR + GCC_WARN_UNDECLARED_SELECTOR + YES + GCC_WARN_UNINITIALIZED_AUTOS + YES_AGGRESSIVE + GCC_WARN_UNUSED_FUNCTION + YES + GCC_WARN_UNUSED_VARIABLE + YES + IPHONEOS_DEPLOYMENT_TARGET + 12.0 + MTL_ENABLE_DEBUG_INFO + NO + SDKROOT + iphoneos + SUPPORTED_PLATFORMS + iphoneos + SWIFT_COMPILATION_MODE + wholemodule + SWIFT_OPTIMIZATION_LEVEL + -Owholemodule + TARGETED_DEVICE_FAMILY + 1,2 + VALIDATE_PRODUCT + YES + + isa + XCBuildConfiguration + name + Release + + 97C147051CF9000F007C117D + + buildConfigurations + + 97C147061CF9000F007C117D + 97C147071CF9000F007C117D + 249021D4217E4FDB00AE95B9 + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release + isa + XCConfigurationList + + 97C147061CF9000F007C117D + + baseConfigurationReference + 9740EEB21CF90195004384FC + buildSettings + + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES + YES + ASSETCATALOG_COMPILER_APPICON_NAME + AppIcon + CLANG_ENABLE_MODULES + YES + CODE_SIGN_ENTITLEMENTS + Runner/Runner.entitlements + CURRENT_PROJECT_VERSION + 276 + DEVELOPMENT_TEAM + 4DKAF249F3 + ENABLE_BITCODE + NO + INFOPLIST_FILE + Runner/Info.plist + INFOPLIST_KEY_CFBundleDisplayName + reFilc + INFOPLIST_KEY_LSApplicationCategoryType + public.app-category.education + LD_RUNPATH_SEARCH_PATHS + + $(inherited) + @executable_path/Frameworks + + MARKETING_VERSION + 5.0.5 + PRODUCT_BUNDLE_IDENTIFIER + com.refilc2.naplo + PRODUCT_NAME + $(TARGET_NAME) + SWIFT_OBJC_BRIDGING_HEADER + Runner/Runner-Bridging-Header.h + SWIFT_OPTIMIZATION_LEVEL + -Onone + SWIFT_VERSION + 5.0 + VERSIONING_SYSTEM + apple-generic + + isa + XCBuildConfiguration + name + Debug + + 97C147071CF9000F007C117D + + baseConfigurationReference + 7AFA3C8E1D35360C0083082E + buildSettings + + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES + YES + ASSETCATALOG_COMPILER_APPICON_NAME + AppIcon + CLANG_ENABLE_MODULES + YES + CODE_SIGN_ENTITLEMENTS + Runner/Runner.entitlements + CURRENT_PROJECT_VERSION + 276 + DEVELOPMENT_TEAM + 4DKAF249F3 + ENABLE_BITCODE + NO + INFOPLIST_FILE + Runner/Info.plist + INFOPLIST_KEY_CFBundleDisplayName + reFilc + INFOPLIST_KEY_LSApplicationCategoryType + public.app-category.education + LD_RUNPATH_SEARCH_PATHS + + $(inherited) + @executable_path/Frameworks + + MARKETING_VERSION + 5.0.5 + PRODUCT_BUNDLE_IDENTIFIER + com.refilc2.naplo + PRODUCT_NAME + $(TARGET_NAME) + SWIFT_OBJC_BRIDGING_HEADER + Runner/Runner-Bridging-Header.h + SWIFT_VERSION + 5.0 + VERSIONING_SYSTEM + apple-generic + + isa + XCBuildConfiguration + name + Release + + 98578F0EBCC6D3FF8391AAEB + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + name + Pods-Runner.release.xcconfig + path + Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig + sourceTree + <group> + + + rootObject + 97C146E61CF9000F007C117D + + diff --git a/refilc/ios/Runner.xcodeproj/xcuserdata/tmarccci.xcuserdatad/xcschemes/xcschememanagement.plist b/refilc/ios/Runner.xcodeproj/xcuserdata/tmarccci.xcuserdatad/xcschemes/xcschememanagement.plist index 1970da8..e885495 100644 --- a/refilc/ios/Runner.xcodeproj/xcuserdata/tmarccci.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/refilc/ios/Runner.xcodeproj/xcuserdata/tmarccci.xcuserdatad/xcschemes/xcschememanagement.plist @@ -12,7 +12,7 @@ livecard.xcscheme_^#shared#^_ orderHint - 83 + 86 diff --git a/refilc/ios/livecard/lesson_model.swift b/refilc/ios/livecard/lesson_model.swift index f0d9904..2526098 100644 --- a/refilc/ios/livecard/lesson_model.swift +++ b/refilc/ios/livecard/lesson_model.swift @@ -1,40 +1,44 @@ import Foundation -import ActivityKit public struct LessonData { - var color: String - var icon: String - var index: String - var title: String - var subtitle: String - var description: String - var startDate: Date - var endDate: Date - var date: ClosedRange - var nextSubject: String - var nextRoom: String + var color: String + var icon: String + var index: String + var title: String + var subtitle: String + var description: String + var startDate: Date + var endDate: Date + var date: ClosedRange + var nextSubject: String + var nextRoom: String + + init(from dictionary: [String: Any]) { + self.color = dictionary["color"] as? String ?? "" + self.icon = dictionary["icon"] as? String ?? "" + self.index = dictionary["index"] as? String ?? "" + self.title = dictionary["title"] as? String ?? "" + self.subtitle = dictionary["subtitle"] as? String ?? "" + self.description = dictionary["description"] as? String ?? "" + self.nextSubject = dictionary["nextSubject"] as? String ?? "" + self.nextRoom = dictionary["nextRoom"] as? String ?? "" - init(from dictionary: [String: Any]) { - self.color = dictionary["color"] as? String ?? "" - self.icon = dictionary["icon"] as? String ?? "" - self.index = dictionary["index"] as? String ?? "" - self.title = dictionary["title"] as? String ?? "" - self.subtitle = dictionary["subtitle"] as? String ?? "" - self.description = dictionary["description"] as? String ?? "" - self.nextSubject = dictionary["nextSubject"] as? String ?? "" - self.nextRoom = dictionary["nextRoom"] as? String ?? "" - - if let startDateStr = dictionary["startDate"] as? String, let startDateInt = Int(startDateStr) { - self.startDate = Date(timeIntervalSince1970: TimeInterval(startDateInt) / 1000) - } else { - self.startDate = Date() - } - - if let endDateStr = dictionary["endDate"] as? String, let endDateInt = Int(endDateStr) { - self.endDate = Date(timeIntervalSince1970: TimeInterval(endDateInt) / 1000) - } else { - self.endDate = Date() - } - date = self.startDate...self.endDate + if let startDateStr = dictionary["startDate"] as? String, let startDateInt = Int(startDateStr) { + self.startDate = Date(timeIntervalSince1970: TimeInterval(startDateInt) / 1000) + } else { + self.startDate = Date() } + + if let endDateStr = dictionary["endDate"] as? String, let endDateInt = Int(endDateStr) { + self.endDate = Date(timeIntervalSince1970: TimeInterval(endDateInt) / 1000) + } else { + self.endDate = self.startDate + } + + if self.startDate <= self.endDate { + self.date = self.startDate...self.endDate + } else { + self.date = self.endDate...self.endDate + } + } } diff --git a/refilc/ios/livecard/livecard.swift b/refilc/ios/livecard/livecard.swift index 0271d1c..939cfe8 100644 --- a/refilc/ios/livecard/livecard.swift +++ b/refilc/ios/livecard/livecard.swift @@ -64,19 +64,11 @@ struct LockScreenLiveActivityView: View { .padding(.trailing, 90) } else { - MultilineTextView(text: "\(context.state.index) \(context.state.title)", limit: 25) + MultilineTextView(text: "\(context.state.index) \(context.state.title) - \(context.state.subtitle)", limit: 25) .font(.body) .bold() .multilineTextAlignment(.center) } - - //Terem - if (!context.state.subtitle.isEmpty) { - Text(context.state.subtitle) - .italic() - .bold() - .font(.system(size: 13)) - } } // Leírás @@ -92,10 +84,8 @@ struct LockScreenLiveActivityView: View { .resizable() .aspectRatio(contentMode: .fit) .frame(width: CGFloat(8), height: CGFloat(8)) - Text(context.state.nextSubject) + Text("\(context.state.nextSubject) - \(context.state.nextRoom)") .font(.caption) - Text(context.state.nextRoom) - .font(.caption2) } .multilineTextAlignment(.center) } else { @@ -197,33 +187,23 @@ struct LiveCardWidget: Widget { } else { // Amikor óra van, expanded DynamicIsland - MultilineTextView(text: "\(context.state.index) \(context.state.title)", limit: 25) + MultilineTextView(text: "\(context.state.index) \(context.state.title) - \(context.state.subtitle)", limit: 25) .lineLimit(1) .font(.body) .bold() .padding(.trailing, -35) - Text(context.state.subtitle) - .lineLimit(1) - .italic() - .bold() - .font(.system(size: 13)) - .padding(.trailing, -50) - - Spacer(minLength: 5) + Spacer(minLength: 2) if(context.state.nextRoom != "" && context.state.nextSubject != "") { Text("Következő óra és terem:") .font(.system(size: 14)) - .padding(.trailing, -35) + .padding(.trailing, -45) Spacer(minLength: 2) - Text(context.state.nextSubject) - .modifier(DynamicFontSizeModifier(text: context.state.nextSubject)) - .padding(.trailing, -35) - Text(context.state.nextRoom) - // ignore: based on nextSubject characters, I check that the font size of the room is the same as the next subject. - .modifier(DynamicFontSizeModifier(text: context.state.nextSubject)) - .padding(.trailing, -35) + + Text("\(context.state.nextSubject) - \(context.state.nextRoom)") + .modifier(DynamicFontSizeModifier(text: "\(context.state.nextSubject) - \(context.state.nextRoom)")) + .padding(.trailing, 35) } else { Text("Ez az utolsó óra! Kitartást!") .font(.system(size: 14)) @@ -327,3 +307,66 @@ struct DynamicFontSizeModifier: ViewModifier { } } } + +struct LiveCardWidget_Previews: PreviewProvider { + + static let attributes = LiveActivitiesAppAttributes() + + static let duringLessonExmaple = LiveActivitiesAppAttributes.ContentState( + color: "#FF5733", + icon: "bell", + index: "1.", + title: "Math Class", + subtitle: "101", + description: "Algebra lesson", + startDate: Date(), + endDate: Date().addingTimeInterval(3000), + date: Date()...Date().addingTimeInterval(3000), // 50 minutes later + nextSubject: "Physics", + nextRoom: "102" + ) + + static let inBreak = LiveActivitiesAppAttributes.ContentState( + color: "#FF5733", + icon: "house", + index: "", + title: "Szünet", + subtitle: "Menj a(z) 122 terembe.", + description: "", + startDate: Date(), + endDate: Date().addingTimeInterval(3000), + date: Date()...Date().addingTimeInterval(3000), // 50 minutes later + nextSubject: "Physics", + nextRoom: "122" + ) + + static let lastLesson = LiveActivitiesAppAttributes.ContentState( + color: "#00ff00", + icon: "bell", + index: "6.", + title: "Math Class", + subtitle: "", + description: "Lorem Ipsum", + startDate: Date(), + endDate: Date().addingTimeInterval(3000), + date: Date()...Date().addingTimeInterval(3000), // 50 minutes later + nextSubject: "", + nextRoom: "" + ) + + static var previews: some View { + // Dynamic Island Compact + Group { + attributes + .previewContext(duringLessonExmaple, viewKind: .dynamicIsland(.compact)) + .previewDisplayName("During Lesson") + attributes + .previewContext(inBreak, viewKind: .dynamicIsland(.compact)) + .previewDisplayName("In Break") + attributes + .previewContext(lastLesson, viewKind: .dynamicIsland(.compact)) + .previewDisplayName("During Last Lesson") + } + } + +}