Titanium Community Questions & Answer Archive

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

Can't compile with SDK from head.

I just compiled a sdk from head and named it 1.3.3 but I can't get a project to compile with it. 1.3.2 and pre work fine.

Here's the error I get:

[INFO] Compiling JavaScript...one moment
[INFO] No JavaScript errors detected.
[INFO] One moment, building ...
[INFO] Titanium SDK version: 1.3.3
[INFO] iPhone Device family: iphone
[INFO] iPhone SDK version: 3.1
[INFO] Performing full rebuild. This will take a little bit. Hold tight...
Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.3.3/iphone/builder.py", line 982, in <module>
main(sys.argv)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.3.3/iphone/builder.py", line 554, in main
compiler = Compiler(project_dir,appid,name,deploytype,xcode_build,devicefamily,iphone_version,True)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.3.3/iphone/compiler.py", line 134, in __init__
main_file.write(main_template)
IOError: [Errno 9] Bad file descriptor
— asked June 27th 2010 by Sj Singh
  • build
  • compile
  • head
0 Comments

2 Answers

  • I tried compiling from xCode and this is the error i get:

    
    /Users/USERNAME/Documents/Titanium Apps/Nv****ktg/build/iphone/Classes/TiMapRouteAnnotation.m:18:0 /Users/USERNAME/Documents/Titanium Apps/Nv****ktg/build/iphone/Classes/TiMapRouteAnnotation.m:18: error: synthesized property 'region' must either be named the same as a compatible ivar or must explicitly name an ivar
    
    — answered June 27th 2010 by Sj Singh
    permalink
    0 Comments
  • Head is in progress commits and not guaranteed to build at any time. We try and keep it stable but it's in progress development. :)

    If head doesn't build or you have problems, wait a few moments or hours and pull and try again.

    — answered June 27th 2010 by Jeff Haynie
    permalink
    1 Comment
    • I just wanted to test this out: https://appcelerator.lighthouseapp.com/projects/32238/tickets/1120-generated-xcodeproj-missing-code_sign_entitlements-key#ticket-1120-9

      I notice you made some changes, i'll try again by pulling new changes.

      — commented June 27th 2010 by Sj Singh
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.