Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

New Mobile SDK 1.4.0 broke Developer

Hi

Setting my project to Mobile SDK 1.4.0 creates unforeseen problems..

Basically, Ti Developer just does the normal build routine but but stop short of launching the iphone simulator.
The Launch button in Developer also becomes available again.

OS: Leopard
iphone SDK 3.1.3
Ti Developer 1.2.1
Mobile SDK 1.4.0

Bugs? Workarounds?

— asked July 28th 2010 by Peter Lum
  • 1.4.0
  • bugs
  • sdk
3 Comments
  • same here! Downloading now iOS SDK 4 to see if that helps

    — commented July 28th 2010 by x x
  • The release notes state this has been tested with OS 3.1.3. I'm running 3.1.2, so I'm going to download the 3.1.3 SDK. Unfortunately I cannot jump to iOS 4.0.1 right now since I don't have Snow Leopard. We'll see how 3.1.3 goes.

    — commented July 28th 2010 by Josh Dechant
  • Same problem:Ti Developer 1.2.1 // Ti Mobile SDK 1.4.0 // Iphone SDK 3.2… Simulator never opens, build stops after: "[INFO] iPhone SDK version: 3.2". It does work on the device (iPad) but with several bugs which does not happen with 1.3.0…

    — commented July 29th 2010 by Niko B

7 Answers

  • Same here,

    I would just add XCode Version 3.1.4 in my case. The last info line displayed in Titanium Developer before it blocks is "[INFO] iPhone SDK version: 3.1".

    Going back to Mobile SDK 1.3 make the iPhone emulator launch.

    Android emulator launch fine with Mobile SDK 1.4.0.

    — answered July 28th 2010 by clem chaz
    permalink
    0 Comments
  • Same issue. Here is the error in the build log.

    post-compile
    ** BUILD FAILED **
    
    The following build commands failed:
    Graphite:
        CompileC build/Graphite.build/Debug-iphonesimulator/Graphite.build/Objects-normal/i386/TiMapView.o /Users/macbookpro/Sites/GraphiteWellnessLLC/Graphite/trunk/Titanium/Mobile/Graphite/build/iphone/Classes/TiMapView.m normal i386 objective-c com.apple.compilers.gcc.4_0
    (1 failure)
    
    EXIT CODE WAS: 1
    
    Exception detected in script:
    Traceback (most recent call last):
      File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py", line 836, in main
        execute_xcode("iphonesimulator%s" % iphone_version,["GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s" % (log_id,sdk_version)],False)
      File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py", line 758, in execute_xcode
        output = run.run(args,False,False,o)
      File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/run.py", line 31, in run
        sys.exit(rc)
    SystemExit: 1
    
    — answered July 28th 2010 by Josh Dechant
    permalink
    0 Comments
  • And here is the specific error in TiMapView

    build/iphone/Classes/TiMapView.m: In function '-[TiMapView removeAnnotation:]':
    build/iphone/Classes/TiMapView.m:156: error: request for member 'title' in something not a structure or union
    build/iphone/Classes/TiMapView.m: In function '-[TiMapView selectAnnotation:]':
    build/iphone/Classes/TiMapView.m:235: error: request for member 'title' in something not a structure or union
    build/iphone/Classes/TiMapView.m: In function '-[TiMapView deselectAnnotation:]':
    build/iphone/Classes/TiMapView.m:260: error: request for member 'title' in something not a structure or union
    
    — answered July 28th 2010 by Josh Dechant
    permalink
    0 Comments
  • Do you guys found a solution ? I'm still getting errors at compilation :

    BUILD FAILED

    The following build commands failed:
    test2:
    CompileC build/test2.build/Debug-iphonesimulator/test2.build/Objects-normal/i386/TiMapView.o "/Users/bgp/Mobile Dev/Titanium/test2/build/iphone/Classes/TiMapView.m" normal i386 objective-c com.apple.compilers.gcc.4_0
    (1 failure)

    EXIT CODE WAS: 1

    Exception detected in script:
    Traceback (most recent call last):
    File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py", line 836, in main
    execute_xcode("iphonesimulator%s" % iphone_version,["GCC_PREPROCESSOR_DEFINITIONS=LOGID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s" % (log_id,sdk_version)],False)
    File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py", line 758, in execute_xcode
    output = run.run(args,False,False,o)
    File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/run.py", line 31, in run
    sys.exit(rc)
    SystemExit: 1

    I created a bright new app to test…
    I am running Xcode 3.1.4, do you think I need to upgrade to 3.2.3 ?

    I also tried to replace the logger.py as suggested in the blog and removing the iphone folder from the build folder didn't help either.

    One thing, I installed the app anyway on my iPhone with 4.0.1 and the install worked.. There must be something wrong with the simulator. Tell me guys if you still share the same problem or if you found a solution, thanks in advance ;)

    — answered July 29th 2010 by clem chaz
    permalink
    0 Comments
  • I think I found the solution, my OS iOS is 4.0.1 but Xcode 3.1.4 only support up to iOS 3.1.*… Downgrade iOS or upgrade Xcode should do the trick, I ll tell you.

    That's it, I upgraded to snow leopard and now everything is fine !

    — answered July 29th 2010 by clem chaz
    permalink
    0 Comments
  • So far, I managed to do a build and the iphone launches with a black screen and hung there…

    • OSX Snow Leopard
    • Ti Developer 1.2.1
    • Ti Mobile SDK 1.4.0
    • Iphone SDK 3.2 and 4
    • Latest xcode
    — answered July 29th 2010 by Peter Lum
    permalink
    0 Comments
  • It is working now.
    What changed? Latest xcode with 4.0.1 SDK

    — answered August 3rd 2010 by Peter Lum
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.