OS X 10.5.6, Xcode 3.1 mit iPhone-Unterstützung.OS X gcc "Installationsproblem"
Nachdem einige Apps für iPhone Gerät in Xcode kompilieren, habe ich bemerkt, dass Linie GCC von Befehl Aufruf nicht mehr funktioniert:
$ gcc
gcc-4.0: installation problem, cannot exec '/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin//i686-apple-darwin9-gcc-4.0.1': No such file or directory
Hinweis, wie gcc Versuche i686 ausführbare in iPhoneOS (Arm) Plattform-Verzeichnis zu starten .
Wie wechsle ich zurück zu MacOSX.platform toolchain?
$ ls /Developer/Platforms/
MacOSX.platform iPhoneOS.platform iPhoneSimulator.platform
In der Tat, ich habe '/ Entwickler/Plattformen/iPhoneOS.platform/Entwickler/usr/bin /' manuell zum Pfad hinzugefügt. Wie dumm von mir. –