• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

iOS NSInvalidArgumentException Error on XCode 9.4.1

T

TunaY

Guest
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.
 

clee2005

Member
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.
 

clee2005

Member
menu: File - Preferences - Runtime feeds - Master. Then choose one of the Runtime 2.2.0.261 which is the one before the latest.
 

rmanthorp

GameMaker Staff
Admin
GameMaker Dev.
Hey, I can confirm this is already fixed and should be in the latest runtime update released yesterday. Thanks.
 
Top