Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
11/14/13 03:55 AM (12 years ago)

Error On This Line In Xcode?

I get this error on this line of code in Xcode, but not sure what I need to do to fix: int retVal= UIApplicationMain(argc,argv,@"UIApplication",@"mysounds0513v2_appDelegate"); Can anyone see or tell me what is wrong with this line of code. Basically, I go to launch the app in the simulator using iOS 6 simulator and It goes to launch then it crashes with an error on this line of code above. If I use iOS 7 simulator its fine and launches app. Any suggestion, will be appreciated.
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
11/14/13 05:51 AM (12 years ago)
Hmm... Is there a specific plugin that is causing this, or is it a Buzztouch file thingy.
 
farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
like
11/14/13 06:02 AM (12 years ago)
I ran it on http://jsonlint.com/ and it's coming with this error: Parse error on line 1: intretVal=UIApplicat ^ Expecting '{', '['
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
11/14/13 06:12 AM (12 years ago)
Hmm… you aren't the first to see this: https://www.buzztouch.com/forum/thread.php?tid=CC97EEAD1FF2D07246301E7&fid=06DB0BCB08E2222&sortColumn=FT.id&sortUpDown=&currentPage=23 It's just a guess, but I took a peek at a project I've built in iOS6, and the syntax is correct. So, if the syntax is right, the compiler might be wrong. Make sure your build target includes iOS6, or maybe even iOS5 if you have the SDK around… The only difference I see between my versions of Xcode is that my iOS6 build has in 'Build Settings > Valid Architectures' both armv7 and armv7s, and my iOS7 settings have armv7, armv7s and arm64. Sorry I can't be of much help on this one… Cheers! -- Smug
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
11/14/13 09:08 AM (12 years ago)
Sorry for the late reply to your advice. The issue is with the Stream Audio Plugin. However, when I install the app directly to my device , the app installs and launches with no issues, it seems to be only with iOS 6 & 6.1 simulator, that I cannot launch the app. Anyway thanks for the advice guys.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.