9 Replies Latest reply: Oct 9, 2012 12:53 PM by MarionMck
MarionMck Level 1 Level 1 (0 points)

I am running my app in debug mode with XCode 4.3.3 and it runs fine on an iPhone 4S running iOS 5.1.1.  For what it's worth, it also runs fine under the simulator and on an iPad also running 5.1.1

 

If I try to run it on an iPhone 3GS with exactly the same iOS version, it crashes without anything helpful on the console.  The 3GS phone has more memory than the 4S.

 

Any ideas on what is different between the models running the same iOS version which could be causing the problem?

  • 1. Re: my app runs on 4S but not on 3GS on iOS5
    Michael Superczynski Level 5 Level 5 (7,445 points)

    What about the crash log?

    What are the Console messages?

  • 2. Re: my app runs on 4S but not on 3GS on iOS5
    MarionMck Level 1 Level 1 (0 points)

    I didn't see a crash log - sorry, I don't have the actual phone to hand now, it was borrowed from a friend for a quick test(!). The console messages are as pasted below.  The first reference to my app is at 16:21:45 but then it says the app is reloaded?  The TDKOnline messages at the end of the log are some debug texts which are output from th screen the app was one when it disappeared and they are the last lines in the console.

     

     

     

    Oct  7 16:21:02 unknown lockdownd[26] <Notice>: 017b9000 copy_meid: MobileGestalt failed to provide an MEID but returned no error (?)

    >

    Oct  7 16:21:03 unknown DTFetchSymbols[1952] <Notice>: Found paths:

    Oct  7 16:21:03 unknown DTFetchSymbols[1952] <Notice>: /usr/lib/dyld

    Oct  7 16:21:03 unknown DTFetchSymbols[1952] <Notice>: /System/Library/Caches/com.apple.dyld/dyld_shared_cache_armv7

    Oct  7 16:21:03 unknown DTFetchSymbols[1952] <Notice>: /Developer/usr/lib/CFDataFormatters.dylib

    Oct  7 16:21:03 unknown DTFetchSymbols[1952] <Notice>: /Developer/usr/lib/libdebugnub.dylib

    Oct  7 16:21:03 unknown DTFetchSymbols[1952] <Notice>: /Developer/usr/lib/libXcodeDebuggerSupport.dylib

    Oct  7 16:21:03 unknown DTFetchSymbols[1952] <Notice>: /Developer/Library/PrivateFrameworks/GPUTools.framework/libglInterpose.dylib

    Oct  7 16:21:03 unknown DTFetchSymbols[1952] <Notice>: /Developer/Library/PrivateFrameworks/GPUToolsCore.framework/GPUToolsCore

    Oct  7 16:21:03 unknown DTFetchSymbols[1952] <Notice>: /Developer/Library/PrivateFrameworks/DevToolsBundleInjection.framework/DevTools BundleInjection

    Oct  7 16:21:03 unknown DTFetchSymbols[1952] <Notice>: /Developer/Library/Frameworks/SenTestingKit.framework/SenTestingKit

    Oct  7 16:21:03 unknown wifid[1844] <Error>: WiFi:[371316063.894509]: Client itunesstored is background application

    Oct  7 16:21:04 unknown CommCenter[57] <Notice>: No more assertions for PDP context 0.  Returning it back to normal.

    Oct  7 16:21:04 unknown CommCenter[57] <Notice>: Scheduling PDP tear down timer for (371316364.119409) (current time == 371316064.119422)

    >

    Oct  7 16:21:04 unknown apsd[50] <Warning>: <APSCourier: 0x162bd0>: Stream error occurred for <APSTCPStream: 0x17ff30>: Error Domain=kCFErrorDomainCFNetwork Code=2 "The operation couldn’-t -b-e -c-o-m-p-l-e-t-e-d-. -(-k-C-F-E-r-r-o-r-D-o-m-a-i-n-C-F-N-e-t-w-o-r-k -e-r-r-o-r -2-.-)-" -U-s-e-r-I-n-f-o-=-0-x-1-7-d-5-5-0 -{-k-C-F-G-e-t-A-d-d-r-I-n-f-o-F-a-i-l-u-r-e-K-e-y-=-8-}

    Oct  7 16:21:04 unknown CommCenter[57] <Notice>: Client [com.apple.persistentconnection[apsd,50]] is telling PDP context 0 to go active.

    >

    Oct  7 16:21:05 unknown lockdownd[26] <Error>: libMobileGestalt computeUniqueDeviceID: total time for bb to return imei: 0

    > >

    Oct  7 16:21:09 unknown ptpd[1935] <Notice>: PTP interface has been activated at high speed.

    > >

    Oct  7 16:21:45 unknown installd[1946] <Error>: libMobileGestalt computeUniqueDeviceID: total time for bb to return imei: 0

    Oct  7 16:21:45 unknown SpringBoard[1848] <Warning>: Killing com.andion.TKDOnline for termination assertion

    >

    Oct  7 16:21:56 unknown installd[1946] <Error>: libMobileGestalt computeUniqueDeviceID: total time for bb to return imei: 0

    Oct  7 16:21:56 unknown SpringBoard[1848] <Warning>: Reloading application state for 'com.andion.TKDOnline' as its modification date or path has changed

    Oct  7 16:21:56 unknown SpringBoard[1848] <Warning>: Reloading and rendering all application icons.

    >

    Oct  7 16:21:58 unknown CommCenter[57] <Notice>: No more assertions for PDP context 0.  Returning it back to normal.

    Oct  7 16:21:58 unknown CommCenter[57] <Notice>: Scheduling PDP tear down timer for (371316418.273869) (current time == 371316118.273881)

    Oct  7 16:21:58 unknown com.apple.debugserver-64[1969] <Warning>: debugserver-64 for armv6 Copyright (c) 2007-2009 Apple, Inc.  All Rights Reserved.

    Oct  7 16:21:58 unknown com.apple.debugserver-64[1969] <Warning>: Connecting to com.apple.debugserver service...

    Oct  7 16:21:58 unknown SpringBoard[1848] <Notice>: Posting 'com.apple.iokit.hid.displayStatus' notifyState=0

    Oct  7 16:21:58 unknown UserEventAgent[12] <Warning>: DEBUG: Changing screen blanked state: 1

    Oct  7 16:21:58 unknown SpringBoard[1848] <Notice>: MultitouchHID: detection mode: 0->255

    Oct  7 16:21:58 unknown kernel[0] <Debug>: lockbot[1937] Builtin profile: debugserver (sandbox)

    Oct  7 16:21:58 unknown SpringBoard[1848] <Notice>: Posting 'com.apple.iokit.hid.displayStatus' notifyState=1

    Oct  7 16:21:59 unknown UserEventAgent[12] <Warning>: DEBUG: Changing screen blanked state: 0

    Oct  7 16:21:59 unknown SpringBoard[1848] <Notice>: MultitouchHID: detection mode: 255->0 (deferring until bootloaded)

    >

    Oct  7 16:21:59 unknown SpringBoard[1848] <Notice>: MultitouchHID: device bootloaded

    Oct  7 16:21:59 unknown SpringBoard[1848] <Notice>: MultitouchHID: detection mode: 0->0

    Oct  7 16:21:59 unknown apsd[50] <Warning>: <APSCourier: 0x162bd0>: Stream error occurred for <APSTCPStream: 0x183600>: Error Domain=kCFErrorDomainCFNetwork Code=2 "The operation couldn’-t -b-e -c-o-m-p-l-e-t-e-d-. -(-k-C-F-E-r-r-o-r-D-o-m-a-i-n-C-F-N-e-t-w-o-r-k -e-r-r-o-r -2-.-)-" -U-s-e-r-I-n-f-o-=-0-x-1-8-0-6-c-0 -{-k-C-F-G-e-t-A-d-d-r-I-n-f-o-F-a-i-l-u-r-e-K-e-y-=-8-}

    Oct  7 16:21:59 unknown CommCenter[57] <Notice>: Client [com.apple.persistentconnection[apsd,50]] is telling PDP context 0 to go active.

    Oct  7 16:21:59 unknown CommCenter[57] <Notice>: No more assertions for PDP context 0.  Returning it back to normal.

    Oct  7 16:21:59 unknown CommCenter[57] <Notice>: Scheduling PDP tear down timer for (371316419.539754) (current time == 371316119.539767)

    Oct  7 16:21:59 unknown apsd[50] <Warning>: <APSCourier: 0x162bd0>: Stream error occurred for <APSTCPStream: 0x187c10>: Error Domain=kCFErrorDomainCFNetwork Code=2 "The operation couldn’-t -b-e -c-o-m-p-l-e-t-e-d-. -(-k-C-F-E-r-r-o-r-D-o-m-a-i-n-C-F-N-e-t-w-o-r-k -e-r-r-o-r -2-.-)-" -U-s-e-r-I-n-f-o-=-0-x-1-8-6-a-2-0 -{-k-C-F-G-e-t-A-d-d-r-I-n-f-o-F-a-i-l-u-r-e-K-e-y-=-8-}

    Oct  7 16:21:59 unknown CommCenter[57] <Notice>: Client [com.apple.persistentconnection[apsd,50]] is telling PDP context 0 to go active.

    Oct  7 16:21:59 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.andion.TKDOnline[0x2782]) Spawned and waiting for the debugger to attach before continuing...

    Oct  7 16:21:59 unknown kernel[0] <Debug>: launchd[1973] Builtin profile: container (sandbox)

    Oct  7 16:21:59 unknown kernel[0] <Debug>: launchd[1973] Container: /private/var/mobile/Applications/C3393ABB-0DC3-4715-8D20-9AD891522D55 [69] (sandbox)

    Oct  7 16:22:00 unknown com.apple.debugserver-64[1969] <Warning>: Got a connection, waiting for debugger instructions for task "(null)".

    >

    Oct  7 16:22:07 unknown TKDOnline[1973] <Warning>: width = 60.000000, height = 20.000000

    Oct  7 16:22:07 unknown TKDOnline[1973] <Warning>: space = 80.000000

    Oct  7 16:22:07 unknown TKDOnline[1973] <Warning>: width = 107.000000, height = 15.000000

    >

    Oct  7 16:22:13 unknown TKDOnline[1973] <Warning>: width = 60.000000, height = 20.000000

    Oct  7 16:22:13 unknown TKDOnline[1973] <Warning>: space = 80.000000

    Oct  7 16:22:13 unknown TKDOnline[1973] <Warning>: width = 107.000000, height = 15.000000

  • 3. Re: my app runs on 4S but not on 3GS on iOS5
    Michael Superczynski Level 5 Level 5 (7,445 points)

    Are you using any 3rd party development tools, Unity, Mono, etc.?

  • 4. Re: my app runs on 4S but not on 3GS on iOS5
    MarionMck Level 1 Level 1 (0 points)

    No, nothing.

  • 5. Re: my app runs on 4S but not on 3GS on iOS5
    Michael Superczynski Level 5 Level 5 (7,445 points)

    Have you tried resetting the iPad?

    Rebooting the Mac?

  • 6. Re: my app runs on 4S but not on 3GS on iOS5
    MarionMck Level 1 Level 1 (0 points)

    I've tried loading the app from two different development machines (an iBook and a Mini) and have also rebooted the 3GS iPhone, and it's made no difference.

  • 7. Re: my app runs on 4S but not on 3GS on iOS5
    MarionMck Level 1 Level 1 (0 points)

    Sorry, just a thought... do I need to be worrying about the build option for the device capabilities?  It's currently set to armv7 as defaulted by XCode.

  • 8. Re: my app runs on 4S but not on 3GS on iOS5
    Michael Superczynski Level 5 Level 5 (7,445 points)

    Those should be ok.

    The 3GS and 4S are both ARM7 devices.

  • 9. Re: my app runs on 4S but not on 3GS on iOS5
    MarionMck Level 1 Level 1 (0 points)

    Shame, I thought perhaps that would be an easy solution!  Any other ideas?