App breaks when using distribution profile, works fine if I build with my profile. iOS

You must Login before you can answer or comment on any questions.

Application type: mobile Titanium SDK: 2.1.2 (08/24/12 14:46 ed7f777) Platform & version: iOS 4.2.1 + Device: iOS device (any) Host Operating System: OSX 10.7 Titanium Studio: Latest

I'm lost for where to look next. Code works perfectly when I use the emulator, and when I deploy to my personal device. If I use the distribution method VIA testflight or creating an IPA file with xcode the code doesn't work correctly. What could be going on here?

— asked 9 months ago by Tyler Presley
5 Comments
    • no error messages referenced
    • no details (code doesnt' work is insufficient)
    • Titanium Studio version has a numeric value (latest is relative to the post date)
    • xCode version missing

    Missing from your question are a number of important pieces of information. I suggest you take a look at the Using Questions and Answers article, specifically the Q&A Question Checklist. The missing information is critical to reproducing problems in a test environment and often indicates other factors that cause the undesirable outcome you are experiencing.

    — commented 9 months ago by Stephen Feather

  • As I said above: for the first 2.

    There are no errors. It just doesn't work. Like it just gives up. doesn't try, doesn't error, no log entries, no console output, doesn't do anything. What more would you like? I'm not asking you to debug my code. I'm asking what I should be looking at next.

    The instructions say to go to Help -> About which doesn't exist. Latest is the latest. On the Mac it's Titanium Studio > About Titanium Studio (Titanium Studio, build: 2.1.2.201208301612)

    XCode (Version 4.3.3 (4E3002))

    — commented 9 months ago by Tyler Presley

  • There are no errors. It just doesn't work. Like it just gives up. doesn't try, doesn't error, no log entries, no console output, doesn't do anything. What more would you like? I'm not asking you to debug my code. I'm asking what I should be looking at next.

    Certain areas. Since there's no indication of failure what do I look for If I can't get anything back?

    — commented 9 months ago by Tyler Presley

  • Show 2 more comments

2 Answers

Accepted Answer

Try to do the next:

Connect your device to the computer, open Xcode , Window menu -> Organizer. You should see your device listed here, in the right side. Click on console and try to see what the device is saying when the app starts, it should say why it dies.

Usually the app dies on device despite working on emulator when you are trying to access some resources not there yet. The device is slower than the simulator, so it takes time to create a webview for example. If you try to access the webview before it actually available sometimes it might crash, depending on how you coded the app :)

— answered 9 months ago by Dan Tamas
answer permalink
16 Comments
  • I'm also not sure that TiSDK 2.1.2 works with Xcode 4.3.1

    — commented 9 months ago by Dan Tamas

  • That's where I'm at now. There's no console output at all when it fails. I just got done marking every whitespace line with a numbered debug message. It stopped working without error after a conditional that makes use of regexes.

    — commented 9 months ago by Tyler Presley

  • Are you saying that 2.1.2 won't support the iphone 3g?

    — commented 9 months ago by Tyler Presley

  • Show 13 more comments

Use Xcode to get the crash log from the phone, symbolicate it, and post it here.

— answered 9 months ago by Shannon Hicks
answer permalink
1 Comment
  • Again. No console output, crash, or anything to suggest where or how it broke. I just does nothing when it reaches that point. Like it kicks it out and just says eh. Without saying eh.

    — commented 9 months ago by Tyler Presley

Your Answer

Think you can help? Login to answer this question!