Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Having a weird issue with Xcode (Tier 2)

Author
Message
ManOfActionTM
13
Years of Service
User Offline
Joined: 16th May 2011
Location: Sahuarita, Arizona
Posted: 20th Jan 2013 04:34
I was having issues running my game on an iPhone 5 device, and while trying to fix this issue, I've changed several settings. Currently, the game starts to run, but then hits a breakpoint inside main.m

Considering main.m has like 5 lines to it, does anyone know what I did to cause this?
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 20th Jan 2013 04:59
First, what version of AppGameKit are you using?

Second, where did you get the template you started from?

Finally, can you show us some of the code that might be having the problem?

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
ManOfActionTM
13
Years of Service
User Offline
Joined: 16th May 2011
Location: Sahuarita, Arizona
Posted: 20th Jan 2013 05:03
1) 1.076

2) Used the template from 1.076, I had some issues with the armv7s that you posted about earlier, and have changed that setting to not compile for armv7s.

3)


the breakpoint is on 'int retVal...'

This happens as soon as the app starts.
ManOfActionTM
13
Years of Service
User Offline
Joined: 16th May 2011
Location: Sahuarita, Arizona
Posted: 20th Jan 2013 05:25
I'm pretty sure that this is a compiler setting issue within XCode, not an actual piece of code, as this was running last week (and is now on iTunes). I haven't done any code changes, only build setting changes.
ManOfActionTM
13
Years of Service
User Offline
Joined: 16th May 2011
Location: Sahuarita, Arizona
Posted: 20th Jan 2013 05:35
Okay, I think I solved it.

In trying to be thorough, I changed the following setting:

Main nib file base name (iPad): MainWindow-iPad

to

Main nib file base name (iPhone): MainWindow-iPhone

Changing it back to iPad made it work...not sure why
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 20th Jan 2013 16:19
The template that shipped with v1076 was NOT up to date.

Try starting with the template on the AGK Wiki Template page. Make sure to use the v1076 ones.

You should not have to edit any of the AppGameKit files.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master

Login to post a reply

Server time is: 2024-11-27 23:51:37
Your offset time is: 2024-11-27 23:51:37