CocoonJS is only Universal?

Get help using Construct 2

Post » Fri May 16, 2014 7:21 pm

Hi guys, I'm having a problem submitting my app to Apple, they keep rejecting me because they think my app is universal, even though in Xcode I of course tacked iPhone as deployment type.

Am I missing something during the CocoonJS building process? Is there somewhere you have to tack to build for iPhone only? For example, Gamesalad has an option to export exclusively for a specific device type. But Gamesalad is crap, I love Construct 2! Does CocoonJS only create an Xcodeproj file as universal?

Any help is much appreciated! Thanks in advance ^^
B
19
S
5
G
2
Posts: 91
Reputation: 4,487

Post » Fri May 16, 2014 8:17 pm

Hi GTGJon,

I'm really glad you posted about this - I'm having exactly the same problem. In fact I actually got my first app rejected today because of precisely that issue.

I hope someone can give us some answers!
B
13
S
6
Posts: 130
Reputation: 1,553

Post » Fri May 16, 2014 8:44 pm

If I remember correctly you have to edit the config files instead of just using the menu options in Xcode. It's been awhile though so I may be wrong. Search the forums there should be a thread or two on it.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,573

Post » Sat May 17, 2014 11:23 am

@BluePhaze :

Thanks, but I already searched, and tried and tried for hours last night to get it to work, but seems its Universal on CocoonJS's part.

I think I will eventually write or make a youtube video tutorial on how to get a: capx --> CocoonJS process --> Creating specific Apple files --> AppStore

The process from Apple is nearly laughably ridiculous and complex, and I'm sure many newer developers will have no idea how to do this. Why is submitting to the Google PlayStore so easy? ^^
B
19
S
5
G
2
Posts: 91
Reputation: 4,487

Post » Sat May 17, 2014 11:28 am

GTGJon wrote:@BluePhaze :

Thanks, but I already searched, and tried and tried for hours last night to get it to work, but seems its Universal on CocoonJS's part.

I think I will eventually write or make a youtube video tutorial on how to get a: capx --> CocoonJS process --> Creating specific Apple files --> AppStore

The process from Apple is nearly laughably ridiculous and complex, and I'm sure many newer developers will have no idea how to do this. Why is submitting to the Google PlayStore so easy? ^^


Hi GTGJon,

I've also scoured the forum and drawn a blank. Have you managed to find any further information?

Also your exactly right about the submission process for Apple - the play store is a walk in the park by comparison. A tutorial would certainly make a lot of peoples lives easier!
B
13
S
6
Posts: 130
Reputation: 1,553

Post » Sat May 17, 2014 3:05 pm

All CocoonJS projects are universal, because of the "UIDeviceFamily" keys in the info.plist file.
There are two keys (0 and 1, if i remember right). The first key is for iPhone/iPod and the second one for iPad.
If you want an iPhone app, just delete the second value.

Hope that helps
B
12
S
5
G
1
Posts: 36
Reputation: 2,050

Post » Mon May 19, 2014 6:11 am

@reinhardius That is what I was trying to say, I couldn't remember which file it was, thanks!
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,573

Post » Mon May 19, 2014 3:34 pm

@TMAJA : check out reinhardius's answer

@reinhardius : Thanks! I will try this out tonight, hopefully it will fix the problem! ^^
B
19
S
5
G
2
Posts: 91
Reputation: 4,487

Post » Tue May 20, 2014 7:57 am

@TMAJA , @reinhardius , and @BluePhaze :

I did what reinhardius said and now its working as it should! Thanks a lot for the quick response and help! :D
B
19
S
5
G
2
Posts: 91
Reputation: 4,487

Post » Tue May 20, 2014 8:21 am

@GTGJon , @reinharduis , @BluePhaze

Yep, I can confirm my latest binary upload is showing for iPhones/iPod only. Thanks for the help everyone!
B
13
S
6
Posts: 130
Reputation: 1,553


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests