Exception when running on IOS __PHYSFS_platformGrabMutex

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
xsw
Prole
Posts: 11
Joined: Sat Dec 31, 2016 8:26 am

Exception when running on IOS __PHYSFS_platformGrabMutex

Post by xsw » Sat Dec 31, 2016 8:44 am

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.

User avatar
slime
Solid Snayke
Posts: 2918
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Exception when running on IOS __PHYSFS_platformGrabMutex

Post by slime » Sat Dec 31, 2016 9:12 pm

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?

xsw
Prole
Posts: 11
Joined: Sat Dec 31, 2016 8:26 am

Re: Exception when running on IOS __PHYSFS_platformGrabMutex

Post by xsw » Sun Jan 01, 2017 9:07 am

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.

User avatar
logorrhea
Prole
Posts: 6
Joined: Wed Jan 13, 2016 8:37 pm

Re: Exception when running on IOS __PHYSFS_platformGrabMutex

Post by logorrhea » Wed Apr 19, 2017 8:08 pm

bump -- same error message here

edit: This happens even on the no game screen.

User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: Exception when running on IOS __PHYSFS_platformGrabMutex

Post by raidho36 » Wed Apr 19, 2017 8:17 pm

PhysFS is a separate project, you can ask them to fix this problem.

Use real device.

User avatar
logorrhea
Prole
Posts: 6
Joined: Wed Jan 13, 2016 8:37 pm

Re: Exception when running on IOS __PHYSFS_platformGrabMutex

Post by logorrhea » Wed Apr 19, 2017 9:02 pm

I'll file a bug with them, if you think this is unrelated to LÖVE.

"Use a real device", what a pain.

User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: Exception when running on IOS __PHYSFS_platformGrabMutex

Post by raidho36 » Wed Apr 19, 2017 9:11 pm

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.

User avatar
slime
Solid Snayke
Posts: 2918
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Exception when running on IOS __PHYSFS_platformGrabMutex

Post by slime » Wed Apr 19, 2017 9:43 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 46 guests