diff options
| author | Ruslan Mustakov | 2017-09-04 20:10:03 +0700 |
|---|---|---|
| committer | Ruslan Mustakov | 2017-09-26 00:18:08 +0700 |
| commit | f5b3b24c22186f50b3e57fc162ef9790f288c704 (patch) | |
| tree | 7c828580f53b83a847fc676b6f1c70e3da7bec60 /modules/gdnative/include | |
| parent | 14b4ad931f54c73aff9021a1314943278295e602 (diff) | |
| download | godot-f5b3b24c22186f50b3e57fc162ef9790f288c704.tar.gz godot-f5b3b24c22186f50b3e57fc162ef9790f288c704.tar.zst godot-f5b3b24c22186f50b3e57fc162ef9790f288c704.zip | |
Enhance iOS export
- The export process now builds complete .ipa on macOS, instead of just
creating XCode project.
- The project includes Capabilities games usually require: Game Center,
Push Notifications, In-App Purchase.
- Icons and launch screens can be specified in export preset.
Diffstat (limited to 'modules/gdnative/include')
| -rw-r--r-- | modules/gdnative/include/gdnative/gdnative.h | 4 | ||||
| -rw-r--r-- | modules/gdnative/include/nativescript/godot_nativescript.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/gdnative/include/gdnative/gdnative.h b/modules/gdnative/include/gdnative/gdnative.h index 18d51daeb..19dd03063 100644 --- a/modules/gdnative/include/gdnative/gdnative.h +++ b/modules/gdnative/include/gdnative/gdnative.h @@ -49,8 +49,8 @@ extern "C" { #elif defined(__APPLE__) #include "TargetConditionals.h" #if TARGET_OS_IPHONE -#define GDCALLINGCONV -#define GDAPI +#define GDCALLINGCONV __attribute__((visibility("default"))) +#define GDAPI GDCALLINGCONV #elif TARGET_OS_MAC #define GDCALLINGCONV __attribute__((sysv_abi)) #define GDAPI GDCALLINGCONV diff --git a/modules/gdnative/include/nativescript/godot_nativescript.h b/modules/gdnative/include/nativescript/godot_nativescript.h index 96f213ead..5095b7a83 100644 --- a/modules/gdnative/include/nativescript/godot_nativescript.h +++ b/modules/gdnative/include/nativescript/godot_nativescript.h @@ -51,8 +51,8 @@ extern "C" { #elif defined(__APPLE__) #include "TargetConditionals.h" #if TARGET_OS_IPHONE -#define GDCALLINGCONV -#define GDAPI +#define GDCALLINGCONV __attribute__((visibility("default"))) +#define GDAPI GDCALLINGCONV #elif TARGET_OS_MAC #define GDCALLINGCONV __attribute__((sysv_abi)) #define GDAPI GDCALLINGCONV |
