Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9740] iOS: Snow Leopard: build to device fails

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2012-06-25T11:09:08.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sRelease 2.1.0, Sprint 2012-13 Core
ComponentsiOS
Labelscore, qe-ios060112, regression
ReporterDustin Hyde
AssigneeNeeraj Gupta
Created2012-06-23T14:13:28.000+0000
Updated2012-06-28T13:45:17.000+0000

Description

Build to device fails on Snow Leopard with SDK 2.1. Steps to Reproduce: 1. Create a new Titanium project. 2. Run > iOS Device to build to device. Actual Result: Fail with console log. Expected Result: App should build.

Attachments

FileDateSize
build.log2012-06-23T14:13:28.000+0000170194
studio console log.txt2012-06-23T14:13:28.000+0000151265

Comments

  1. Max Stepanov 2012-06-23

    Sabil, I don't see any dependencies in titanium_prep above 10.6.
       $ nm titanium_prep 
                        U _CCCrypt
                        U _OBJC_CLASS_$_NSAutoreleasePool
                        U _OBJC_CLASS_$_NSData
                        U _OBJC_CLASS_$_NSFileHandle
                        U _OBJC_CLASS_$_NSMutableData
                        U _OBJC_CLASS_$_NSMutableString
                        U _OBJC_CLASS_$_NSString
                        U ___CFConstantStringClassReference
                        U ___error
                        U ___stack_chk_fail
                        U ___stack_chk_guard
                        U ___stderrp
       0000000100000000 A __mh_execute_header
                        U _close
                        U _exit
                        U _fwrite
                        U _objc_enumerationMutation
                        U _objc_msgSend
                        U _objc_msgSend_fixup
                        U _open
                        U _printf
                        U _putchar
                        U _puts
                        U _read
                        U dyld_stub_binder
       
    If you have access to 10.6.8 machine, you could check that titanium_pre is okay or not by just launching it (./support/iphone/titanium_prep) It seems to me the problem is in the folioing error message which points to python.
       AttributeError: 'module' object has no attribute 'check_output'
       
    @Dustin/Sabil, what python versions do you have ? ANd what is the minimal we support ?
  2. Max Stepanov 2012-06-23

    PR pending https://github.com/appcelerator/titanium_mobile/pull/2463
  3. Dustin Hyde 2012-06-28

    Closing as Fixed. SDK: 2.1.0.v20120627151616 Studio: 2.1.0.201206251749 OS: Snow Leopard w/Xcode 4.2 Devices Tested: iPod 4.3.5, iPhone4 5.0.1

JSON Source