Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ughuuu committed Jun 29, 2024
1 parent 5abc1d0 commit 21b6c61
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
- [Selecting a Godot version](toolchain/godot-version.md)
- [Debugging](toolchain/debugging.md)
- [Export to Web](toolchain/export-web.md)
- [Export to macOS and iOS](toolchain/export-mac-and-ios.md)
- [Recipes](recipes/index.md)
- [Custom resources](recipes/custom-resources.md)
- [Editor plugins](recipes/editor-plugin/index.md)
Expand Down
12 changes: 7 additions & 5 deletions src/toolchain/export-mac-and-ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ Next, you will need to create the `.framework` folder.

```sh
mkdir target/release/lib{YourCrate}.macos.framework
cp target/release/lib{YourCrate}.macos.dylib target/release/lib{YourCrate}.macos.framework/lib{YourCrate}.macos.dylib
cp target/release/lib{YourCrate}.macos.dylib \
target/release/lib{YourCrate}.macos.framework/lib{YourCrate}.macos.dylib
```

Next, create the `Info.plist` file inside the `Resources` folder:
Expand Down Expand Up @@ -143,7 +144,8 @@ Next, you will need to create the `.framework` folder.

```sh
mkdir target/release/lib{YourCrate}.ios.framework
cp target/release/lib{YourCrate}.ios.dylib target/release/lib{YourCrate}.ios.framework/lib{YourCrate}.ios.dylib
cp target/release/lib{YourCrate}.ios.dylib \
target/release/lib{YourCrate}.ios.framework/lib{YourCrate}.ios.dylib
```

Next, create the `Info.plist` file inside the `.framework` folder, with the following contents:
Expand Down Expand Up @@ -183,7 +185,7 @@ Next, create the `Info.plist` file inside the `.framework` folder, with the foll
</plist>
```

See [XML format requirements](#xml-format).
See [XML format requirements](#admonition-xml-format).

Edit the project's `.gdextension` file to include support for iOS.
This file will probably be at `godot/{YourCrate}.gdextension`.
Expand All @@ -199,9 +201,9 @@ ios.release = "res://../rust/target/release/lib{YourCrate}.ios.framework"
## Code Signing and Notarizing (macOS only)


```admonish note title="Inheriting custom base classes"
```admonish note title="Optional Step"
This step is only needed if you want to share the library.
If you are building the whole game, you will sign everything and don't need to sign the library. You can skip this step.
If you are building the whole game, you will sign everything and don't need to sign the library. You can skip to [Godot Build](#godot-build) step.
```

In order to code-sign and notarize your app, you will first need to gather some information from your enrolled Apple Developer account.
Expand Down

0 comments on commit 21b6c61

Please sign in to comment.