PDA

View Full Version : [Resolved] App Rejected - Crashed but no log?




ArtOfWarfare
Jan 20, 2012, 09:36 PM
Hi, I submitted my first serious Mac App to the store just after paying the $100 fee yesterday. I was excited to get a message that it was in review, and then ten minutes later they gave me the verdict - rejected.

Reason? It crashes. Details? Absolutely none. They told me it crashed without a crash log. They gave me no info on the system it was tested on, they didn't tell me what accessories were hooked up (the app is for checking on attached peripherals,) they didn't tell me what they did prior to the crash - they didn't even tell me how they know it crashed (the app's UI is entirely contained in an NSStatusBar menu, it doesn't appear in the dock or Force Quit menu, so if you don't know what you're looking for, you could miss it.)

So... What now? How should I respond to Apple's rejection in the resolution center, if at all? Any suggestions for how I might change my app so it is accepted?

Oh, and another thing... How do I install my app to my own computer? Like, without having to hit the run button in Xcode?



seepel
Jan 20, 2012, 11:34 PM
That's a bummer about the rejection, not sure what to do about that. Did you include any DRM that might be causing the problem? Although that shouldn't crash the application per say. Did they give you any contact info?

As for installing you can go dig into the build folder that is stored I your Linrary directory and find you Application Bundle.

You can also click the share button on an archive and choose the option to share the Application Bundle.

You should also verify that the App Store installation works, you can find instructions here http://developer.apple.com/library/mac/ipad/#releasenotes/General/SubmittingToMacAppStore/_index.html

thundersteele
Jan 20, 2012, 11:39 PM
Oh, and another thing... How do I install my app to my own computer? Like, without having to hit the run button in Xcode?

Seriously? You are trying to put up an App for sale without testing it outside of Xcode?

Xcode is a bit mysterious when it comes to actually producing a .app. You have to Archive a current version (In the menu bar, click "Product", select "Archive"), then go to the Organizer, select "Archives", select the program and the most recent version, and click on "Share."
This allows you to save the App anywhere on your machine. I would also try to install it on a different machine, or maybe send it to a few friends for testing.

rossipoo
Jan 21, 2012, 06:19 PM
Wirelessly posted (Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.3)

It's a good idea to test as if the app were freshly installed by deleting all preferences, app support files, containers, etc., that the app uses.

ArtOfWarfare
Jan 23, 2012, 02:58 PM
I'm attempted to do the installer test via Terminal but I'm having issues (I have almost no experience with Terminal.)

Macintosh-85:~ Taylor$ sudo installer -store -pkg /Users/Taylor/Library/Developer/Xcode/Archives/2012-01-19/BatteryStatus\ 1-19-12\ 7.12\ PM.xcarchive/ -target /
Password:
installer: Can't load package "/Users/Taylor/Library/Developer/Xcode/Archives/2012-01-19/BatteryStatus 1-19-12 7.12 PM.xcarchive/": The requested URL was not found on this server.
Macintosh-85:~ Taylor$


I also attempted to duplicate the file and changed its name to just "BatteryStatus.pkg", based on some documentation saying that spaces weren't allowed and the extension had to be .pkg.

Edit: Okay, I had Xcode create a package from the archive by clicking on share in the organizer. Using the installer command from terminal worked. Trying to run the installed app, however, I get a window that says I need to log into the Mac App Store. When I enter my info, it tells me that it's not a test user account (which is correct, it's not, no where in the process was I told I needed to make one...)

what do I do now?

2X Edit: I removed some frameworks (security something or other and another framework with a funky name,) and a header/main that I'd thrown in my project because someone said that it'd prevent people form stealing my app, and that seems to have fixed the issue of the app asking for login information before launching...

I'm a little concerned about the possibility of people stealing my app, but, eh, I can't imagine that someone who has attempted to steal an app would actually decide to buy an app after it successfully blocked them from stealing it... it seems marginally more likely that if they like the app, they'll feel guilty about it and pay me for it later.

jiminaus
Jan 23, 2012, 03:04 PM
I also attempted to duplicate the file and changed its name to just "BatteryStatus.pkg", based on some documentation saying that spaces weren't allowed and the extension had to be .pkg.

I think your on the right track here. But just changing the extension is not going to do you any good. If I rename a .pages file to a .docx file, do I now have a Word document instead of a Pages document?

To get a .pkg file from an xcode archive: go into XCode's organize; go into Archives; choose your project; choose the archive version you want to export; click Share; choose Package.

ArtOfWarfare
Jan 23, 2012, 03:36 PM
I think your on the right track here. But just changing the extension is not going to do you any good. If I rename a .pages file to a .docx file, do I now have a Word document instead of a Pages document?

To get a .pkg file from an xcode archive: go into XCode's organize; go into Archives; choose your project; choose the archive version you want to export; click Share; choose Package.

No, but it seems that in programming that it's not uncommon for two files with totally different extensions to actually be the format. IE, a lot of data files are just plain text or xml files with app specific extensions. I thought maybe an .xcarchive was the same as a .pkg.

Anyways, you're correct about needing to click Share in the Organizer window of Xcode. I edited my prior post detailing results.

I've submitted the new version of the app to the app store... with any luck it'll be up soon (it only took 30 hours or so from when I submitted last time to when Apple rejected... if they have a turn around that quick again then they may just have a response to me by tomorrow evening, or wednesday morning...)

Edit: And now it's up and available on the store! Thank you everyone for all your help!