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 Simulator 4.0 not compatible

I just downloaded the new iphone sdk beta.
the iphone/ipad simulator version is 4.0 (211.1).
Appcelerator doesn't work with this version.

[INFO] One moment, building ...
[INFO] Performing full rebuild. This will take a little bit. Hold tight...
[INFO] Executing XCode build...
[INFO] Executing XCode Compiler [toggle output]
[INFO] Compile completed in 4.694 seconds
[ERROR] Build Failed. Please see output for more details

any ideas?

— asked June 14th 2010 by pedro enrique
1 Comment
  • why are you guys repeating yourselfs?

    — commented June 15th 2010 by pedro enrique

13 Answers

  • There is a patch; just a file replacement, as explain in http://developer.appcelerator.com/blog/2010/05/titanium-and-iphone-os-4.html

    — answered June 15th 2010 by Peter Lum
    permalink
    0 Comments
  • You need to install the OS 4 patch as explained at http://developer.appcelerator.com/blog/2010/05/titanium-and-iphone-os-4.html

    — answered June 15th 2010 by Michael Steuer
    permalink
    0 Comments
  • There is a patch; just a file replacement, as explain in http://developer.appcelerator.com/blog/2010/05/titanium-and-iphone-os-4.html

    — answered June 15th 2010 by Peter Lum
    permalink
    0 Comments
  • There is a patch; just a file replacement, as explain in http://developer.appcelerator.com/blog/2010/05/titanium-and-iphone-os-4.html

    — answered June 15th 2010 by Peter Lum
    permalink
    0 Comments
  • yeah, we get the point. But the patch doesn't always work.

    The only way I could get mine to work was to nuke titanium and trash both /Library/Application Support/Titanium and ~/Library/Application Support/Titanium then reinstall the application. And finally apply the patch and re-import my applications. Only then did it work.

    Need a bit of patience on this as its a big issue obviously.

    — answered June 15th 2010 by Chris Esler
    permalink
    0 Comments
  • yeah, we get the point. But the patch doesn't always work.

    The only way I could get mine to work was to nuke titanium and trash both /Library/Application Support/Titanium and ~/Library/Application Support/Titanium then reinstall the application. And finally apply the patch and re-import my applications. Only then did it work.

    Need a bit of patience on this as its a big issue obviously.

    — answered June 15th 2010 by Chris Esler
    permalink
    0 Comments
  • Still no luck. This is the last time that I install ANY beta software! the error is gone, but now instead of the iphone simulator, the ipad comes on (with the iphone window) blank.

    this is what I get

    in red:

    [ERROR] 2010-06-15 22:32:24.923 xcodebuild[91357:80b] Error loading /Developer/Library/Xcode/Plug-ins/ErlangXcode.xcplugin/Contents/MacOS/ErlangXcode: dlopen(/Developer/Library/Xcode/Plug-ins/ErlangXcode.xcplugin/Contents/MacOS/ErlangXcode, 265): no suitable image found. Did find:
    

    in green:

    /Developer/Library/Xcode/Plug-ins/ErlangXcode.xcplugin/Contents/MacOS/ErlangXcode: GC capability mismatch
    2010-06-15 22:32:24.923 xcodebuild[91357:80b] WARNING: Failed to load plugin at: /Developer/Library/Xcode/Plug-ins/ErlangXcode.xcplugin, skipping. Could not load bundle.
    2010-06-15 22:32:24.993 xcodebuild[91357:80b] WARNING: Failed to load plugin at: /Developer/Library/Xcode/Plug-ins/ErlangXcode.xcplugin, skipping. Could not load bundle.
    2010-06-15 22:32:24.993 xcodebuild[91357:80b] WARNING: Failed to load plugin at: /Developer/Library/Xcode/Plug-ins/ErlangXcode.xcplugin, skipping. Could not load bundle.
    2010-06-15 22:32:24.993 xcodebuild[91357:80b] WARNING: Failed to load plugin at: /Developer/Library/Xcode/Plug-ins/ErlangXcode.xcplugin, skipping. Could not load bundle.
    2010-06-15 22:32:24.364 aa[91355:207] Failed to load NSMainNibFile MainWindow_ipad.
    
    — answered June 16th 2010 by pedro enrique
    permalink
    2 Comments
    • Are you sure you have 4.0 selected in the settings of TI and not 3.2?

      — commented June 16th 2010 by Sj Singh
    • when 4.0 was selected it worked. you are right, my mistake, but I could find no way of making it run the actual device. I'm giving up on 4.0 for now. hopefully once 4.0 is released to the public, appcelerator will fix all this mess.

      — commented June 17th 2010 by pedro enrique
  • Fixed: remove iphone beta SDK completely, download current SDK release (not beta) reinstall and relaunch appcelerator. yeah, I gave up on SDK 4.0 I have no time to play around and fix something that someone else should fix.

    — answered June 17th 2010 by pedro enrique
    permalink
    0 Comments
  • I was stuck with the same issue for hours then i got the solution. Here is what worked for me:

    Copy your project directory.

    Now remove the project from Appcelerator and delete the source (make sure you did make a copy of your project directory first)

    Create a new project in Appcelerator with the same name and other credentials as the one you were trying to run

    Now open Finder and copy just the necessary files in the Resources folder from the Old Copy of your Project to the new one

    Make sure you edit tiapp.xml to reflect your settings in the new project

    Now hit launch for Run Emulator

    This worked for me. I did try nuking Titanium and its directories earlier so I did have a fresh copy on Appcelerator and also patched the LibTiCore.a file as mentioned in one of the other tutorial for the os4.0 compatibility.

    — answered June 28th 2010 by Ritesh Dalal
    permalink
    0 Comments
  • I was stuck with the same issue for hours then i got the solution. Here is what worked for me:

    Copy your project directory.

    Now remove the project from Appcelerator and delete the source (make sure you did make a copy of your project directory first)

    Create a new project in Appcelerator with the same name and other credentials as the one you were trying to run

    Now open Finder and copy just the necessary files in the Resources folder from the Old Copy of your Project to the new one

    Make sure you edit tiapp.xml to reflect your settings in the new project

    Now hit launch for Run Emulator

    This worked for me. I did try nuking Titanium and its directories earlier so I did have a fresh copy on Appcelerator and also patched the LibTiCore.a file as mentioned in one of the other tutorial for the os4.0 compatibility.

    — answered June 28th 2010 by Ritesh Dalal
    permalink
    0 Comments
  • I was stuck with the same issue for hours then i got the solution. Here is what worked for me:

    Copy your project directory.

    Now remove the project from Appcelerator and delete the source (make sure you did make a copy of your project directory first)

    Create a new project in Appcelerator with the same name and other credentials as the one you were trying to run

    Now open Finder and copy just the necessary files in the Resources folder from the Old Copy of your Project to the new one

    Make sure you edit tiapp.xml to reflect your settings in the new project

    Now hit launch for Run Emulator

    This worked for me. I did try nuking Titanium and its directories earlier so I did have a fresh copy on Appcelerator and also patched the LibTiCore.a file as mentioned in one of the other tutorial for the os4.0 compatibility.

    — answered June 28th 2010 by Ritesh Dalal
    permalink
    0 Comments
  • I have to ask the question - WTF with all of the patching and backdooring? Why can't the Titanium team have everything you need on one page with detailed instructions ready to go?

    I understand that if you've been using the Titanium app for a while and it works for you. Yippee. Get over yourselves and show some love to those that are just now entering the Appcelerator world when Apple has done a major upgrade, which I guess forces Titanium to do one. If the iPhone SDk isn't jiving with the Appcelereator SDK, THEN FREAKING SAY THAT AT THE VERY BEGINNING!! Don't make it sound all rosy that you can download this SDK, download that SDK and produce your first app shortly there after.

    It's frustrating as hell to down load an app that tells me one thing and then I have to go in an rename this, delete that, alter this and move something else just for the damn app to work.

    FIX IT and make it work so those of us that are new don't have to find a thread buried in your forum that says, "Oh yea, you need to do the following just so you can view the Kitchen Sink."

    If I am off the path, flame away. But if I am even close to be right, then do the right thing to do is acknowledge that there is a problem and fix it. Hell, maybe even do one of the fancy Vimeo videos showing a walk through showing the setup of the Titanium (which version) and the iPhone SDK (the correct version) and anything else that is needed just to get up off the ground.

    I'm like the rest of you - got a great idea that I want to see come to fruition in the Apple App Store, but cannot even get off the ground due to the emulator not working.

    Where did I go wrong?

    Thanks for your time,
    Tommy

    — answered July 25th 2010 by Tommy Neel
    permalink
    0 Comments
  • yeah, we get the point. But the patch doesn't always work.

    The only way I could get mine to work was to nuke titanium and trash both /Library/Application Support/Titanium and ~/Library/Application Support/Titanium then reinstall the application. And finally apply the patch and re-import my applications. Only then did it work.

    Need a bit of patience on this as its a big issue obviously.

    — answered June 15th 2010 by Chris Esler
    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.