Author Topic: APPLE App Rejected :-(  (Read 11517 times)

Offline PaLe

  • Mr. Drawsprite
  • **
  • Posts: 58
    • View Profile
APPLE App Rejected :-(
« on: 2011-May-27 »
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.

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3611
    • View Profile
    • Space Fractal
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline Ian Price

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4144
  • On the shoulders of giants.
    • View Profile
    • My Apps
Re: APPLE App Rejected :-(
« Reply #2 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.

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.

Offline PaLe

  • Mr. Drawsprite
  • **
  • Posts: 58
    • View Profile
Re: APPLE App Rejected :-(
« Reply #3 on: 2011-May-27 »
TKS Ian,

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...

Offline PaLe

  • Mr. Drawsprite
  • **
  • Posts: 58
    • View Profile
Re: APPLE App Rejected :-(
« Reply #4 on: 2011-May-27 »
But I think that the main problem is in the settings of xcode.proj

Offline ampos

  • Prof. Inline
  • *****
  • Posts: 1594
    • View Profile
    • AMpostata Website
Re: APPLE App Rejected :-(
« Reply #5 on: 2011-May-27 »
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

Offline Millerszone

  • Dr. Type
  • ****
  • Posts: 307
  • www.smashedfly.com
    • View Profile
    • Smashed Fly
Re: APPLE App Rejected :-(
« Reply #6 on: 2011-May-28 »
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

« Last Edit: 2011-May-28 by Millerszone »
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

Offline ampos

  • Prof. Inline
  • *****
  • Posts: 1594
    • View Profile
    • AMpostata Website
Re: APPLE App Rejected :-(
« Reply #7 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.
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

Offline Millerszone

  • Dr. Type
  • ****
  • Posts: 307
  • www.smashedfly.com
    • View Profile
    • Smashed Fly
Re: APPLE App Rejected :-(
« Reply #8 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

Offline ampos

  • Prof. Inline
  • *****
  • Posts: 1594
    • View Profile
    • AMpostata Website
Re: APPLE App Rejected :-(
« Reply #9 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

Offline PaLe

  • Mr. Drawsprite
  • **
  • Posts: 58
    • View Profile
Re: APPLE App Rejected :-(
« Reply #10 on: 2011-May-28 »

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 ? ???

Offline PaLe

  • Mr. Drawsprite
  • **
  • Posts: 58
    • View Profile
Re: APPLE App Rejected :-(
« Reply #11 on: 2011-May-28 »

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

Offline msx

  • Prof. Inline
  • *****
  • Posts: 773
    • View Profile
Re: APPLE App Rejected :-(
« Reply #12 on: 2011-May-28 »
Just out of curiosity, did you use the NETWEBGET$ command?

Offline PaLe

  • Mr. Drawsprite
  • **
  • Posts: 58
    • View Profile
Re: APPLE App Rejected :-(
« Reply #13 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  :)

Offline Millerszone

  • Dr. Type
  • ****
  • Posts: 307
  • www.smashedfly.com
    • View Profile
    • Smashed Fly
Re: APPLE App Rejected :-(
« Reply #14 on: 2011-May-28 »
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