ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > iPhone Port > XCode 7 beta: ScummVM for everyone Goto page 1, 2  Next
XCode 7 beta: ScummVM for everyone
  Author    Thread Reply to topic
legueil



Joined: 23 Jun 2015
Posts: 9
XCode 7 beta: ScummVM for everyone 

With new XCode 7 beta everyone can install apps to their iDevices - even without developer account. But: is there a current version where the XCode project builds in the new beta? I tried some of the older versions where it was still included but with no luck ...

 Reply with quote  
Post Sun Jun 28, 2015 12:20 am 
 View user's profile Send private message
legueil



Joined: 23 Jun 2015
Posts: 9
 

It finally works. I used Version 1.3.0 which compiles without errors. Make sure to disable bitcode in the build settings.

 Reply with quote  
Post Fri Jul 03, 2015 9:58 am 
 View user's profile Send private message
sofakng



Joined: 26 Nov 2008
Posts: 31
 

Yes, ScummVM will launch on the device, but can you add games/folders?

I've previously tried this and if you weren't jailbroken then it simply crashed when it tried to browse the filesystem to add the games.

 Reply with quote  
Post Mon Jul 06, 2015 1:53 pm 
 View user's profile Send private message
legueil



Joined: 23 Jun 2015
Posts: 9
 

quote:
Originally posted by sofakng
Yes, ScummVM will launch on the device, but can you add games/folders?

I've previously tried this and if you weren't jailbroken then it simply crashed when it tried to browse the filesystem to add the games.


Yes, you can add games: Open the Devices window, click on the gear under "installed apps", select "download container". Right click that container in Finder, select "show content" an put the game folder inside the Documents folder of the contanier. Upload the container via the gear in Devices window, start "ScummVM" on your device and enjoy.

Don't know if there's a better way to accomplish this, but it works like a charm.
 Reply with quote  
Post Mon Jul 06, 2015 8:19 pm 
 View user's profile Send private message
sofakng



Joined: 26 Nov 2008
Posts: 31
 

Hmmm, that doesn't work for me. I've copied a game into the Documents folder (using iExplorer) but when I click the [Add Games] button it immediately crashes.

I see that you are using an older version though... (1.3.0)

I'm using the latest build from the buildbot server (but I signed everything and packaged it into an IPA file). As I mentioned, the application starts fine (the GUI is tiny though), but when I click Add Games, it immediately crashes. I think it's because it's trying to browse the root filesystem which is forbidden on non-jailbroken phones.

 Reply with quote  
Post Mon Jul 06, 2015 9:59 pm 
 View user's profile Send private message
legueil



Joined: 23 Jun 2015
Posts: 9
 

Hmmmm... I can't believe it crashes while browsing the file system. That works fine with me here. But I had some crashes with the unmodified code when holding the device in portrait mode. There's some issue when ScummVM tries to display the keyboard (which it does in portrait mode), so I commented out some lines in iphone_keyboard.m

The keyboard has no effect now, but I don't need it for MI3. Everything works, unjailbroken.

 Reply with quote  
Post Tue Jul 07, 2015 6:28 am 
 View user's profile Send private message
sofakng



Joined: 26 Nov 2008
Posts: 31
 

Sorry for so many questions, but where did you get the 1.3.0 source? Github only goes back to 1.4.0 it looks like. Also, what lines did you comment out?

I'm trying to get the latest (1.8.0-git) to compile but it requires iOS SDK 3.1.2. I'm trying to get that working or maybe I will try to remove the obsolete calls and upgrade it to SDK 8.4.

 Reply with quote  
Post Tue Jul 07, 2015 11:59 am 
 View user's profile Send private message
legueil



Joined: 23 Jun 2015
Posts: 9
 

I used this one here:
https://github.com/scummvm/scummvm/releases/tag/closed%2Fbranch-1-3

In /backends/platform/iphone/iphone_keyboard.m I commented out these lines with two slashes:

code:
    //[[self textInputTraits] setAutocorrectionType:(UITextAutocorrectionType)1];
    //[[self textInputTraits] setAutocapitalizationType:(UITextAutocapitalizationType)0];
    //[[self textInputTraits] setEnablesReturnKeyAutomatically:NO];




As I said, this disables text input, but if you can live with that, try it out.
 Reply with quote  
Post Tue Jul 07, 2015 12:32 pm 
 View user's profile Send private message
sofakng



Joined: 26 Nov 2008
Posts: 31
 

I'll give that a try. Thanks much!

EDIT: Hmmm, I'm using v1.3.0 and the xcodeproj inside the dists/iphone folder, but when compiling it says it can't find .../gui/editable.cpp.

I've also made progress on compiling v1.8.0 from Git, but I can't seem to compile the ARM assembly (codec47ARM.s).

 Reply with quote  
Post Tue Jul 07, 2015 12:39 pm 
 View user's profile Send private message
legueil



Joined: 23 Jun 2015
Posts: 9
 

I tried so many branches, I can't remember missing any files in this one Smile But just delete them from "Build phases" tab (Compile Sources) when missing file errors pop up while building. Should be very few, but as I said - it works! It's worth the effort.

 Reply with quote  
Post Tue Jul 07, 2015 2:21 pm 
 View user's profile Send private message
sofakng



Joined: 26 Nov 2008
Posts: 31
 

Would it be possible to upload the IPA somewhere and I can resign it?

 Reply with quote  
Post Tue Jul 07, 2015 3:02 pm 
 View user's profile Send private message
legueil



Joined: 23 Jun 2015
Posts: 9
 

Building without a developer account just creates an .app-file, no .ipa. Does that help?

EDIT: Already tried this one? http://www.mediafire.com/download/hj1asawfppwv1oj/ScummVM_1.5.0git.ipa


Last edited by legueil on Tue Jul 07, 2015 3:18 pm; edited 1 time in total

 Reply with quote  
Post Tue Jul 07, 2015 3:13 pm 
 View user's profile Send private message
sofakng



Joined: 26 Nov 2008
Posts: 31
 

Yeah, that would work too. I can package it into an IPA and sign it with my developer certificate.

Thanks!

 Reply with quote  
Post Tue Jul 07, 2015 3:14 pm 
 View user's profile Send private message
legueil



Joined: 23 Jun 2015
Posts: 9
 

Edited my last post too late ... Already tried this one from the 1.5.0 branch?
http://www.mediafire.com/download/hj1asawfppwv1oj/ScummVM_1.5.0git.ipa

Tell me if it doesn't work, then I will PM you ...

 Reply with quote  
Post Tue Jul 07, 2015 3:19 pm 
 View user's profile Send private message
sofakng



Joined: 26 Nov 2008
Posts: 31
 

That one works! Thanks so much!

Well, I don't have any games to add from my work machine, but when I click [Add Games] it doesn't crash! The resolution also looks good and the GUI isn't tiny like 1.7.0.

I'm still working on compiling 1.8.0 too... Everything seems to compile fine except for the ARM assembly files which I can't quite figure out how to compile correctly.

Thanks again!

 Reply with quote  
Post Tue Jul 07, 2015 3:29 pm 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 
Goto page 1, 2  Next


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge