Page 1 of 1

Exception when running on IOS __PHYSFS_platformGrabMutex

Posted: Sat Dec 31, 2016 8:44 am
by xsw
Hi,

I'm new to this forum, sorry if I'm asking a question that has been answered elsewhere (didn't find an answer). I'm an experienced developer, mainly from non-games development, though I did a lot of game programming in my youth.

I thought it would be fun to do an ios game now, and started out with swift. I stumbled across Löve, and have experimented with it a bit now, and really like it. It seems to be able to do what I need, and much more lightweight than swift+spritekit + supports more platforms :-).

However when I try to run on ios I always get the exception: __PHYSFS_platformGrabMutex (EXC_BAD_INSTRUCTION)

This is also when just running the app without my own code, and tapping the 'No game screen' app in the list. My own app gets the same exception.

I'm running Xcode 8.2.1, if that helps.

Is this a known issue, and is there an easy fix?

IOS support is very important to me, so I need it to work before I start spending significant time on this.

Thanx for your help.

Re: Exception when running on IOS __PHYSFS_platformGrabMutex

Posted: Sat Dec 31, 2016 9:12 pm
by slime
Are you running it on the iOS Simulator or an actual device? If the latter, which device?

Do you have an exception breakpoint enabled in Xcode? If so, does it run fine with that disabled?

Re: Exception when running on IOS __PHYSFS_platformGrabMutex

Posted: Sun Jan 01, 2017 9:07 am
by xsw
It was on iOS simulator, exception breakpoint not enabled.

I tested on a real device now, iphone 6, and that worked. So it's only something with running on the simulator. It would be nice to have simulator, but I can live without it if it reliably works on real devices.

Re: Exception when running on IOS __PHYSFS_platformGrabMutex

Posted: Wed Apr 19, 2017 8:08 pm
by logorrhea
bump -- same error message here

edit: This happens even on the no game screen.

Re: Exception when running on IOS __PHYSFS_platformGrabMutex

Posted: Wed Apr 19, 2017 8:17 pm
by raidho36
PhysFS is a separate project, you can ask them to fix this problem.

Use real device.

Re: Exception when running on IOS __PHYSFS_platformGrabMutex

Posted: Wed Apr 19, 2017 9:02 pm
by logorrhea
I'll file a bug with them, if you think this is unrelated to LÖVE.

"Use a real device", what a pain.

Re: Exception when running on IOS __PHYSFS_platformGrabMutex

Posted: Wed Apr 19, 2017 9:11 pm
by raidho36
Pretty sure you can test all sans touch input on PC, no emulator needed. And as for touch input, emulator on PC can't possibly replicate real device experience anyway.

Re: Exception when running on IOS __PHYSFS_platformGrabMutex

Posted: Wed Apr 19, 2017 9:43 pm
by slime
This may be an issue with love's bundled PhysFS being compiled using an older SDK than what love is compiled with, in which case it's on me to fix it, not the PhysFS developers.