OSX Export

Discussion in 'Technical Discussion' started by androiddevsd4u, Jan 6, 2016.

  1. androiddevsd4u

    androiddevsd4u Boxer

    Joined:
    Nov 24, 2015
    Messages:
    12
    Likes Received:
    3
    Hi there !

    I've trying to export my game in a osx version .

    The export is ok same for xcode import but when i'm trying to try the build on my mac this message appear

    "cocos2d::CCApplication::sharedApplication()->run()"

    [​IMG][/IMG] [​IMG]


    i've try to modify the shared zone in BB but nothing appened.

    Does someone already have this problem ?

    Thanks
     
    Last edited: Jan 6, 2016
  2. playsgames6666

    playsgames6666 Miniboss Boxer

    Joined:
    Nov 13, 2015
    Messages:
    1,168
    Likes Received:
    745
    Not 100% if this will work, but try adding this code
    [glView lockOpenGLContext];
    in front of
    "cocos2d::CCApplication::sharedApplication()->run()"
    so like this
    [glView lockOpenGLContext];
    "cocos2d::CCApplication::sharedApplication()->run()"

    let me know how it goes?
    Im just guessing your using Xcode 7
    and running new El Capitan
     
  3. androiddevsd4u

    androiddevsd4u Boxer

    Joined:
    Nov 24, 2015
    Messages:
    12
    Likes Received:
    3
    Thank you for your reply !

    using xcode 7 and el captain for people with same problem this answer fix the bug.

    Thank You Playsgames6666 !
     
    playsgames6666 likes this.
  4. playsgames6666

    playsgames6666 Miniboss Boxer

    Joined:
    Nov 13, 2015
    Messages:
    1,168
    Likes Received:
    745
    awesome news,
    glad i come in handy for something LOL
     
    ruhm64 likes this.
  5. androiddevsd4u

    androiddevsd4u Boxer

    Joined:
    Nov 24, 2015
    Messages:
    12
    Likes Received:
    3
    ;)
     
  6. ruhm64

    ruhm64 Avid Boxer

    Joined:
    Oct 11, 2015
    Messages:
    168
    Likes Received:
    47
    You always have good answers!
     
    playsgames6666 likes this.

Share This Page