iOS NSInvalidArgumentException Error on XCode 9.4.1

Discussion in 'GameMaker Studio 2 Community Tech Support' started by TunaY, Dec 6, 2018.

Tags:
  1. TunaY

    TunaY Member

    Joined:
    Feb 24, 2018
    Posts:
    28
    Hi,

    I have been trying to solve this issue for days but couldn't managed to solve it.

    My game's android build is fine and running, but when I try to run it on iOS, I am getting the error below:

    Code:
    2018-12-06 21:10:14.986 RisingCoin[245:15567] Screen size is 640.000000,960.000000
    2018-12-06 21:10:15.075 RisingCoin[245:15567] -[RunnerViewController setNeedsUpdateOfScreenEdgesDeferringSystemGestures]: unrecognized selector sent to instance 0x175e0ed0
    2018-12-06 21:10:15.076 RisingCoin[245:15567] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[RunnerViewController setNeedsUpdateOfScreenEdgesDeferringSystemGestures]: unrecognized selector sent to instance 0x175e0ed0'
    *** First throw call stack:
    (0x2587f91b 0x2501ae17 0x258852b5 0x25882ee1 0x257ae238 0x2764bd 0x2a2aed2b 0x2a2b09d1 0x2a09c231 0x29e6f445 0x2a09b14b 0x2a0af83d 0x2a0987b3 0x26f22c07 0x26f22ab9 0x26f22db9 0x25841dff 0x258419ed 0x2583fd5b 0x2578f229 0x2578f015 0x29e68c3d 0x29e63189 0x3418cb 0x25437873)
    libc++abi.dylib: terminating with uncaught exception of type NSException
    (lldb) 
    Build succeeds, but when I try to run app on iPhone 4S via xCode, I got that error about Screen Edge Deferring.

    Game runs fine on iPhone SE and iPad 9.7 6th gen. But crashes on iPhone 4S, 5S and 6S.

    It seems like an engine-level issue. I hope we can solve that.

    Thanks in advance.
     
  2. clee2005

    clee2005 Member

    Joined:
    Jun 25, 2016
    Posts:
    171
    Yes, I can confirm this error as well on Runtime 2.2.1 and iOS 9.3.1. I rolled back to 2.2.0.261 and was able to build without this error.

    I'll log a ticket.
     
  3. Ernesto Romero

    Ernesto Romero Member

    Joined:
    May 12, 2017
    Posts:
    35
    Podría decirme cómo puedo regresar a una versión anterior?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice