From d468a8274e22b7f1cef7d62857d222fff9cfca60 Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Tue, 21 Oct 2025 19:44:54 +0500 Subject: [PATCH] mobile: fix build errors on ios --- apps/mobile/index.ext.js | 4 ++-- apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj | 10 ++++++++-- packages/intl/locale/en.po | 4 ++-- packages/intl/locale/pseudo-LOCALE.po | 4 ++-- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/apps/mobile/index.ext.js b/apps/mobile/index.ext.js index 4ecec2da2..ac9f05787 100644 --- a/apps/mobile/index.ext.js +++ b/apps/mobile/index.ext.js @@ -4,10 +4,10 @@ import { AppRegistry, Platform } from "react-native"; import "react-native-get-random-values"; import { SafeAreaProvider } from "react-native-safe-area-context"; import "./globals"; -import "app/common/logger/index"; +import "./app/common/logger/index"; const ShareProvider = () => { - NotesnookShare = require("app/share/index").default; + NotesnookShare = require("./app/share/index").default; return Platform.OS === "ios" ? ( diff --git a/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj b/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj index 3532ae87e..eee517428 100644 --- a/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj +++ b/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj @@ -1778,7 +1778,10 @@ ONLY_ACTIVE_ARCH = YES; OTHER_CFLAGS = "$(inherited)"; OTHER_CPLUSPLUSFLAGS = "$(inherited)"; - OTHER_LDFLAGS = "$(inherited) "; + OTHER_LDFLAGS = ( + "$(inherited)", + " ", + ); REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG"; @@ -1843,7 +1846,10 @@ ONLY_ACTIVE_ARCH = NO; OTHER_CFLAGS = "$(inherited)"; OTHER_CPLUSPLUSFLAGS = "$(inherited)"; - OTHER_LDFLAGS = "$(inherited) "; + OTHER_LDFLAGS = ( + "$(inherited)", + " ", + ); REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; USE_HERMES = true; diff --git a/packages/intl/locale/en.po b/packages/intl/locale/en.po index 4e06d0e31..0e8fe5045 100644 --- a/packages/intl/locale/en.po +++ b/packages/intl/locale/en.po @@ -2842,7 +2842,7 @@ msgstr "Filter attachments by filename, type or hash" msgid "Filter languages" msgstr "Filter languages" -#: src/strings.ts:2594 +#: src/strings.ts:2603 msgid "Finish your purchase in the browser." msgstr "Finish your purchase in the browser." @@ -3032,7 +3032,7 @@ msgstr "Getting recovery codes" msgid "GNU GENERAL PUBLIC LICENSE Version 3" msgstr "GNU GENERAL PUBLIC LICENSE Version 3" -#: src/strings.ts:2595 +#: src/strings.ts:2604 msgid "Go back" msgstr "Go back" diff --git a/packages/intl/locale/pseudo-LOCALE.po b/packages/intl/locale/pseudo-LOCALE.po index ab1de35e2..358349271 100644 --- a/packages/intl/locale/pseudo-LOCALE.po +++ b/packages/intl/locale/pseudo-LOCALE.po @@ -2831,7 +2831,7 @@ msgstr "" msgid "Filter languages" msgstr "" -#: src/strings.ts:2594 +#: src/strings.ts:2603 msgid "Finish your purchase in the browser." msgstr "" @@ -3014,7 +3014,7 @@ msgstr "" msgid "GNU GENERAL PUBLIC LICENSE Version 3" msgstr "" -#: src/strings.ts:2595 +#: src/strings.ts:2604 msgid "Go back" msgstr ""