Problem Launching iPhone simulator

Hi,
I am using the iphone simulator 3.1 with Xcode 3.1.4. When I installed the Iphone Simulator It worked extremely well. But after building 2 to 3 project it started giving me the error "error from Debugger: Failed to launch simulated application: Iphone Simulator failed to find process ID of com.yourcompany.Hello-world". I thought there might be the problem with the code but when checked thoroughly I found out this problem is with the simulator because the other project was also giving the same error. In the Xcode the projects were building without any error but when the code is build with simulator it was giving this error.
I reinstalled the Xcode and the simulator but still it was giving same error
Please help me out
Regards SACHIN

You would be best posting this in the Development Forums - this is for Technical Support on released software.

Similar Messages

  • Only MainView is localized on iPhone Simulator

    Hello together,
    I have made up an App on iPhone Simulator, it uses the navigation tamplate and has 5 Views: MainView, RootView, and 3 detail Views. I have added localisation as usual, using Localizable.strings and making localized .xibs. So the App has now two languages. I set the language on the iPhone Simulator to German (the second Language), the system is in German (e.g. carrier). But the App Is only partly, that means, only the standart words (like delete in a TableView I have no Influence on) and the "Bar Button Item - Main" in the MainView. But this is not enough. I changed a word on a button in a English .xib, I saw the change in Interface Builder, but not on the simulator. I move the buttons around. Nothing on the simulator. I tried everything, I reseted the simulator, restarted it, but it did not help, the simulator keeps the old version. So I´m really confused, and think it´s a problem of the simulator, but I have no idea what it might be. Has anyone an advice?

    See the WWDC 2011 video 'Session 125 - Internationalizing Data on Mac and iPhone'.
    Are you saving changes in IB?
    Delete the app from the simulator, clean the build in Xcode and try again....better yet, test on a device.

  • How to play sound/text iphone app on a Mac computer at the iPhone simulator ?

    I'm wondering if there's a way to play an app that I downloaded in iTunes written for iOS 3.2 and higher which only involves text/images and sound (no fancy accelerometer etc) at the iPhone simulator which I run on my Mac computer.

    http://www.gadgettrak.com/products/iphone/
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

  • Interface Builder encountered an error communicating with the iPhone Simulator

    Hi,
    I downloaded the latest iOS SDK and tried simple helloworld program. Once I try to build it in the xcode, it shows the following 2 errors. I tried to re-install the SDK several times, and it doesn't work. 
    CompileXIB MainWindow.xib
    cd /Users/qingzhao/Desktop/ch1/HelloWorld
    setenv IBCMINIMUM_COMPATIBILITYVERSION 3.2
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/qingzhao/Desktop/ch1/HelloWorld/build/Debug-iphonesimulator/HelloWorld.a pp/MainWindow.nib /Users/qingzhao/Desktop/ch1/HelloWorld/MainWindow.xib --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk
    2010-09-22 13:07:18.333 ibtool[1155:607] Assertion Failure: [toolTask isRunning]
    2010-09-22 13:07:18.337 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-09-22 13:07:18.337 ibtool[1155:607] Line: 140
    2010-09-22 13:07:18.519 ibtool[1155:607] Backtrace:
    0 IBCocoaTouchPlugin 0x00000001039b7dcc IBAttachToCocoaTouchTool + 1669
    1 IBCocoaTouchPlugin 0x00000001039b5e9f IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 147
    2 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
    3 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
    4 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
    5 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
    6 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
    7 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    8 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
    9 ibtool 0x000000010000829f
    10 ibtool 0x0000000100006e0c
    11 ibtool 0x0000000100003161
    12 ibtool 0x0000000100001dbc
    2010-09-22 13:07:18.519 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    2010-09-22 13:07:18.520 ibtool[1155:607] Assertion Failure: NO
    2010-09-22 13:07:18.520 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-09-22 13:07:18.520 ibtool[1155:607] Line: 351
    2010-09-22 13:07:18.521 ibtool[1155:607] Backtrace:
    0 IBCocoaTouchPlugin 0x00000001039b5f62 IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 342
    1 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
    2 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
    3 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
    4 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
    5 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
    6 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    7 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
    8 ibtool 0x000000010000829f
    9 ibtool 0x0000000100006e0c
    10 ibtool 0x0000000100003161
    11 ibtool 0x0000000100001dbc
    2010-09-22 13:07:18.521 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    What can I do  ? Thank you very much!!!

    I found this on stack overflow.com and thought it would apply to this article discussion for some users even though I don't understand how to revert the version (through git?)
    I think this is a compatibility issue. I think the .xib has moved to Xcode 4 (as shown by the line setenv IBC_MINIMUM_COMPATIBILITY_VERSION 4.2) which Xcode 3.2's version of ibtooldoes not understand.
    I think you need to revert to a version of the .xib prior to the update to Xcode 4.""

  • Interface Builder encountered an error communicating with the iPhone Simula

    Hi,
    I downloaded the latest iOS SDK and tried simple helloworld program. Once I try to build it in the xcode, it shows the following 2 errors. I tried to re-install the SDK several times, and it doesn't work.
    CompileXIB MainWindow.xib
    cd /Users/qingzhao/Desktop/ch1/HelloWorld
    setenv IBCMINIMUM_COMPATIBILITYVERSION 3.2
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/qingzhao/Desktop/ch1/HelloWorld/build/Debug-iphonesimulator/HelloWorld.a pp/MainWindow.nib /Users/qingzhao/Desktop/ch1/HelloWorld/MainWindow.xib --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk
    2010-09-22 13:07:18.333 ibtool[1155:607] Assertion Failure: [toolTask isRunning]
    2010-09-22 13:07:18.337 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-09-22 13:07:18.337 ibtool[1155:607] Line: 140
    2010-09-22 13:07:18.519 ibtool[1155:607] Backtrace:
    0 IBCocoaTouchPlugin 0x00000001039b7dcc IBAttachToCocoaTouchTool + 1669
    1 IBCocoaTouchPlugin 0x00000001039b5e9f IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 147
    2 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
    3 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
    4 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
    5 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
    6 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
    7 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    8 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
    9 ibtool 0x000000010000829f
    10 ibtool 0x0000000100006e0c
    11 ibtool 0x0000000100003161
    12 ibtool 0x0000000100001dbc
    2010-09-22 13:07:18.519 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    2010-09-22 13:07:18.520 ibtool[1155:607] Assertion Failure: NO
    2010-09-22 13:07:18.520 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-09-22 13:07:18.520 ibtool[1155:607] Line: 351
    2010-09-22 13:07:18.521 ibtool[1155:607] Backtrace:
    0 IBCocoaTouchPlugin 0x00000001039b5f62 IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 342
    1 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
    2 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
    3 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
    4 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
    5 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
    6 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    7 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
    8 ibtool 0x000000010000829f
    9 ibtool 0x0000000100006e0c
    10 ibtool 0x0000000100003161
    11 ibtool 0x0000000100001dbc
    2010-09-22 13:07:18.521 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    Exception backtrace:
    (null)
    Exception infonull)
    /* com.apple.ibtool.errors */
    /Users/qingzhao/Desktop/ch1/HelloWorld/MainWindow.xib: error: ibtool failed with exception: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    Exception backtrace:
    (null)
    Exception infonull)

    I'm using 10.6.4 and having the same issue. Reinstalled the newest SDK a few times (Xcode 3.2.4 with 4.1 of the iOS SDK). I can't build anything to run on the iPhone Simulator, but building regular Mac apps works fine. Here's what it tells me when I try to build and run:
    CompileXIB MainWindow.xib
    cd /Users/myusername/Development/iTennis
    setenv IBCMINIMUM_COMPATIBILITYVERSION 3.2
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/myusername/Development/iTennis/build/Debug-iphonesimulator/iTennis.app/M ainWindow.nib /Users/myusername/Development/iTennis/MainWindow.xib --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk
    2010-10-26 17:07:21.838 ibtool[1428:607] Assertion Failure: [toolTask isRunning]
    2010-10-26 17:07:21.934 ibtool[1428:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-10-26 17:07:21.934 ibtool[1428:607] Line: 140
    2010-10-26 17:07:22.016 ibtool[1428:607] Backtrace:
    0 IBCocoaTouchPlugin 0x000000010383ddcc IBAttachToCocoaTouchTool + 1669
    1 IBCocoaTouchPlugin 0x000000010383be9f IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshallerWithContext + 147
    2 IBCocoaTouchPlugin 0x00000001038b3963 IBReleaseIsWildcat + 1791
    3 IBCocoaTouchPlugin 0x00000001038b3538 IBReleaseIsWildcat + 724
    4 IBCocoaTouchPlugin 0x00000001038b357b IBReleaseIsWildcat + 791
    5 IBCocoaTouchPlugin 0x00000001038389f9 IBReplaceClassNamePrefixWith + 1588
    6 IBCocoaTouchPlugin 0x000000010383c82e IBBuildMarshalledDescriptionOfDocument + 2093
    7 IBCocoaTouchPlugin 0x0000000103836515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    8 IBCocoaTouchPlugin 0x0000000103831cad IBUISegmentConfiguration + 2784
    9 ibtool 0x000000010000829f
    10 ibtool 0x0000000100006e0c
    11 ibtool 0x0000000100003161
    12 ibtool 0x0000000100001dbc
    2010-10-26 17:07:22.017 ibtool[1428:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1431) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    2010-10-26 17:07:22.018 ibtool[1428:607] Assertion Failure: NO
    2010-10-26 17:07:22.018 ibtool[1428:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-10-26 17:07:22.018 ibtool[1428:607] Line: 351
    2010-10-26 17:07:22.019 ibtool[1428:607] Backtrace:
    0 IBCocoaTouchPlugin 0x000000010383bf62 IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshallerWithContext + 342
    1 IBCocoaTouchPlugin 0x00000001038b3963 IBReleaseIsWildcat + 1791
    2 IBCocoaTouchPlugin 0x00000001038b3538 IBReleaseIsWildcat + 724
    3 IBCocoaTouchPlugin 0x00000001038b357b IBReleaseIsWildcat + 791
    4 IBCocoaTouchPlugin 0x00000001038389f9 IBReplaceClassNamePrefixWith + 1588
    5 IBCocoaTouchPlugin 0x000000010383c82e IBBuildMarshalledDescriptionOfDocument + 2093
    6 IBCocoaTouchPlugin 0x0000000103836515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    7 IBCocoaTouchPlugin 0x0000000103831cad IBUISegmentConfiguration + 2784
    8 ibtool 0x000000010000829f
    9 ibtool 0x0000000100006e0c
    10 ibtool 0x0000000100003161
    11 ibtool 0x0000000100001dbc
    2010-10-26 17:07:22.020 ibtool[1428:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1431) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    Exception backtrace:
    (null)
    Exception info:(null)
    /* com.apple.ibtool.errors */
    /Users/myusername/Development/iTennis/MainWindow.xib: error: ibtool failed with exception: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1431) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    Exception backtrace:
    (null)
    Exception info:(null)

  • Applescript is starting Xcode instead of the iPhone Simulator

    Hi,
    When I use applescript to start the iPhone Simulator (using the following command), it's starting Xcode instead of the iPhone Simulator.
    osascript -e "tell application \"iPhone Simulator\" to activate"
    The command osascript -e 'id of app "iPhone Simulator"' return the value "com.apple.dt.Xcode".
    So the program name "iPhone Simulator" has a reference to the wrong application. Is there a file on the system that links the name of the program to actual App?
    Thanks in advance,
    Robbert

    If you want to use applescript to launch the iOS simulator this script should work, but your Xcode project needs to be open first.
    tell application "Xcode"
         tell project "test"
              activate
         end tell
    end tell
    tell application "System Events"
         tell process "Xcode"
              click menu item "Run Without Building" of menu 1 of menu item "Perform Action" of menu "Product" of menu bar item "Product" of menu bar 1
                    end tell
    end tell

  • MagicCookie using AudioFileStream on iphone & simulator, different results

    Hi,
    I'm having troubles using AudioFileStream with a AAC audio stream (ADTS).
    As soon the stream is started, my property listener is getting few property calls.
    They are all the same except the magic cookie. On the simulator I get the cookie without any problems, but iPhone isn't getting any.
    It's the same code & same stream I am using
    Any idea what the cause might be and how I am able to fix it?

    Seems like the simulator don't even need a magic cookie set (or sets it automatically itself) to be able to play aac+ streams.
    I don't get why iPhone is supposed to support aac, but having such trouble with it yet?
    Anyone got aac streams up and running without any issues?

  • Aspen iphone simulator black screen

    hello, I have a big problem today:
    I am doing a simple piano, and I put 20 keys (on keyboard) with buttons
    (only first 9 buttons) but when I add the number 10, and build n go
    show me Succeeded NO ERRORS, good
    ut the iphone simulator turned in Black screen, and dont show nothing... why ?
    here is my .h and my .m (code)
    please !
    QUESTION: ... why if I add a
    IBOutlet UIButton *pteclax10;
    give me errors, I do not want to think Xcode only will let me use 9 buttons... please help me.
    thanks again.....
    here is my code in 2 pictures....
    http://www.1572-8.com/fotos/fotos-server/iphone-dev/x-lio1.jpg
    http://www.1572-8.com/fotos/fotos-server/iphone-dev/x-lio2.jpg
    Message was edited by: imaumac

    Have you tried actually running it on an iPhone or iPod Touch yet? That might make a difference.

  • Reception / Battery problems with iPhone 3GS after upgrading to iOS 4.2.1

    There are major reception and battery problems with iPhone 3GS after upgrading to iOS 4.2.1.
    I can not believe that Apple did not test this for major bugs like this one is.
    I am a business user and can not effort to have bad reception. Apple wants to gain in the business clients... I never had this with my former BlackBerrys!
    I need a reliable phone not a play thing like this is right now, it just needs it to work propely. And if a major bug like this comes along, fix it immediately. After the iPhone4 story, now this...incredible! Going back to my reliable BlackBerry! It just ain't reliable and takes forever to fix a problem.

    I have the same issue after iOS 4.2.1 update. I am using iPhone 3GS officially unlocked by Apple. I tried using different SIM cards and both carriers show same problem when using phone in 3G mode. Phone falls back to EDGE mode showing 'E' from '3G' at start. I have reset the phone and rebooted several times and moved to different cell areas in the city just to verify the problem.
    I had no such issues earlier. I also have Nokia E71 which shows full signal and has no such issues.
    I have posted the bug on apple iphone feedback page. I hope they Apple will fix the problem and test the release properly on all models before releasing to public.

  • How do i get rid of black screen on iPhone simulator

    im makg a game on Xcode for iOS buterytime i try to run the app the iPhone simulator goesBlack    could still see the app icon but not the applcation it self it   l   team fixes this problome to lauch it n the near winter. We have it updated to iOS 7 SDK  but that still hasnt soved the problome as well as resting the iPhone our only wa of   ning the app is to upload it to an ipod 5 but i want to hare the progress by screen share using OS X server scinc my team is scatterd all around town. So please reply to any remody to this problome im sure im not the only one.

    You are posting this question in an iWeb forum exactly why?
    Try posting this in the iPhone forum and you might get more help.

  • Working with BDB SQL API (libsqlite3.a) on iPhone Simulator

    Hi,
    I downloaded latest BDB and got a static library libsqlite3.a by compiling the code on Mac OS X (1.6.8 64bit).
    I am now trying to use this library as a drop in replacement into a SQLite project.
    I copied the SQLite database (with only one table) to a new Berkeley DB.
    I want to access this new Berkeley DB with existing code using SQLite.
    I followed following steps:
    1. Added (copied) libsqlite3.a from build directory to my project
    2. Added #import <db.h> and left #import <sqlite3.h> as it is
    3. compiled the code and ran it in iPhone simulator
    The code runs fine until I go to prepare a statement. Please see the snippet from the function below:
    - (void)initializeDatabase {
    NSMutableArray *todoArray =[[NSMutableArray alloc] init];
    self.todos = todoArray;
    [todoArray release];
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *documentsDirectory = [paths objectAtIndex:0];
    NSString *path = [documentsDirectory stringByAppendingPathComponent:@"todo.db"];
    if (sqlite3_open([path UTF8String], &database) == SQLITE_OK) {      // This is ok, opens berkeley DB
    const char *sql = "SELECT pk FROM todo";
    const char *tail;
    sqlite3_stmt *statement;
    if (sqlite3_prepare_v2(database, sql, -1, &statement, &tail) != SQLITE_OK) {    *// Fails here - table and records exist in Berkeley DB*
    if (sqlite3_step(statement) == SQLITE_ROW) {
    int primarykey = sqlite3_column_int(statement, 0);
    Todo *td = [[Todo alloc] initWithPrimaryKey:primarykey database:database];
    [todos addObject:td];
    [td release];
    } else {
    NSAssert1(0, @"Failed to read from the table '%s'.", sqlite3_errmsg(database));
    sqlite3_close(database);
    sqlite3_finalize(statement);
    } else {
    NSAssert1(0, @"Failed to open database with message '%s'.", sqlite3_errmsg(database));
    sqlite3_close(database);
    The log dump:
    GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011)
    Copyright 2004 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show warranty" for details.
    This GDB was configured as "x86_64-apple-darwin".sharedlibrary apply-load-rules all
    Attaching to process 14578.
    Pending breakpoint 1 - ""todoAppDelegate.m":109" resolved
    Current language: auto; currently objective-c
    /Users/kpotnis/Library/Application Support/iPhone Simulator/4.3.2/Applications/0322BCD5-4C71-498E-82EC-469133B7A935/Documents/todo.db: BDB0113 Thread/process 14578/2696754496 failed: BDB1507 Thread died in Berkeley DB library
    Any thoughts?
    Edited by: 868618 on Jul 11, 2011 4:51 AM

    Hi,
    I was looking over this and I was wondering if you've got the chance to progress with this issue or if you need assistance?
    Thanks,
    Bogdan Coman

  • Problem launching Campaign from UI

    Hi All
    We have a problem launching campaign from UI screen,as when we try and launch the campaign from the screen
    following error is coming:
    Cannot display view BSPWD_BASICS/WorkAreaHostViewSet of UI Component CRM_UI_FRAME
    An exception has occurred Exception Class CX_SHM_OUT_OF_MEMORY - Insufficient Shared Objects Memory Available
    Method: CL_SHM_AREA=>_ATTACH_WRITE70
    Source Text Row: 2
    Error occurred during navigation
    An exception has occurred Exception Class CX_BSP_WD_RUNTIME_ERROR -
    Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    Source Text Row: 165
    Cannot display view BSPWD_BASICS/BreadCrumbView of UI Component CRM_UI_FRAME
    An exception has occurred Exception Class CX_BSP_WD_INV_VA_ASSIGNMENT - Assigned view in view area Root could not be loaded.
    Method: CL_BSP_WD_HIST_MANAGER_BASE=>GET_VIEW_ASSEMBLY
    Please suggest what should i do to correct this(we are working on CRM 2007)
    Any help will be highly appreciated
    Regards
    Ashish

    Hi,
    Would you please show your solutions? I am facing the same problem. Thanks!
    BR,
    Hao

  • Anyone having problem with iphone getting not delivered message after sending picture and it really is getting delivered to recipient.

    Anyone having problem with iphone getting a not delivered message after sending pic and it really is getting delivered to recipient.

    Same problem here with and I've done everything shy of a total reset which I also find unacceptable. This problem exists on all iMessage platforms (iPhone, iPad, and Mac) so I don't see how restoring my iPhone would help the problem.

  • Trying to connect my replacement Iphone 3GS to my windows 7 laptop but it is not recognised at all, my ipod can connect no problem, my iphone can connect to my windows vista computer no problem. Any ideas?

    Trying to connect my replacement Iphone 3GS to my windows 7 laptop but it is not recognised at all, my ipod can connect no problem, my iphone can connect to my windows vista computer no problem. Any ideas?

    More info,
    I have bootcamp with Windows 7 installed, do I need to run some "Driver compatibility checker" after the Windows 7install?
    if so what is the name of it?
    thanks

  • I have a problem with iphone 4s...is ringing but another sounds not working....please help me!!!

    i have a problem with iphone 4s...is ringing but another sounds not working....please help me!!!

    Hi pystyke,
    Welcome to Apple Support Communities.
    You may find these links helpful with troubleshooting the audio issue you're experiencing:
    iPhone Assistant
    http://www.apple.com/support/iphone/troubleshooting/
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Best,
    Jeremy

Maybe you are looking for

  • Surcharge is not coming in Challan

    Hi Gurus, IAfter FB60,we create remittance challan(J1INCHLN) for Form 16A.When executing J1INCHLN,the system generate Challan no. and showing following details of challan: Sr.  Co Cd   Doc No. Fiscal  B.Place  Tax     Challan no.   Challan dt     Amo

  • My project gets an error message and crashes everytime I go to render or preview on AE

    I have recently starting using AE on my computer, every now and then its struggled to work but I haven't had any major issues until now. When I try to render or preview my project I've had an error message pop up saying: "After Effects error: crash o

  • ADOBE READER 11.0 UNINSTALL IS NOT POSSIBLE

    Adobe reader 11.0 was installed on my windows 8 pc. After a while it didn't work anymore so i want to remove the version and download this programm again. After downloading it said " is already installed.failure 150120" So there is no possiblity to r

  • Skipping system dump : no dump device configured

    Hi all! I am new to Solaris, please understand. I receive the following message "skipping system dump : no dump device configured" and my system reboots. After reboot, the system repeats the initial installation. My IDE config: Primary Master - disab

  • Asking for any 5 examples from a list of 10

    I am building a quiz for the first time, I have a need for the student to answer a question, Please        Name 3 of the 5 discount types I cannot seem to work out how to do this Any help would be greatly appreciated regards Jim