Xcode 4.0.2 not launching after install - objective-c

I installed the Xcode Snow Leopard beta in my Developer folder, but I decided to re-intall Xcode 4.0.2. So I deleted the Developer folder, and ran the installer.
Now when I try to open Xcode it just bounces a few times in the Dock, but doesn't launch.
Do I need to delete some other files to get it working?

Go to terminal and run this:
$ sudo /Developer/Library/uninstall-devtools --mode=all
After that finishes running, delete the /Developer directory again and reboot your computer (you must reboot your computer). When it comes back, re-install Xcode and you should be fine.

Related

cant launch webOS eclipse IDE

I'm new to webOS SDK. Downloaded the installer and after i finished installation couldn't launch IDE.
I also tried to install from offline package. But still same.
Keep freezing at this screen.
MacOS 10.12.6
java version "1.8.0_131"
You must run with sudo. Try run with command like this
sudo /Users/USER/webOS_TV_SDK/IDE/WebOSIDE.app/Contents/MacOS/WebOSIDE ; exit;
Do the following :
Delete the following old config files:
C:\Users[User Name]\AppData\Roaming.webos
C:\Users[User Name]\AppData\Roaming.ares
Re-start webOS TV IDE.

launching app fails in instruments

I am using OS 10.10.3 and tried to run instruments 6.1/6.2/6.3 and launch different debug apps.
All launched and crashed after 2 seconds.
I tried restarting my computer and the device and it didn't help.
I fixed it by deleting all versions of Xcode from my computer and another thing, if you are using Xcode-beta then you need to change the path from /Applications/Xcode.app to /Applications/Xcode-beta.app
using sudo xcode-select --switch /Applications/Xcode-beta.app

Where is RCS in Xcode 5.0.1 OS X 10.9

The RCS, like ci, co, rlog, etc. can find in Xcode 5.0(with command line developer tool) in mountain lion, but disappear in mavericks with xcode 5.0.1(with command line developer tool).
Is apple abandoned the simple version control tool?
From Xcode release notes:
The CVS and RCS source control tools have been removed from Xcode 5. 11968433
Here's what I did:
Used a time machine backup to restore ci, co, rcs, rcsclean,
*rcsdiff, rcsmerge, and rlog* to my directory ~/bin/rcs
Unfortunately, the system needs to find them in /usr/bin. I did not
want to add new files to that directory. So I reluctantly (via terminal and sudo) typed
ln -s ~/bin/rcs/* /usr/bin
If you don't want to recompile from source, Rudix is probably the simplest way to install RCS.
The latest version installs in /usr/local/bin and run well in Mavericks. You might want to symlink it in /usr/bin afterward.

Debugging Adobe AIR apps on Kindle Fire

Possible?
I think to do this I need to upgrade the AIR runtime on the Fire to 3, but the version in the app store won't install. I can't create an AIR apk that is both captive runtime and debug that I know of, so the debug version of the app has to run on the AIR runtime installed. Since the Fire comes with 2.7, 3.x apps won't run in debug mode.
Has anyone managed to get AIR 3 running on a Fire without using captive runtime?
To update AIR on your KF you have to get root privileges. Also keep in mind that android build on KF doesn't have any copy command (it cut off). So the best way I found is to flash your KF with modified (pre-rooted) stock version and then install new air.
Get pre-rooted stock version (I took it here). IMPORTANT: it installs via TWRP, google how to install TWRP on KF.
Put downloaded .zip and air_runtime.apk (latest AIR version) in the root of KF.
Reboot in Recovery mode (TWRP should load)
Flash this version.
On your PC open cmd and run "adb shell" (make sure you see your device in list when run "adb devices" otherwise check drivers).
Run "su" (if you downloaded secure version).
In shell go to sdcard ("ls" to get list of files/folders and "cd folder_name" to get into) and run "install air_runtime.apk /system/app/air_runtime.apk" (I think you can just run "install /sdcard/folder_with_air/air_runtime.apk /system/app/air_runtime.apk").
(7a. If it tells you that can't install because of file already exist, run the following two commands: "mount -o remount rw /system" (mount 'system' with read/write rights) and "mv /system/app/air_runtime.apk /system/app/air_runtime.bak" (rename air_runtime.apk into air_runtime.bak). Then repeat step 7.)
In KF just run (install) air_runtime.apk (use any file explorer, e.g. download ES File Explorer from Amazon).
Check AIR version in Applications.
That's all. Looks a bit complex, but in real it takes about 4-5 mins for me to update AIR (BUT I have TWRP already installed).
Hope it helps.
UPD. After your Kindle updates itself (version 6.3.1 currently the latest) you'll lose you SU privileges. AIR also will be rolled back to 2.7. You can prevent KF auto-updates (search on xda how to do it) or flash actual pre-rooted version (it gives you several months without problems).

Trying to install Xcode 3.2.6 on a Lion machine but it won't install correctly (Not Date issue)

So I have some Objective-c code that was created in Xcode 3.1 on OSX 10.5.8, and it will no run in Xcode 4. I used this handy little guide http://hints.macworld.com/article.php?story=20110318050811544 on one of my 10.7.4 box and it worked swimmingly. (I had just upgraded from 10.6).
So now I am trying to do the same, install 3.2, install 4, link SDKs etc on another machine running 10.7.3, and after using the little date hack with the same 3.2 mpkg that i used on the other computer, the installer says it finishes successfully but when I go to look, Xcode isn't installed anywhere, and the directory mentioned in the instructions linked above /Developers/SDKs doesn't even exist (it did on the other computer). I tried copying the 10.5 SDK from the 10.7.4 machine to the 10.7.3 machine and still nothing, 4 won't run it, and I get this error.
ld: cannot link directly with /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/usr/lib/libcrypto.0.9.7.dylib for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
A little history too, the 10.7.4 machine had xcode 3 installed on it previous to it's update to lion so that was already there and I didn't have to mess with any of that nonsense. Is it something with having had it installed previous to the Lion upgrade?
So, how do I get Xcode 3 to work on the machine, and second does anyone recognize that error?
I think mean Xcode 4 does run, but can't build your project since that error message is from the linker at the last stage of building your project.
Here's a much easier way to install Xcode 3 on Lion: http://anatomicwax.tumblr.com/post/8064949186/installing-xcode-3-2-6-on-lion-redux
Make sure you install it to a different folder named other than Developer. Xcode 4 may go out of its way to find /Developer and remove it. I named mine /Xcode3.