Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 10, 2010, 01:12 AM   #1
Brendo
macrumors newbie
 
Join Date: Jul 2010
Xcode needs restart to refresh changes

Firstly here is what I have.

Xcode Version 3.2.3 (1628)
iMac OS X Version 10.6.4

Here is the problem.

1. I enter code into xcode.
2. Open Interface Builder from the xib file.
3. Add say...a button to the view.
4. Go to to connect the outlets for the button using the Files Owner, but they don't show up.
5. I then check I have saved all files in Interface Builder and Xcode and try again. Same problem.
6. I then shut down interface builder and reopen it. Still no outlets.
7. I shut down Interface builder, and Xcode and restart the project, and the outlets now work.

This process of make changes, shut everything down, and then open it all again is time consuming, and annoying, is their any way to have xcode and Interface builder sync and update when saving. I haven't been able to find how. Any help would be much appreciated. Cheers
Brendo is offline   0 Reply With Quote
Old Jul 10, 2010, 01:48 AM   #2
PhoneyDeveloper
macrumors 68030
 
PhoneyDeveloper's Avatar
 
Join Date: Sep 2008
They normally stay in sync. In the bottom left corner of you xib window there is an LED image. It's supposed to be green, indicating that the file is in sync with a project. If it's yellow or grey there is a problem. If you move the mouse over the LED it may tell you something about the error.

If there are funny characters in the path to the project folder it can cause this problem.
PhoneyDeveloper is online now   0 Reply With Quote
Old Oct 6, 2010, 07:59 AM   #3
kingthong
macrumors member
 
Join Date: Sep 2010
Location: Somewhere but not here.
Hey i just started using Xcode and am facing the same problem. absolutely no clue why this happens!
and my filenames are fine too.
__________________
I fought the law...and the law won.
kingthong is offline   0 Reply With Quote
Old Oct 6, 2010, 11:27 AM   #4
PhoneyDeveloper
macrumors 68030
 
PhoneyDeveloper's Avatar
 
Join Date: Sep 2008
What about the color of the led?

Try clearing the recent documents menu in Xcode.

Also, try opening the xib file by double-clicking in the Finder with the project open instead of opening it from the project window.
PhoneyDeveloper is online now   0 Reply With Quote
Old Oct 7, 2010, 10:53 AM   #5
kingthong
macrumors member
 
Join Date: Sep 2010
Location: Somewhere but not here.
Quote:
Originally Posted by PhoneyDeveloper View Post
What about the color of the led?

Try clearing the recent documents menu in Xcode.

Also, try opening the xib file by double-clicking in the Finder with the project open instead of opening it from the project window.

Hey i had a bunch of xcodeproj files open and in my 'recent projects' list. i removed them from where it was stored(documents\...) and now xcode seems to be working fine!
__________________
I fought the law...and the law won.
kingthong is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
The App Store app thinks Xcode is installed, but I deleted Xcode. moonman239 Mac Applications and Mac App Store 3 May 6, 2014 06:53 PM
Just Restart will ya? Armen iOS 7 2 Sep 26, 2013 06:35 PM
Moving from xcode 3.2 to xcode 4.5.2 compilation error for 'abs' macro in stdlib.h hrishidev Mac Programming 7 Jun 2, 2013 11:36 AM
Xcode 3 vs Xcode 4 when dealing with Objective-C timebourne Mac Programming 8 Sep 23, 2012 06:36 PM
XCode 4.4.1 to Xcode 4.5 in Mountain Lion VinegarTasters OS X 10.8 Mountain Lion 2 Sep 19, 2012 09:55 PM

Forum Jump

All times are GMT -5. The time now is 07:17 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC