Xcode + Interface Builder are no longer cooperating. I can’t get my projects to do even simple interface things.
I’ve created a simple Hello World application.
I create a button in a window in MainMenu.nib. When I try to link the button to my AppleScript in Xcode, the script does not show up for the ‘Clicked’ action. My AppleScript back in Xcode also does not show a ‘on clicked theObject’ routine.
I reinstalled XCode and upgraded to 1.5 but its still not working.
If you close Xcode while working on an interface in IB, it will no longer “see” the scripts in your project. You’ll need to save your work in IB, quit IB, then in Xcode double-click on your nib again to relaunch it. You should see your scripts in the info window again. Likewise, if you’re working on an interface in IB, and you make changes while the “connection” between xcode/IB is not ‘open’, your auto-generated handlers will not pop up because they can’t actually be attributed to any particular script.
If you restart both and you’re still not seeing that “connection” between the apps, it may be that the particular project you’ve created is corrupt. Try starting fresh and confirming that the problem is not in the project before reinstalling entirely.
I was using a web view…worked for a while, but at some point things got messy and now every click on an HTML link segfaults my app. (Or gives me a bus error instead)
Either way, links don’t link = problem.
I uninstalled Dev Tools, then reinstalled, then restarted.
New problem - now on EVERY project I open, including the untouched examples, I get this error when building:
ld: can’t locate file for: -lcrt1.o
I can’t build anything. And this is minutes after a clean install. HELP!
EDIT--------------------------------------
OK. I did the whole reinstall thing again. This time it worked.
Now back to the other problem. It can load webpages, but it can’t link between them. Any clues why this would be so?