APPLE App Rejected :-(

Previous topic - Next topic

PaLe

sorry for My English...

I recently sent my first application to Apple, but it's been refused by a code 2.1 (Apps That crash Will Be Rejected - https://developer.apple.com/appstore/resources/approval/guidelines.html)
The application works fine on my iPhone 3G-4.2.1 (Xcode 3.2.6 with the specific devolopment-profile, GLB-SDK 9.033)

The program is very simple, less 400 commands even if it uses the 3D instructions (no textures, no lights), I did not use other special instructions, the only I/O operation is to save a file-scores with (PLATFORMINFO $ (DOCUMENTS ") )

In your opinion, may be due to some instructions / routines that I have inserted/not inserted in the code or some settings of Xcode?
Any ideas?



iTunesConnect message:
We found that your app crashed on iPhone 4 running iOS 4.3.3, which is not in compliance with the App Store Review Guidelines.

Your app crashed on both Wi-Fi and cellular networks upon launch.

spacefractal

Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Ian Price

Rejection is shit - even worse when you are rejected because the reviewer is an idiot. It can (and does) happen!

GLB will crash if trying to load a bad save file or a file that doesn't exist. Make sure you check it's available before trying to load it. If it doesn't exist, then create the save file.

Ensure that your arrays don't go out of bounds. That'll crash GLB too.

Dunno. Could be any number of reasons, but those are what I would check first.

Put error traps/messages out in your code to see if you can identify this error. And delete your SAVE data file and try running the app "clean"
I came. I saw. I played.

PaLe

TKS Ian,

Quote from: Ian Price on 2011-May-27
Rejection is shit - even worse when you are rejected because the reviewer is an idiot. It can (and does) happen!

GLB will crash if trying to load a bad save file or a file that doesn't exist. Make sure you check it's available before trying to load it. If it doesn't exist, then create the save file.
yes,the program check "IF DOESFILEEXIST(PLATFORMINFO$("DOCUMENTS")+"/myfile.txt")=FALSE

Quote
Ensure that your arrays don't go out of bounds. That'll crash GLB too.
I know...

Quote
Dunno. Could be any number of reasons, but those are what I would check first.

Put error traps/messages out in your code to see if you can identify this error. And delete your SAVE data file and try running the app "clean"

I'll do it. I deleted the app from iPhone each time before installation...

i also checked the .crash file in the library/logs/crashreporter/mobiledevice/.....myapp.crash but i didnt understand well the list of message...

PaLe

But I think that the main problem is in the settings of xcode.proj

ampos

Remove completly your xcode folder and do Not use glb beta. It creates something different in Xcode than previous versions.
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

Millerszone

#6
I sent an update today for "Hit the Deck Baseball" (iPhone), and I finally added "Just Pong" for the iPhone to the App Store.
We'll see if they get rejected.

Before sending to Apple, I had to make a couple of changes:
With the beta version of GLBasic, I had to use this at the start of the program:
http://www.glbasic.com/forum/index.php?topic=6309.msg50331#msg50331
Code (glbasic) Select

IF NOT DOESFILEEXIST(PLATFORMINFO$("DOCUMENTS")+"/settings.dat" )
   COPYFILE "Media/settings.dat", PLATFORMINFO$("DOCUMENTS")+"/settings.dat"
ENDIF


Also had to make this change:
http://www.glbasic.com/forum/index.php?topic=6328.msg50747#msg50747

Hardware: iMac 27", MacBook Air, PC 3.5Ghz Quad
Developing Tools: GLBasic SDK, Gideros Studio, PureBasic
Developing for: iOS, Android, Windows, OS X, webOS, HTML5

ampos

With  beta, any app sent to iTunes was automatically rejected by iTunes in just seconds as "Invalid Binary" and no email. So, I remove my xcode dir, compile with non-glb beta and it was accepted.
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

Millerszone

Quote from: ampos on 2011-May-28
With  beta, any app sent to iTunes was automatically rejected by iTunes in just seconds as "Invalid Binary" and no email. So, I remove my xcode dir, compile with non-glb beta and it was accepted.

I used Beta 9.104 and apps where accepted. Received emails "Waiting for Review"
Hardware: iMac 27", MacBook Air, PC 3.5Ghz Quad
Developing Tools: GLBasic SDK, Gideros Studio, PureBasic
Developing for: iOS, Android, Windows, OS X, webOS, HTML5

ampos

Quote from: Millerszone on 2011-May-28
Quote from: ampos on 2011-May-28
With  beta, any app sent to iTunes was automatically rejected by iTunes in just seconds as "Invalid Binary" and no email. So, I remove my xcode dir, compile with non-glb beta and it was accepted.

I used Beta 9.104 and apps where accepted. Received emails "Waiting for Review"

Well, so it was for me...
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

PaLe


Quote from: ampos on 2011-May-27
Remove completly your xcode folder and do Not use glb beta. It creates something different in Xcode than previous versions.
I remove xCode folder each time...
how to compile with non-glb beta ? ???

PaLe

Quote from: PaLe on 2011-May-28

Quote from: ampos on 2011-May-27
Remove completly your xcode folder and do Not use glb beta. It creates something different in Xcode than previous versions.
I remove xCode folder each time...
how to compile with non-glb beta ? ???
.. and
what version of Xcode-sdk do you use?
I found people with the same problem (Your app crashed on both Wi-Fi and cellular networks upon launch)

http://forum.unity3d.com/threads/83076-iOS-4.3-App-Rejected

msx

Just out of curiosity, did you use the NETWEBGET$ command?

PaLe

Quote from: msx on 2011-May-28
Just out of curiosity, did you use the NETWEBGET$ command?
no NET commands.... the game is simple...

GLB 9.033
Xcode 3.2.6 - iOS SDK 4.3 (Now i removed)

I Just optimized the code with only GETFILE/PUTFILE instead the INI-commands;
Now install Xcode 3.2.4 - iOS SDK 4.1 and i'll try again to submit the app.

For information APPLE-DEV has removed the link of SDK3... fortunally I kept the DMG  :)

Millerszone

From reading the Unity thread i believe XCode 4.2 will fix the problem which you can
download here:
https://developer.apple.com/devcenter/download.action?path=/ios/ios_sdk_4.2__final/xcode_3.2.5_and_ios_sdk_4.2_final.dmg

Before trying 4.2, I'll see if my apps get accepted with 4.3
Hardware: iMac 27", MacBook Air, PC 3.5Ghz Quad
Developing Tools: GLBasic SDK, Gideros Studio, PureBasic
Developing for: iOS, Android, Windows, OS X, webOS, HTML5