From 3e34b10ebd44e64f8d052e6c4c167fb3b924eb70 Mon Sep 17 00:00:00 2001 From: Stephan W <60811299+wingcommander2020@users.noreply.github.com> Date: Fri, 2 Feb 2024 10:08:46 +0100 Subject: [PATCH 1/3] Update README.md For iOS it was crucial for me to run a "pod update" in the /ios folder to propagate the changes to the Info.plist and the addition of the fonts. The app could not find teh fonts otherwise. --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7809599c1..7d265f047 100644 --- a/README.md +++ b/README.md @@ -248,6 +248,11 @@ To set up the library on your macOS project using `react-native-macos`, follow t 2. Edit your `Info.plist` and include a new property named **Application fonts resource path** (or `ATSApplicationFontsPath` if Xcode's autocomplete isn't functioning or you're not using Xcode). Set the value of this property to `Fonts`. +3. Update the pod. From your project's `/ios` folder run: +```sh +pod update +``` + _Please note that after adding new fonts, you need to recompile your project. Also, make sure that the `Fonts` folder is present under the **Copy Bundle Resources** section within the **Build Phases** of your Xcode project._ These steps will effectively integrate the vector icons library into your macOS project while utilizing the `react-native-macos` framework. @@ -771,4 +776,4 @@ Sometimes vendors decides to remove some icons from newer releases, this has not This project is licenced under the [MIT License](http://opensource.org/licenses/mit-license.html). -Any bundled fonts are copyright to their respective authors and mostly under MIT or [SIL OFL](http://scripts.sil.org/OFL). \ No newline at end of file +Any bundled fonts are copyright to their respective authors and mostly under MIT or [SIL OFL](http://scripts.sil.org/OFL). From d20f31f2cb13e2e2554fcb06b30e463dba2f5c48 Mon Sep 17 00:00:00 2001 From: Stephan W <60811299+wingcommander2020@users.noreply.github.com> Date: Wed, 12 Jun 2024 11:45:41 +0200 Subject: [PATCH 2/3] changed pod update comamnd to prevent unwanted dependency changes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7d265f047..9dacbb5b6 100644 --- a/README.md +++ b/README.md @@ -250,7 +250,7 @@ To set up the library on your macOS project using `react-native-macos`, follow t 3. Update the pod. From your project's `/ios` folder run: ```sh -pod update +bundle exec pod install ``` _Please note that after adding new fonts, you need to recompile your project. Also, make sure that the `Fonts` folder is present under the **Copy Bundle Resources** section within the **Build Phases** of your Xcode project._ From 5210399b22c941b37148f22d6e001a1cea832daf Mon Sep 17 00:00:00 2001 From: Stephan W <60811299+wingcommander2020@users.noreply.github.com> Date: Wed, 12 Jun 2024 11:46:03 +0200 Subject: [PATCH 3/3] changed pod update comamnd to prevent unwanted dependency changes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9dacbb5b6..7fce5676b 100644 --- a/README.md +++ b/README.md @@ -248,7 +248,7 @@ To set up the library on your macOS project using `react-native-macos`, follow t 2. Edit your `Info.plist` and include a new property named **Application fonts resource path** (or `ATSApplicationFontsPath` if Xcode's autocomplete isn't functioning or you're not using Xcode). Set the value of this property to `Fonts`. -3. Update the pod. From your project's `/ios` folder run: +3. From your project's `/ios` folder run: ```sh bundle exec pod install ```