The released application shows a blank screen, but not in the debugger

I have this application originally written for iOS 2.x. Recently, I needed to add a little feature and was forced to make this application that survived in many iOS updates without any problems compatible with iOS5. Only after testing and sending the application, I received reports from 300,000 users that the application does not work on the second-generation iPod Touch with iOS 4.2.1. I tested the first iPod touch iPod and everything went fine. Interestingly, now that I finally found the iPod with iPod, in debug mode on the device, the application works fine. Only when I sync AdHoc via iTunes do I get the same symptoms as those who downloaded the app through the App Store: UIImageView downloads the image, but after a few seconds the image just disappears, leaving me with a blank screen.

What is the best way to figure out where in the code everything goes wrong?

thanks for the help

UPDATE: I asked Apple to also help me here. This is still the corresponding part of correspondence:

"Typically, problems that appear only in the store or while browsing are caused by differences in how Xcode is configured to create your application in Debug vs Release (as well as the build configuration used to send to the repository).

To make sure that you are testing the exact assembly of the application that you submit to the App Store, you can create an archived assembly that you can test and submit. In Xcode 4, the product → Archive will archive the assembly of your application in the Organizer window.

" ..." IPA, "" Xcode IPA iTunes.

( FYI: "Share...". , iTunes, . Xcode , App Store. , iTunes , .) "

", , , " ", . NSLog , , , ​​ UIImageView .."

, , -, , :

, .

+3
3

, , UIImageView . , UIImage . NSLog() , , , , , . .

+1

. , NSManagedObjectContext. , , .

, , "Product- > Attach to Process" Xcode.

, - .

+1

: , ipa Product/Archive/Distribute/Ad Hoc . @CornPuff CoreData :

:

dbMethods * myDbMethods = [[dbMethods alloc] init];
aUser *local_db_user = [myDbMethods getTopRecord];

if (local_db_user != nil) {

    lbl_user_name.text = [NSString stringWithFormat:@"Welcome %@", local_db_user.user_name];

, - . Archive Welcome (null) . . NSManagedContextObject getTopRecord.

NSManagedObjectContext, myDb, , aUser; , , getTopRecordSafe

NSManagedObjectContext *myDb = [[[dbManager alloc] init] getManagedObjectContext];
dbMethods * myDbMethods = [[dbMethods alloc] init];
aUser *local_db_user = [myDbMethods getTopRecordSafe: myDb];

if (local_db_user != nil) {
    lbl_user_name.text = [NSString stringWithFormat:@"Welcome %@", local_db_user.user_name];

, (?), . Objective-C - , , C.

If anyone knows about the checkbox in Xcode or Jetbrain AppCode or any other iOS environment that says that create and run the same file that you will send to Apple here, in development, let us know.: - )

0
source

All Articles