{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/b5df51dc914cbf4a68aff31536111d45?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b5df51dc914cbf4a68aff31536111d45","url":"https://api.github.com/users/hglattergotz-4es","login":"hglattergotz-4es","id":923165},"milestone":null,"labels":[],"updated_at":"2011-11-05T21:37:24Z","assignee":null,"comments":15,"closed_at":null,"url":"https://api.github.com/repos/DamageStudios/testflight-module/issues/8","body":"Xcode 3.2.5, Ti Mobile 1.7.3. Crashes in simulator after log message \"TestFlight: Team Token is recognized\".\r\nTested it on device and it has not yet crashed. This not working in the simulator makes development rather cumbersome.\r\n\r\nNot sure if this is truly caused by this module. I have been having issues with the 1.7.x SDK causing random crashes that result in exactly this stack trace.\r\n\r\n```javascript\r\nThread 4 Crashed:\r\n0   myapp             \t0x002633cb TiObjectSetProperty + 107 (APICast.h:75)\r\n1   myapp             \t0x00040685 -[KrollObject noteObject:forTiString:context:] + 357 (KrollObject.m:1304)\r\n2   myapp             \t0x0003cbbf KrollGetProperty + 833 (KrollObject.m:481)\r\n3   myapp             \t0x002663bf TI::TiCallbackObject<TI::TiObject>::getOwnPropertySlot(TI::TiExcState*, TI::Identifier const&, TI::PropertySlot&) + 467 (TiCallbackObjectFunctions.h:139)\r\n4   myapp             \t0x002444ba TI::TiValue::get(TI::TiExcState*, TI::Identifier const&, TI::PropertySlot&) const + 210 (TiObject.h:387)\r\n5   myapp             \t0x00241ab6 cti_op_get_by_id_generic + 86 (JITStubs.cpp:1094)\r\n6   ???           \t    0x0b5ec410 0 + 190759952\r\n7   myapp             \t0x001ff4c2 TI::Interpreter::execute(TI::ProgramExecutable*, TI::TiExcState*, TI::ScopeChainNode*, TI::TiObject*, TI::TiValue*) + 648 (JITCode.h:84)\r\n8   myapp             \t0x001ceef4 TI::evaluate(TI::TiExcState*, TI::ScopeChain&, TI::SourceCode const&, TI::TiValue) + 388 (Completion.cpp:67)\r\n9   myapp             \t0x00248cd9 TiEvalScript + 297 (TiBase.cpp:61)\r\n10  myapp             \t0x000324dc -[KrollBridge evalFileOnThread:context:] + 1470 (KrollBridge.mm:418)\r\n11  myapp             \t0x000351a2 -[KrollInvocation invoke:] + 118 (KrollContext.mm:97)\r\n12  myapp             \t0x00034419 -[KrollContext invokeOnThread:method:withObject:callback:selector:] + 187 (KrollContext.mm:896)\r\n13  myapp             \t0x0002fb59 -[KrollBridge evalFile:callback:selector:] + 97 (KrollBridge.mm:440)\r\n14  myapp             \t0x00031df4 -[KrollBridge didStartNewContext:] + 1902 (KrollBridge.mm:570)\r\n15  myapp             \t0x00036a73 -[KrollContext main] + 2445 (KrollContext.mm:1054)\r\n16  Foundation     \t    0x006aad4c -[NSThread main] + 81\r\n17  Foundation    \t    0x006aacd8 __NSThread__main__ + 1387\r\n18  libSystem.B.dylib  \t0x926c9259 _pthread_start + 345\r\n19  libSystem.B.dylib  \t0x926c90de thread_start + 34\r\n```","html_url":"https://github.com/DamageStudios/testflight-module/issues/8","title":"Works on device but crashes app in simulator","number":8,"id":2036434,"created_at":"2011-10-24T17:54:22Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/b5df51dc914cbf4a68aff31536111d45?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b5df51dc914cbf4a68aff31536111d45","url":"https://api.github.com/users/hglattergotz-4es","login":"hglattergotz-4es","id":923165},"updated_at":"2011-11-05T21:37:24Z","url":"https://api.github.com/repos/DamageStudios/testflight-module/issues/comments/2642602","body":"Brad,\n\nThanks for pointing this out. I did check the build log and found this as\nyou had predicted:\n\n** BUILD FAILED **\n\n\nThe following build commands failed:\nLd build/myApp.build/Release-iphoneos/myApp\n-universal.build/Objects-normal/armv6/myApp normal armv6\n(1 failure)\nEXIT CODE WAS: 65\n\nException detected in script:\nTraceback (most recent call last):\n  File \"/Library/Application\nSupport/Titanium/mobilesdk/osx/1.7.5/iphone/builder.py\", line 1441, in main\n    execute_xcode(\"iphoneos%s\" % iphone_version,args,False)\n  File \"/Library/Application\nSupport/Titanium/mobilesdk/osx/1.7.5/iphone/builder.py\", line 1140, in\nexecute_xcode\n    output = run.run(args,False,False,o)\n  File \"/Library/Application\nSupport/Titanium/mobilesdk/osx/1.7.5/iphone/run.py\", line 39, in run\n    sys.exit(rc)\nSystemExit: 65\n\nI will know in the future where to look for the logs.\n\nThis fixed the problem of the application build failing.\n\nThanks!!!!\n\nHenning\n\nOn Thu, Nov 3, 2011 at 6:03 PM, Brad Morris <\nreply@reply.github.com>wrote:\n\n> I think I have some insight into this. Just had the SystemExit: 65 error.\n> Turns out that when compiling against iOS 5, Apple no longer includes the\n> armv6 architecture, which is used by the iPhone 3G and previous devices. If\n> you take a look at the build log when you get this error\n> (build/iphone/build/build.log) you'll see an error like this towards the\n> bottom: \"file is universal but does not contain a(n) armv6 slice for\n> architecture armv6\". If that's the case you need to change the XCode\n> settings for this and the rest of your included modules.\n>\n> To do this, open up the XCode project for the module and open up the\n> 'testflight' target. Under Build Settings in the Architecture section,\n> it'll probably say \"Standard (armv7)\". Click that, go to Other, and add a\n> new architecture. Type in 'armv6'. Close down the project and run the\n> build.py script again and install that module. Should compile for ya.\n>\n> This is kind of a terse explanation, so if you need more detailed help,\n> just hit me up.\n>\n> ---\n> Reply to this email directly or view it on GitHub:\n>\n> https://github.com/DamageStudios/testflight-module/issues/8#issuecomment-2623863\n>","id":2642602,"created_at":"2011-11-05T21:37:24Z"}}