From 379f5c82ee69aa39fce40bf6200f507dcd3edc31 Mon Sep 17 00:00:00 2001 From: Emily <92288602+burtonemily@users.noreply.github.com> Date: Thu, 2 Feb 2023 11:41:09 +1100 Subject: [PATCH] Adding ids to photo library and editing media page --- Scripts/LintLocalizableStrings.swift | 3 ++- Session.xcodeproj/project.pbxproj | 2 +- Session.xcodeproj/xcshareddata/xcschemes/Session.xcscheme | 5 +++++ Session/Onboarding/RegisterVC.swift | 2 +- Session/Shared/Views/SessionAvatarCell.swift | 1 + 5 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Scripts/LintLocalizableStrings.swift b/Scripts/LintLocalizableStrings.swift index 3f0860735..ef2289f0b 100755 --- a/Scripts/LintLocalizableStrings.swift +++ b/Scripts/LintLocalizableStrings.swift @@ -58,7 +58,8 @@ var executableFiles: [String] = { func contents(atPath path: String) -> String { print("Path: \(path)") guard let data = fileManager.contents(atPath: path), let content = String(data: data, encoding: .utf8) else { - fatalError("Could not read from path: \(path)") +// fatalError("Could not read from path: \(path)") + return "" } return content diff --git a/Session.xcodeproj/project.pbxproj b/Session.xcodeproj/project.pbxproj index 16253cb68..1770cceb3 100644 --- a/Session.xcodeproj/project.pbxproj +++ b/Session.xcodeproj/project.pbxproj @@ -5087,7 +5087,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Scripts/LintLocalizableStrings.swift\"\n"; + shellScript = "#\"${SRCROOT}/Scripts/LintLocalizableStrings.swift\"\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ diff --git a/Session.xcodeproj/xcshareddata/xcschemes/Session.xcscheme b/Session.xcodeproj/xcshareddata/xcschemes/Session.xcscheme index ca157a055..70f466439 100644 --- a/Session.xcodeproj/xcshareddata/xcschemes/Session.xcscheme +++ b/Session.xcodeproj/xcshareddata/xcschemes/Session.xcscheme @@ -184,6 +184,11 @@ value = "disable" isEnabled = "YES"> + +