Skip to content

Commit 883c029

Browse files
committed
Remove .framework folders and code signing for macOS and iOS
1 parent db25e65 commit 883c029

File tree

5 files changed

+6
-254
lines changed

5 files changed

+6
-254
lines changed

.github/actions/sign/action.yml

-179
This file was deleted.

SConstruct

+2-7
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,14 @@ if env["target"] in ["editor", "template_debug"]:
4646
print("Not including class reference as we're targeting a pre-4.3 baseline.")
4747

4848
file = "{}{}{}".format(libname, env["suffix"], env["SHLIBSUFFIX"])
49-
filepath = ""
5049

51-
if env["platform"] == "macos" or env["platform"] == "ios":
52-
filepath = "{}.framework/".format(env["platform"])
53-
file = "{}{}".format(libname, env["suffix"])
54-
55-
libraryfile = "bin/{}/{}{}".format(env["platform"], filepath, file)
50+
libraryfile = "bin/{}/{}".format(env["platform"], file)
5651
library = env.SharedLibrary(
5752
libraryfile,
5853
source=sources,
5954
)
6055

61-
copy = env.InstallAs("{}/bin/{}/{}lib{}".format(projectdir, env["platform"], filepath, file), library)
56+
copy = env.InstallAs("{}/bin/{}/lib{}".format(projectdir, env["platform"], file), library)
6257

6358
default_args = [library, copy]
6459
Default(*default_args)

bin/ios/ios.framework/Info.plist

-32
This file was deleted.

bin/macos/macos.framework/Resources/Info.plist

-32
This file was deleted.

demo/bin/example.gdextension

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ compatibility_minimum = "4.1"
55

66
[libraries]
77
; Relative paths ensure that our GDExtension can be placed anywhere in the project directory.
8-
macos.debug = "./macos/macos.framework/libEXTENSION-NAME.macos.template_debug.universal"
9-
macos.release = "./macos/macos.framework/libEXTENSION-NAME.macos.template_release.universal"
10-
ios.debug = "./ios/ios.framework/libEXTENSION-NAME.ios.template_debug.arm64"
11-
ios.release = "./ios/ios.framework/libEXTENSION-NAME.ios.template_release.arm64"
8+
macos.debug = "./macos/libEXTENSION-NAME.macos.template_debug.universal.dylib"
9+
macos.release = "./macos/libEXTENSION-NAME.macos.template_release.universal.dylib"
10+
ios.debug = "./ios/libEXTENSION-NAME.ios.template_debug.arm64.dylib"
11+
ios.release = "./ios/libEXTENSION-NAME.ios.template_release.arm64.dylib"
1212
windows.debug.x86_32 = "./windows/libEXTENSION-NAME.windows.template_debug.x86_32.dll"
1313
windows.release.x86_32 = "./windows/libEXTENSION-NAME.windows.template_release.x86_32.dll"
1414
windows.debug.x86_64 = "./windows/libEXTENSION-NAME.windows.template_debug.x86_64.dll"

0 commit comments

Comments
 (0)