Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
iOS questions — Gideros Forum

iOS questions

private_kennyprivate_kenny Member
edited April 2015 in Game & application design
Hi,

I have completed my game on Android. Now developing for iOS.
After exporting the game onto IOS, I opened my xcode to open the subsequent project file.
I was able to hear but unable to see the screen (black screen).

I made a check with my previous versions (working on iOS), I realise the following had changed.
- libgideros.a
- project.pbxproj
- IPHONEOS_DEPLOYMENT_TARGET = 5.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 5.1.1;
- ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ ARCHS = "$(ARCHS_STANDARD)";
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;


properties.bin



Comments

  • jdbcjdbc Member
    I guess you should use a clean export and integrate Ads or Facebook plugin later. It is not worth to know what have changed.
  • hgy29hgy29 Maintainer
    @private_kenny, most probably your project need a change in one of the .m files to cope with switch to GL2. A clean export should fix it.
  • I think the problem lies with the resolution. I previously used an older Gideros to build. Currently, with the same project settings, "Fix Width" + "Landscape Left" and the same Gideros Player settings, the image only took up 1/4 of the screen. I wonder that had to do with the application.

    And yes. I used a clean export from the current Gideros.
  • The version of the Gideros does matter.
    I downloaded 3 versions of Gideros.

    Gideros 2014.01
    Gideros 2014.10
    Gideros 2015.04.08

    Both Gideros 2014.10 and 2015.04 is able to export the iOS code. However it has a blank screen. However the Gideros player only shows 1/4 of the original size.

    I have been building my game on the 2014.01 version for Android. After exporting to iOS, the Xcode is unable to build.
    timeScope= luaL_checktimescope(L, 3);
    Error: Assigning to GKLeaderBoardTimeScope

    Any idea how to resolve?
    Any version will do. Now unable to export to xcode successfully after many attempts.
  • ar2rsawseenar2rsawseen Maintainer
    Hello @private_kenny
    need to understand what issue you are having, so what xcode version are you using, on which device you are trying, what ios version does the device have?

    To fix problem with gamekit, you can either remove it if you don't use it or apply this fix:

    https://github.com/gideros/giderosplugins/commit/bbf029c78d2ebf5f888d6e91dca6e437a471eae1
  • XCode version is Version 6.2 (6C131e)

    Using the version of Gideros which I am able to port to android, after porting to IOS, i got some errors when porting.
    Even after applying the fix, I have these errrors:
    Undefined symbols for architecture x86_64:
    "GReferenced::unref()", referenced from:
    destruct(lua_State*) in gamekit.o
    destruct(lua_State*) in iad.o
    destruct(lua_State*) in storekit.o
    "GEventDispatcherProxy::GEventDispatcherProxy(GProxy::GType)", referenced from:
    GGameKit::GGameKit(lua_State*) in gamekit.o
    Banner::Banner(lua_State*, int, int) in iad.o
    StoreKit::StoreKit(lua_State*) in storekit.o
    "GEventDispatcherProxy::~GEventDispatcherProxy()", referenced from:
    GGameKit::GGameKit(lua_State*) in gamekit.o
    GGameKit::~GGameKit() in gamekit.o


    How do I remove gamekit?
    I do not need gamekit
  • ar2rsawseenar2rsawseen Maintainer
    Accepted Answer
    Ah, I forgot that previous Gideros did not have ios 64 binaries, so the oldest version you can use is
    https://github.com/gideros/gideros/releases/tag/2015.03.05
  • Ah.. This version works fine.

    I repost another question I have on another thread.

Sign In or Register to comment.