Titanium Community Questions & Answer Archive

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

iPhone sdk 4.1 and Titanium

I have only the iPhone 4.1 sdk installed on my Snow Leopard install, and importing the kitchen sink makes it hang when I try the emulator.

I've read on here about deleting the iphone/build directory, doesnt work.

I cant use the 1.4 version of Titanium, that hangs on looking for a custom font.

The earlier one (I dont have my machine here at the moment) seems like it compiles further, but then it starts saying files are missing, something along the lines of /Classes/SomethingSomething (again, I dont have it here at the moment).

Ideas? Anyone going to respond?

— asked September 9th 2010 by Josh Lewis
  • 4.1
  • iphone
  • sdk
0 Comments

3 Answers

  • Accepted Answer

    I'm using osx 10.6.4 and I don't think it will make any difference. What is the version of Titanium sdk?

    I would try deleting all the folders/files under build/iPhone directory. The custom font issue is also resolved by doing the above.

    — answered September 9th 2010 by Sravan Vinjamuri
    permalink
    1 Comment
    • The sdk is 1.4 (I believe that is what is prompted to downloaded after initially installing).

      If I leave it as the 1.4, then it hangs on the custom font (removing that directory didnt do anything), if I change it to the previous build, then it goes further, and tells me I have missing files. I cloned the github source so everything should be there.

      Also, it does this using the 3.2 (auto installed with Snow Leopard) and also the 4.1 ios sdk.

      — commented September 9th 2010 by Josh Lewis
  • Hi,

    I have upgraded iOS sdk to 4.1 and using Titanium sdk 1.4.0 without any issue. Kitchen sink and other apps are working absolutely fine. The only thing is I get weird debug messages on the console when I run the app. A ticket is already logged in appcelerator light house regarding this. Except this, everything else seems to work fine.

    Here is the console output:

    Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
    mmap$UNIX2003 called from function _Z20TCMalloc_SystemAllocmPmm in image RevOnline.Ordering.
    Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
    pthread_cond_init$UNIX2003 called from function _ZN3WTI17TCMalloc_PageHeap4initEv in image RevOnline.Ordering.
    Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
    pthread_cond_wait$UNIX2003 called from function _ZN3WTI17TCMalloc_PageHeap15scavengerThreadEv in image RevOnline.Ordering.
    Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
    mprotect$UNIX2003 called from function _ZN2TI3JIT35privateCompileCTIMachineTrampolinesEPN3WTI6RefPtrINS_14ExecutablePoolEEEPNS_12TiGlobalDataEPNS_21MacroAssemblerCodePtrES9_S9S9 in image RevOnline.Ordering.
    Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
    munmap$UNIX2003 called from function _ZN2TI14ExecutablePool13systemReleaseERKNS0_10AllocationE in image RevOnline.Ordering.

    — answered September 9th 2010 by Sravan Vinjamuri
    permalink
    2 Comments
    • Hmm, any suggestions as what I can be doing wrong? I have Snow Leopard 10.6.3, iOS sdk 4.1 (installed yesterday), latest Titanium (it did the auto-update after I installed), and it flakes on me.

      Is there any patching or anything I need to do to get this to work?

      — commented September 9th 2010 by Josh Lewis
    • I am getting same error but the actuall APP will craash :( with 1.4.0 and 1.4.1 same results

      — commented September 10th 2010 by Petr Cervenka
  • Seems like reinstalling xcode AND removing the build worked. Thanks

    — answered September 10th 2010 by Josh Lewis
    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.