Fix broken Fix_Xcode_Dependencies script and README after latest changes

This commit is contained in:
Martin Hrubý (hrubymar10) 2019-01-28 13:36:05 +01:00
parent d3eebd61e1
commit 4d08b1eb78
No known key found for this signature in database
GPG key ID: 3042E73421447651
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ if [ -z "$MY_PATH" ] ; then
fi
cd "$MY_PATH"
if ! [ -d "Wesnoth.xcodeproj" ]; then
if ! [ -d "The Battle for Wesnoth.xcodeproj" ]; then
echo "Error: I am in bad directory! I must be in wesnoth/projectfiles/Xcode !" >&2
exit 1
fi

View file

@ -35,7 +35,7 @@ Builds for maximum compiling speed, and uses the current OS as the SDK. If you j
2. Use `Finder` to navigate into `wesnoth/projectfiles/Xcode` . And now, there will be 2 options.
3. Double click on `Fix_Xcode_Dependencies` script and wait until it will be done.
5. (Optional) Compile translations as it is described in **Translations** section.
6. Now you can open `Wesnoth.xcodeproj` file in Xcode.
6. Now you can open `The Battle for Wesnoth.xcodeproj` file in Xcode.
## Translations
To compile translations you need `gettext-tools` and `scons`. You can obtain these tools using `brew install gettext scons`. In the Terminal, `cd` to the Wesnoth root directory, and run `scons translations`. This will compile all the translations into a translations directory.