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.
This commit is contained in:
Ruslan Mustakov
2017-09-04 20:10:03 +07:00
parent 14b4ad931f
commit f5b3b24c22
52 changed files with 589 additions and 265 deletions

View File

@@ -234,8 +234,11 @@ bool GDNative::initialize() {
ERR_PRINT("No library set for this platform");
return false;
}
#ifdef IPHONE_ENABLED
String path = lib_path.replace("res://", "dylibs/");
#else
String path = ProjectSettings::get_singleton()->globalize_path(lib_path);
#endif
Error err = OS::get_singleton()->open_dynamic_library(path, native_handle);
if (err != OK) {
return false;