From a548d695f2d40942bab3283234e894ddc211c4f8 Mon Sep 17 00:00:00 2001 From: Sergey Date: Wed, 25 Mar 2020 11:31:05 +0200 Subject: [PATCH] Doc: Update macOS troubleshooting for IOS build (#2898) --- readme/build_troubleshooting.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/readme/build_troubleshooting.md b/readme/build_troubleshooting.md index dbea03dbdd..c01a09aed8 100644 --- a/readme/build_troubleshooting.md +++ b/readme/build_troubleshooting.md @@ -21,6 +21,16 @@ If you get a node-gyp related error, you might need to manually install it: `npm If you get the error `libtool: unrecognized option '-static'`, follow the instructions [in this post](https://stackoverflow.com/a/38552393/561309) to use the correct libtool version. +# Mobile application + +## iOS + +If you there is an error `/joplin/ReactNativeClient/ios/Pods/Target Support Files/Pods-Joplin/Pods-Joplin.debug.xcconfig: unable to open file (in target "Joplin" in project "Joplin") (in target 'Joplin' from project 'Joplin')` run the following commands: + + cd ios + pod deintegrate + pod install + ## Other issues > The application window doesn't open or is white @@ -36,4 +46,4 @@ This is an indication that there's an early initialisation error. Try this: **You should not use WSL at all** because this is a GUI app that lives outside of WSL, and the WSL layer can cause all kind of very hard to debug issues. It can also lock files in node_modules that cannot be unlocked when the app crashes. (You need to restart your computer.) Likewise, don't run the TypeScript watch command from WSL. -So everything should be done from a Windows Command prompt or Windows PowerShell running as Administrator. All build and start commands are designed to work cross-platform, including on Windows. \ No newline at end of file +So everything should be done from a Windows Command prompt or Windows PowerShell running as Administrator. All build and start commands are designed to work cross-platform, including on Windows.