Skip to content

Conversation

alkhimey
Copy link

@alkhimey alkhimey commented Mar 8, 2025

After tinkering with it, took me some time to make it working. Hope these clarifications in the docs will save others some time.

README.md Outdated
4. [Build godot for iOS target](https://docs.godotengine.org/en/stable/contributing/development/compiling/compiling_for_ios.html). `scons platform=ios target=editor`


5. Run plugin creation script. This step need to be repeated for each of the plugins you want to use. Go to the root of this repository then run `./scripts/generate_xcframework.sh <plugin_name> <debug|release|release_debug> 4.0`. The result will be an xcframework in bin directory.
Copy link
Contributor

@Calinou Calinou Mar 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
5. Run plugin creation script. This step need to be repeated for each of the plugins you want to use. Go to the root of this repository then run `./scripts/generate_xcframework.sh <plugin_name> <debug|release|release_debug> 4.0`. The result will be an xcframework in bin directory.
5. Run the plugin creation script. This step needs to be repeated for each of the plugins you want to use. Go to the root of this repository then run `./scripts/generate_xcframework.sh <plugin_name> <debug|release|release_debug> 4.4`. The result will be an xcframework in bin directory.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See scons configuration file, the two options are 3.x and 4.0.

README.md Outdated

You don't have to wait for full engine compilation, as header files are generated first.
Once the actual compilation starts, you can stop this command by pressing <kbd>Ctrl + C</kbd>.
1. After cloning this repository, go to `godot` submodule and checkout the tag of the engine version you are working with. For example `4.3-stable`.
Copy link
Contributor

@Calinou Calinou Mar 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

git switch is preferred over git checkout nowadays, as it avoids the ambiguity of git checkout also being able to work as git restore:

Suggested change
1. After cloning this repository, go to `godot` submodule and checkout the tag of the engine version you are working with. For example `4.3-stable`.
1. After cloning this repository, go to `godot` submodule and switch to the tag of the engine version you are working with. For example, `git switch 4.4-stable`.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a tag so should be "git checkout" and not "switch".

Copy link
Contributor

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me on the surface. Should be good to merge after applying the formatting fixes I suggested.

@alkhimey
Copy link
Author

I applied the suggestions except two changes I commented about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants