Interface Builder not starting (iPhone SDK beta 6)

Hi,
I have upgraded my OS to 10.5.3, uninstalled SDK beta 5 and installed SDK beta 6. Since then I cannot start Interface Builder (the icon bounces 3 or 4 times and the application hangs). I tried to reinstall it again and nothing changed.
Is that a known problem with beta 6? I have a friend who does not experience this problem. Any workaround?
Thanks and best,
Rodrigo

How can it be possible? you invest some money believeng you will start something great and develop allied with the biggest intrepeneur of the world,and... boom. what you see.... isnt really what u get. Why this beta 6/7 Interface Builder crashs when u scroll around too see some v2.0 aspects of the i-phone? just some secret aspects or a little glitch on the final build ? lets see if we can have a taste for it... i was really anxious...

Similar Messages

  • IPhone SDK Beta 4 - How to send emails with attachments?

    Hello everyone!
    This is my first post Please be so kind to point me in the right direction.
    Using the official iPhone SDK Beta 4, I am trying to show the compose email screen not only with a subject and body fields, but also with an attached PDF file that I generated. I know that many apps available in the Installer.app can do that, but can the SDK do that as well?
    Generating a mailto URL doesn't seem to be the answer since the RFC 2368 doesn't support attachments as far as I understand. All my attempts to hard-code a mailto URL that could trick the Mail application into composing a message with an attachment have failed...
    Could you give me a hint or maybe copy paste some code to help me with attaching files to emails?
    Thank you so much in advance,
    Eugene

    I tried the following :
    NSError *error;
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *documentsDirectory = [paths objectAtIndex:0];
    NSString *path = [documentsDirectory stringByAppendingPathComponent:@"export.csv"];
    if ([records writeToFile:path atomically:YES encoding:NSUTF8StringEncoding error:&error] == NO) {
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Export error" message:@"An error occured while writing the file."
    delegate:self cancelButtonTitle:@"OK" otherButtonTitles: nil];
    [alert show];
    [alert release];
    static NSString *email = @"[email protected]";
    NSString *outMailtoPath = [NSString stringWithFormat:@"mailto:%@?subject=Review&body=%@&attachment=%@", email, @"test", path, nil];
    NSURL *url = [NSURL URLWithString: [(NSString *)CFURLCreateStringByAddingPercentEscapes(NULL, (CFStringRef)outMailtoPath,NULL,NULL,kCFStringEncodingUTF8) autorelease]];
    [[UIApplication sharedApplication] openURL:url]

  • IPhone SDK (Beta 5) - AudioQueue Problem playing MP3

    Dear community,
    i have a problem using the iPhone SDK (Beta 5). I want to playback a simple MP3-file. So i checked a lot of examples, read documentation and found a least the "AudioQueueTest" example. This is an simple example which is able to play MP3, WAV, ... from the command line. I ported the example to a simple application on the iPhone. Now the problem:
    If i playback a WAV file in the iPhone simulator, everything works fine. If i want to playback an MP3 file, it doesn't work and i don't know why. I stepped through the debugger and found out that the application freezes at the command "AudioQueueNewOutput".
    Do you have the same problem? What i am doing wrong? Is it no possible to create a background thread playing back a local MP3 file?
    Thank you!

    Did you get PCM recording on actual iPhone hardware? With Beta5, my PCM recording works fine in the simulator, but on the hardware, all the buffers I receive contain only 4 bytes of audio data!
    Here's my source code - if anyone can spot anything wrong, I'd be enormously grateful!
    #import "AudioAppDelegate.h"
    #import "AudioViewController.h"
    #import "AudioToolbox/AudioQueue.h"
    #define BUFFER_CT 4
    #define BUFFER_BYTES 8192
    AudioQueueRef audioInQueue;
    static void AudioInCallback(void* aqData,AudioQueueRef aq,AudioQueueBufferRef buffer,const AudioTimeStamp* startTime,UInt32 numPackets,const AudioStreamPacketDescription* desc)
    OSStatus result;
    printf("received %d bytes\n",buffer->mAudioDataByteSize);
    result=AudioQueueEnqueueBuffer(audioInQueue,buffer,0,NULL);
    if(result)
    printf("AudioQueueEnqueueBuffer returned %d\n",result);
    static void StartAudio(void)
    OSStatus result;
    AudioStreamBasicDescription format;
    // 11KHz, 16-bit stereo
    memset(&format,0,sizeof(format));
    format.mSampleRate=11025;
    format.mFormatFlags=kLinearPCMFormatFlagIsSignedInteger | kAudioFormatFlagIsPacked;
    format.mFormatID=kAudioFormatLinearPCM;
    format.mBytesPerPacket=BUFFER_BYTES;
    format.mBytesPerFrame=4;
    format.mFramesPerPacket=format.mBytesPerPacket / format.mBytesPerFrame;
    format.mChannelsPerFrame=2;
    format.mBitsPerChannel=16;
    result=AudioQueueNewInput(&format,AudioInCallback,NULL,CFRunLoopGetCurrent(),kC FRunLoopCommonModes,0,&audioInQueue);
    printf("AudioQueueNewInput result was %d\n",result);
    for(int i=0;i<BUFFER_CT;i++)
    AudioQueueBufferRef buffer;
    result=AudioQueueAllocateBuffer(audioInQueue,format.mBytesPerPacket,&buffer);
    printf("AudioQueueAllocateBuffer result was %d\n",result);
    result=AudioQueueEnqueueBuffer(audioInQueue,buffer,0,NULL);
    printf("AudioQueueEnqueueBuffer to in result was %d\n",result);
    Float32 gain=1.0;
    AudioQueueSetParameter(audioInQueue,kAudioQueueParam_Volume,gain);
    result=AudioQueueStart(audioInQueue,NULL);
    printf("AudioQueueStart result was %d\n",result);
    }

  • IPhone SDK Beta 2 Interface Builder Add a UIViewController

    Hi,
    I am trying the new SDK (beta 2). I didn't try the beta 1 before, because of the lack of IB. However, I am having a problem when trying to code a simple Hello World with a button, with a classic MVC design.
    If I use a UIViewController as a view controller, it compiles fine, but when I hit the button, it crashed. If I code it, or if I subclass the UIView and use it as a view controller, it works.
    Is there any difference of coding compared to a "classic" cocoa app ?
    I hope everything is clear.
    Thanks for your help.
    Have a great day.

    scottjg wrote:
    I've written a tutorial on how to setup a basic Hello World MVC app at: http://ihatetheiphonesdk.blogspot.com
    hope it helps!
    thanks. That helped me!
    A couple of issues though:
    1. I could not "*right click*" and bring up the outlet popups. I had to control-click to do that.
    2. the steps for connecting up outlets for viewController and window did not exist already for me as selectable outlets
    "-Connect our App Delegate's viewController outlet to our view controller, and the window outlet to our window:"
    I added them manually to the app delegate and then ran the connections. Then, I had to add
    +" IBOutlet UIWindow *window;+
    +IBOutlet UIViewController *viewController;"+
    to my HelloWorldAppDelegate.h file (along with any other code that I compared to your files)

  • [iPhone SDK beta 7] screen capture error?

    As of beta 7 of the SDK, I get the following error when I try to capture a screenshot of my device via Xcode: "Could not communicate with the device, connection failed".
    Anyone else encounter this? Or is it working for you?
    Thanks.
    Message was edited by: Abra Dabra

    Me, too. Xcode 3.1. I am using the old-fashioned screen capture technique (holding power while pressing home), but it's not nearly as nice and the fact I can't do the other worries me a bit.
    Has anyone been able to do this since iPhone 2.1 came out?

  • IPhone SDK beta 4: error running app on device

    My app ran fine on my iPhone up until beta 4. I've fixed in in accordance with the changes to the SDK, and it runs perfectly on the simulator. I've also followed the directions in the Program Portal to use code signing for the app.
    When I try to compile it for the device, I get the following errors:
    cc1obj: error: /var/folders/pA/pAvrzjzKGQe5O6saRJWAXE+TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/iCrosswordPrefix-ayguzoobuyunjzbvsayctaqnkcfp/iCrosswordPrefix.pch: No such file or directory
    cc1obj: error: one or more PCH files were found, but they were invalid
    cc1obj: error: use -Winvalid-pch for more information
    I get about 7 copies of those errors, once per header file in my app.
    Does anyone know what this means, or how to fix it?
    Thanks,
    Eliza

    Sorry, I'm an idiot; I didn't clean my targets before compiling. After cleaning targets, it installed and ran without any trouble.
    Message was edited by: Eliza Block

  • IPhone SDK Beta and Unix Tools

    Does anyone know how to compile Unix tools for the iPhone with the SDK? All I seem to be able to find is, "install the toolchain". That doesn't help.
    Specifically, I'd like to compile ettercap-ng. I know ettercap has ARM sources and even an ARM .deb in the apt-get repo (for debian). Given all that, it shouldn't be hard to do.
    I've already got some dev tools on my actual iPhone, and I can use a terminal emulator to issue the compile and make commands.
    I'm trying to compile ettercap-NG 0.7.3, and every time I do, (cd /{ettercap source here} && ./configure) I get:
    checking whether make sets $(MAKE)... (cached) yes
    checking how to run the C preprocessor... /lib/cpp
    configure: error: C preprocessor "/lib/cpp" fails sanity check
    See `config.log' for more details.
    Seeing as that's as far as I seem to be able to get on the actual handset, does anyone know how to use the SDK on a MacBook (Leopard 10.5.3 so on and so forth) to do it, and then transfer it over?

    Mark, You have to be a registered iPhone developer to have the beta level firmware that allows direct access to the iPhone via the SDK. As far as accessing the BSD file structures the only way AFAIK thats currently possible is to hack the phone. And of course we cannot discuss that on this forum....
    Try over here: http://www.appstoredeveloper.com/forum/index.php?sid=fdd5a5f29c264bd57440ba989ee 4b054
    or here: http://www.modmyifone.com/forums/iphone-ipod-touch-sdk-development-discussion/

  • URGENT - Flash Builder not starting correctly!!!

    When attempting to start FB (StandAlone, not Eclipse plugin) I am receiving the following error(s):
    Does anyone have any idea what the problem might be?
    thanks,
    MCE

    Have you read this http://forums.adobe.com/thread/671680

  • [iPhone SDK Beta 6] Simulator only can't find Frameworks

    I'm scratching my head on this one. I can load an example project and it runs in the simulator, no problem. My own project, however gives me this:
    warning: Unable to read symbols for "/System/Library/Frameworks/UIKit.framework/UIKit" (file not found).
    and something similar for every other linked framework. Eventually, this leads to nothing working and the app quitting out. Works fine on the device, and again, it works with the example projects, so the files aren't actually missing or misplaced.
    Instead it seems like something in my build settings or a similar problem. The rub is that I've gone through every build setting and parameter of a working example project line by line to make sure they match, but my project still won't compile in the simulator.
    The only caveat is that I'm not using a .nib or .xib file as all the examples are transitioning to now. I don't see how that's relevant in the smallest way, however.
    Can anyone with more experience or knowledge about XCode projects give me some insight to what I might be missing? It's driving me a little insane.

    Well, I really don't know what the problem was specifically, but I narrowed it down to drawing the render buffer from OpenGL. It seems that, only on the simulator, if I do this too quickly after the window is created and all that it causes the problem.
    The console results were weird talking about missing frameworks which seems completely unrelated to what problems were happening.
    So... no help to anyone else I guess, but I completely rebuilt the project restructured my program like the demos with a nib and everything and it still turns out it had nothing to do with that. I was able to fix my original with one line commented out. 2 days for one line. weeee.
    Message was edited by: aaronsullivan

  • Web Interface builder - Not displaying planning folder after transporting

    I created an web-enabled planning folder and transported it to the quality system.
    In the development system works perfectly (variables, layouts, links, user-exits, etc).
    After transporting it to the quality system when I run this web planning folder the page doesn't load and displays with an empty white web page.
    I tried to re-generate it in the quality system, but I'm having the same problem. I haven't recieved any error message.
    Development system:
    SAP_BW     350     0019     SAPKW35019     Business Information Warehouse
    SEM-BW     400     0012     SAPKGS4012     SEM-BW 400 : Add-On Upgrade Request
    BI_CONT     353     0007     SAPKIBIFP7     Business Intelligence Content
    Quality system:
    SAP_BW     350     0019     SAPKW35019     Business Information Warehouse
    BI_CONT     353     0007     SAPKIBIFP7     Business Intelligence Content
    SEM-BW     400     0012     SAPKGS4012     SEM-BW 400 : Add-On Upgrade Request

    Thanks for your post.
    I tried re-transporting and re-generate it again and I'm still having the same problem.
    Have you heard of a note or something for a similar problem?
    The only thing I recall is that this client was using SEM 3.5 before and upgraded to SEM 4.0 recently.

  • Manual coding vs. Interface Builder - iPhone

    I have most of an app done with IB and I've managed to get things to work mostly, but I did have a lot of problems with UIDatePicker and could only get it to work properly when creating it manually.
    I have some other strange bugs, like the Delete button sometimes animating accross the top of the window rather than on the row it's supposed to and based on my experience with the date picker, I don't know if that's a problem with my code or with using IB.
    Also, most of the sample code seems to create things manually.
    So, am I better off using Interface Builder for my iPhone apps, or creating everything manually in code? At this point I'm leaning towards doing everything manually.

    A lot of the sample code creates elements programmatically because Interface Builder didn't exist early in the beta. Others (like UICatalog) do it to make the view heirarchy more obvious.
    I usually recommend using Interface Builder wherever possible. Remember, there's nothing stopping you from altering IB-created views in your viewDidLoad method; just add outlets for the views you need to customize and connect them as needed. In my experience, it's usually easier to move parts of an application away from IB when you need to do so than it is to move them to IB to make them easier to maintain; working with pure code encourages certain design patterns (like not-really-needed view subclasses and custom constructors to avoid repetitive initialization code) that don't really play well with IB.

  • Adding navigation items to view controllers in interface builder - pwnd me

    I am perplexed by Interface builder. I had SDK version 2.x (can't recall now) and just upgraded to the newest 3.1 and now things do not work the same.
    So that I could have a custom navigation item applied to my view controller, I have followed the instructions here:
    http://developer.apple.com/iphone/library/documentation/DeveloperTools/Conceptua l/IB_UserGuide/EditingNibFileObjects/EditingNibFileObjects.html
    in section entitled "Configuring the Views for Additional Navigation Levels"
    When I try to load the nib at runtime I get this error:
    [* Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "EventCreate" nib but the view outlet was not set.']
    The view is set on the controller; however, I did not do anything to set the file's owner since the before-mentioned doc does not say anything about that. It seems the view must be set on the file's owner to make it work. This is confusing.
    I've noticed that the nibs I had set up using the previous release (2.x can't remember now) aren't totally supported in the way I had them set up with navigation items. In IB, I would set the File's Owner to by view controller and then I could drop a navigation item in and connect that right away to the controller, and the controller had a navigation item outlet exposed by default. That doesn't appear to work any more. When I open my older nibs (xib files) the navigation item outlet shows up in the inspector for the controller BUT its greyed out, as if obsolete. There's no navigation item outlet showing in IB anymore, it seems when building new xibs. So, I don't know what to do here.
    Can somebody help me?

    crouchingchicken wrote:
    I would set the File's Owner to by view controller and then I could drop a navigation item in and connect that right away to the controller
    Yes, I agree. The nav item used to show up as an outlet of any view controller.
    When I try to load the nib at runtime I get this error:
    The problem with the doc is this line:
    To push a new view controller at runtime, _create a new instance of your custom UIViewController subclass, initialize it with the nib_ file you created for it, and push it on the navigation controller stack.
    The underlined portion can lead us to believe we can alloc and initWithNibName:bundle: as we would when File's Owner is a proxy for the controller we create in code. But that won't work in this case, since the controller we want is the one that's created from the view controller object when the nib is loaded. In other words, we don't want to alloc a new controller, we just want to grab the object made from the nib. Here's what to do:
    // RootViewController.m
    - (IBAction)nextView {
    NSLog(@"nextView");
    // SecondViewController *viewController = [[SecondViewController alloc]
    // initWithNibName:@"SecondViewController" bundle:nil];
    NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"SecondViewController"
    owner:self options:nil];
    NSLog(@"nib=%@", nib);
    SecondViewController *viewController = [nib objectAtIndex:0];
    [self.navigationController pushViewController:viewController animated:YES];
    // [viewController release];
    Be sure not to release the object obtained from the nib, since we didn't alloc it. Top level objects created from a nib are autoreleased. You can put some logging into the second view controller's dealloc to verify it gets dealloced when popped:
    // SecondViewController.m
    - (void)dealloc {
    NSLog(@"dealloc: %@", self);
    [super dealloc];
    - Ray

  • How do you make a tool bar on interface builder

    I don't know how to make a toolbar (for example: like the one safari) using interface builder.

    Might start here:
    http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptua l/MobileHIG/SystemProvided/SystemProvided.html
    In IB, you'll want to look over the objects in the libary pane/window. These are drag/drop into whatever view you're working, etc. Wiring them up of course depends on usage.
    Apple's 'UICatalog' is another good reference that you can get your hands into and push around for protos and ideas.

  • IPhone SDK with iPod Touch 2G problem

    I installed the SDK last night but when I went to plug in my iPod Touch 2G, I got the error message: 'Unable to locate a suitable developer disk image. Please re-install the SDK'
    I have reinstalled the SDK many times but still get the same error message. Any help appreciated.
    Thanks

    {quote}He's talking about the iPod Touch, not a regular iPod{quote}
    Yep, I know. Do a Google search for "Unable to locate a suitable developer disk image". Found this on the comments of [this blog post|http://www.tbradford.org/2008/03/iphone-sdk-beta-2-possible-ppc-fix.html]:
    {quote}
    If anyone else runs into the "Unable to locate a suitable developer disk image." problem, there's a package called "DeveloperDiskImage" in the iPhone SDK that needs to be installed.
    As of 2.1, these are the extra packages that you need to install manually:
    iPhoneSDKHeadersAndLibs
    iPhoneSimulatorPlatform
    iPhoneHostSideTools
    iPhoneDocumentation
    DeveloperDiskImage
    {quote}
    Another [blog post|http://khakionion.blogspot.com/2008/09/iphone-sdk-21-doesnt-include-ipod-t ouch.html#links] says:
    {quote}
    The problem is that the huuuuuge iPhone SDK 2.1 installer doesn't come with the iPod touch 2.1 firmware image. Suck. Fear not, though: All you have to do is force iTunes to do a firmware restore, which will download the appropriate image. On next launch, Xcode will find it and everything will work great.
    {quote}

  • IPhone SDK b3: How I fixed broken (blank) Research Assistant

    Hello, I wanted to give this thread a new title as the original thread didn't indicate "iPhone SDK" in the title, and was in reference specifically to b2. The original thread:
    http://discussions.apple.com/message.jspa?messageID=6935634#6935634
    Here are my findings. Research Assistant was working great for me until I upgraded my original (b1) iPhone SDK directly to b3, skipping b2 entirely. In reading posts in the aforementioned thread, this problem seems to occur when going from b1 -> b2, and I can surmise probably also from b1 -> b2 -> b3.
    The comments in the aforementioned thread were useful in helping me reach a fixed state, for which I conclude a clean re-installation of b3 was necessary. Just doing steps 3) through 6), inclusive, _did not fix my problem._
    1) Uninstall iPhone b3 SDK
    sudo /developer/Libraray/uninstall-devtools --mode=all
    2) Reboot. Reinstall iPhone b3 SDK. Reboot.
    3) Launch Xcode. "Go to Xcode : Preferences... : Documentation"
    4) Click + to add the following entries (you might already see a bunch of grayed-out entires):
    /Developer/Platforms/iPhoneOS.platform/Developer/Documentation/DocSets
    /Developer/Documentation/DocSets
    /Library/Developer/Shared/Documentation/DocSets
    5) Exit and relaunch Xcode
    6) Go to "Project : Edit Project Settings" and click on "Rebuild Code Sense Index".
    After doing all of this, my Research Assistant now works. I wanted to share this with the community in hopes that others learning the iPhone SDK aren't dissuaded by this issue, which can cause a very substantial barrier to learning its APIs quickly.
    -Jeff Ishaq

    Thanks for all the tips. Unfortunately for me it still doesn't work
    After trying for a day I give up ... bulky docs pane here I come.
    Might be because I am using standard Xcode Dev Tools and not the iPhone SDK version of it, but I am still hoping Apple will release a fix for this annoying bug.

Maybe you are looking for

  • Appending and add time stamp at a time........

    Hi all, i am working on a scenario... it is file based..no mapping and bpm can be used. I need to pick up file through xi and append it and put in the target with time stamp to it. we can achieve this if mapping or bpm is allowed..... But,in file pro

  • How to tell if you have correct USB 2.0 driver?

    Hi, I seem to be having a problem with my front panel usb wich are plug in JUSB3.  When i connect a external case in these front panel i get message that a have a high speed device plug in a low speed hub.  My D-bracket is install in JUSB2.  If i plu

  • ITunes gives error report

    Everytime I open iTunes, it always says "Itunes has a problem and need to close" thingy (the error report). that happens EVERY TIME i open iTunes... I reinstalled like 5 times...deleted other programs... and it STILL does not work. I have windows xp.

  • Implement Function module logic in BI

    Hi all, the bellow is the DataSource FM code i wanted to implement same in the BI side, instead system date user wants to enter the date according to the user entry date the calculation should happen if t_tab-net_d < sy-datum.               if t_bsid

  • Reading AppleWorks documents on a PC

    I thought Apple computers and PC's were completely compatible. Is there any way I can read Apple Works documents on a PC? I'm running Windows XP with Office Word 2003 and it can not read my documents from OS X.4.5 / Apple Works.