Trouble opening Mainwindow.xib in Xcode/iPhone Development - iphone

I was going through the Hello World tutorial for iPhone App. I recently bought a Macbook and have installed Xcode 3.2.3. The tutorial says that I should double click on MainWindow.xib and wait for few seconds to see an Interface builder getting opened. But nothing like that is happening in my macbook. Is there an alternate way to bring up the Interface builder or even to check whether I have the Interface builder at all!?
http://img683.imageshack.us/img683/3412/problemym.png
Rest of the stuff like iPhone simulator are working properly. What am I doing wrong. Please help me.
Thanks

Go to finder and search for "interface builder" as a file name. see if the application is there.

If you have tried everything listed on all websites over internet and if nothing works then try this:
Right click on MainWindow.xib -> GetInfo -> General -> "Path: Relative to current SDK"

Related

how to find libraries for xcode iphone developing

i am watching my first xcode tutorial on youtube , it says that i have to make new "based view application" but i found "simple view application" i thing it is the same , am i right? then on the tutorial there are somethings like buttons , textareas... to put it in the view but i can't find it with my xcode 4.5.2 , i read on google it is from tool then library but i don't have "tool", what should i do to see it please? by the way i just have mac os x lion 10.7.4 and xcode 4.5.2 maybe i have to install another programs ?
this is what i see
and when i press new project check what i see, there is no "view based application"
On the top right, you have three buttons above "View", click the right one to open the right sidebar. In the bottom right corner, you find your UI Objects. Nothing else needed.
Click the small "box" (3rd of the four symbols) in the bottom right.
I dont know which tutorial you are watching but if its unclear you can allways follow this tutorial. If you scroll down you will find what you are looking for! Good luck
Create View Based Application from scratch
Another example of same thing

When I double click Mainwindow.xib file the Interface Builder does not open in MonoTouch?

when I double click Mainwindow.xib file the Interface Builder does not open. I did some research but I could not solve it, I encounter with the same question on many websites but there is no solution.
I do not know the application type is important or not, I mean I have created iPhone Window-Based, iPhone Navigation-Based but the Interface Builder did not open.
Another thing is I use MonoTouch trial version, I do not know if it might be the reason for this. What can I do to solve it? Thanks for advance.
The issue was that interface builder (xib) was not installed. I fixed this by reinstalling everything
as indicated on this page: http://monotouch.net/Documentation/Installation
But when I installed the Iphone SDK, I selected all components including the Mac API option.
Hope this helps:)
Benn

Interface Builder issue (Build and go in xCode)

I really don't understand this. I downloaded the recent version of xCode 3.2.5 and Interface Builder 3.2.5. I follow these steps:
Create: Window Based Application (iPhone)
Double Click: MainWindow.xib
-- Launches Interface Builder --
selects -> File -> Build and Go in XCode
I get the following error in Interface Builder:
"Interface Builder could not build and go in Xcode.
Build failed (1 error)"
But there are no build errors in Xcode. I don't quite understand what is happening since I am new to this platform. Can anyone assist?
It's generally not a good idea to Build and Run from Interface Builder. Just switch back (cmd-tab) to XCode and hit cmd-R to Build and Run from there.
Interface Builder is trying to run the xib itself instead of running your Application.
Have you added any code?
The best place to start is with one of the getting started documents. If you are a registered developer, there are also videos available in the developer center.
Just save and Build and Go in Xcode. I have a feeling it's because it's a UIWindow rather than a UIViewController. Why did you choose a window-based project?

tab bar controllers won't open in Interface Builder

I'm developing a new app but I've a little issue with Interface Builder...
I've installed Xcode 3.2.3 and iPhone SDK 4.0 GM.
When I create a new Tab Bar Application project in Xcode, opening the MainWindow.xib file in IB, the Tab Bar Controller won't open... I tried reclicking it but nothing!
I also uninstalled and reinstalled all developer tools but without any results...
Finally if I try to build and run the project in the simulator, the tab bar controller shows normally!
Can anyone help me? :)
It sounds like something similar to what I have experienced with my projects and the new sdk. Some of my IB files such as ones that contain UIViews when double clicking on them they refuse to open.
I haven't had to reinstall or nothing usually quitting IB and xcode and restarting helps I can't remember if I have done anything else to fix it. It may be an issue with the new 3.2.3 xcode as I don't recall having anything like this happen in my 3.2.2 build.
If it becomes a large problem for you have you considered removing the tab bar and rebuilding it? Just a thought. It may be troublesome to do so but if it fixes it and allows you to continue coding your project it would be worth it.
You said in your question that you're running iPhone SDK 3.2.3 with iOS4 GM. You should update your SDK, as the SDK is now at version 4.0 officially.
Otherwise, it sounds like your Xcode installation is somehow corrupted in some way. You may need a complete reinstall.

Xcode iPhone - Adding framework works a little bit

No biggie, but when I add the AVFoundation framework for the iPhone, it turns red for some reason I'm unable to figure out why. The project will not compile unless I add this framework, and if I do, Xcode will mark the framework red (apparently that means xcode cannot find the framework), but yet it will work.
This is quite annoying. Any clue what I might be doing wrong here?
Try adding AVFoundation framework via your target.
Look for your target under "Groups and Files"
"Get Info" for it
Click the "General" tab
At the bottom right of the window click the "+" button
At the top of your list you should find AVFoundation, add it.
close Xcode
delete your project
shut down your mac
take the mac back to your boss and tell him it's not working
wait until they figure out what it is
if this doesn't work, find a new job that doesn't require the use of a mac
All I had to do was open up the "General" settings tab for the project and change the "Base SDK for All Configurations" value. It was set to an SDK that I no longer had installed.