diff --git a/SConstruct b/SConstruct index 6f1b222..07ce1c2 100644 --- a/SConstruct +++ b/SConstruct @@ -50,7 +50,7 @@ filepath = "" if env["platform"] == "macos" or env["platform"] == "ios": filepath = "{}.framework/".format(env["platform"]) - file = "{}.{}.{}".format(libname, env["platform"], env["target"]) + file = "{}{}".format(libname, env["suffix"]) libraryfile = "bin/{}/{}{}".format(env["platform"], filepath, file) library = env.SharedLibrary( diff --git a/bin/ios/ios.framework/Info.plist b/bin/ios/ios.framework/Info.plist index e53964f..aff0190 100644 --- a/bin/ios/ios.framework/Info.plist +++ b/bin/ios/ios.framework/Info.plist @@ -7,7 +7,7 @@ CFBundleDevelopmentRegion en CFBundleExecutable - libEXTENSION-NAME.macos.template_release + libEXTENSION-NAME.ios.template_release.universal CFBundleName Godot Template Cpp CFBundleDisplayName diff --git a/bin/macos/macos.framework/Resources/Info.plist b/bin/macos/macos.framework/Resources/Info.plist index 2397cb1..dc64f47 100644 --- a/bin/macos/macos.framework/Resources/Info.plist +++ b/bin/macos/macos.framework/Resources/Info.plist @@ -7,7 +7,7 @@ CFBundleDevelopmentRegion en CFBundleExecutable - libEXTENSION-NAME.macos.template_release + libEXTENSION-NAME.macos.template_release.universal CFBundleName Godot Cpp Template CFBundleDisplayName diff --git a/demo/bin/example.gdextension b/demo/bin/example.gdextension index 2d1afcf..8cb4bfa 100644 --- a/demo/bin/example.gdextension +++ b/demo/bin/example.gdextension @@ -5,10 +5,10 @@ compatibility_minimum = "4.1" [libraries] ; Relative paths ensure that our GDExtension can be placed anywhere in the project directory. -macos.debug = "./macos/macos.framework/libEXTENSION-NAME.macos.template_debug" -macos.release = "./macos/macos.framework/libEXTENSION-NAME.macos.template_release" -ios.debug = "./ios/ios.framework/libEXTENSION-NAME.ios.template_debug" -ios.release = "./ios/ios.framework/libEXTENSION-NAME.ios.template_release" +macos.debug = "./macos/macos.framework/libEXTENSION-NAME.macos.template_debug.universal" +macos.release = "./macos/macos.framework/libEXTENSION-NAME.macos.template_release.universal" +ios.debug = "./ios/ios.framework/libEXTENSION-NAME.ios.template_debug.universal" +ios.release = "./ios/ios.framework/libEXTENSION-NAME.ios.template_release.universal" windows.debug.x86_32 = "./windows/libEXTENSION-NAME.windows.template_debug.x86_32.dll" windows.release.x86_32 = "./windows/libEXTENSION-NAME.windows.template_release.x86_32.dll" windows.debug.x86_64 = "./windows/libEXTENSION-NAME.windows.template_debug.x86_64.dll"