xcode cannot be opened because of a problem - iphone

When i want to opened Xcode then i m getting error message. Like "Xcode cannot be opened because of a problem Check with the developer to make sure Xcode works with this version of Mac OS X. You may need to re-install the application. Be sure to install any available updates for application and Mac OS X... Click report to see more detailed information and send a report to Apple".
and when i m searching .dmg file in mac i m not getting any file related to xcode so please help me out of this problem.
Thanks & Regards,
Priyanka

Do you have Lion or Snow Leopard? Which version of Xcode do you have?
If you just installed Lion, try downloading Xcode 4.
Or else just try to reinstall your Xcode: https://developer.apple.com/xcode/index.php

try to reinstall XCode use this command to remove XCode completely
sudo /Developer/Library/uninstall-devtools –mode=all

Related

xib edit getting crash in xcode5

I have an application which is totally developed in xcode 4.6 ad now it is in app store also. Now i'm going to update the app in iOS7 also for that i upgraded my mac OS and xcode. my mac OS version is 10.8.5 and i installed xcode 5 also. Now my problem is xcode getting crash immediately when i edit and save the xib.
I tried all these ways.
1. Xcode 5 crashes -- Xcode quit unexpectedly
2. uninstall my xcode completely using this sudo /Developer/Library/uninstall-devtools --mode=all and install again
You can try this :
When you open a xib file that was created in Xcode 4 in Xcode 5 you are prompted to upgrade the file to the new format. You want to only do it if all the people working on the project use Xcode 5 because the new files can’t be opened by older versions of Xcode.
Refer this links :
How to disable Xcode 5 automatically upgrade xibs to iOS7 appearance
http://nilsou.com/blog/2013/08/07/xcode-5-finally-makes-interface-builder-a-viable-option-for-teams/
I hope it will be helpful.
Yes this was the problem with Xcode version DP4 and DP5. IF you are using these version then your Xcode5 will get crashed while adding/Editing XIB"S. I guess you should use Full version XCODE5 . This problem will be resolved.
Reset your simulator. And delete old app in simulator. I think this may work.

How to upgrade Xcode 3.1.2 to Xcode 4.4.3

New to iOS, Have downloadex xcode 4.3.3 ie: xcode_4.3.3_for_lion.dmg, already the Xcode is present in this machine of the version 3.1.2 [ which i get from spotlight].
Question:
If i want new Xcode 4.3.3, then all i need to double click on xcode_4.3.3_for_lion.dmg, and then click on Xcode.
How can i make Xcode 4.3.3 is a default version, and remove the old 3.1.2 version?.
Before installation of Xcode 4 open terminal
sudo /Developer/Library/uninstall-devtools --mode=all
This will uninstall Xcode 3. Then you can install Xcode 4 as always
Forget about the manual download. Open the Mac App Store, install Xcode from there. When you run it for the first time, it should prompt you to remove the old version.
If you have both the version installed in your mac. Then do one easy thing mentioned in below image
Enjoy Coding :)
I managed to remove and reinstalled somehow.. :(

Failed to install: xcode_4.2_and_ios_5_sdk_for_snow_leopard on OSX 10.6.8

I need to compile some apps with the iOS 5 SDK so I discovered I need to upgrade from xcode 3 to xcode 4.
My mac is on OSX 10.6.8, and I downloaded xcode_4.2_and_ios_5_sdk_for_snow_leopard.dmg from my iOS developer account. The image opens fine, does a check to confirm it can be installed, etc. but when I try the install, I get
"the installation failed. an unknown installation error occurred"
How can I fix this problem? Is there a log file to check?
Although this sounds ridiculous, set your computer clock to 1/1/2012 and it will install.
I had exactly the same issue. There is some date / time issue with Xcode's installer.
Found a proper solution at https://superuser.com/questions/410573/cant-install-xcode-on-os-x-snow-leopard :
Install this: Apple Software Installer Update 1.0.
About Apple Software Installer Update 1.0: "This update addresses an issue that may prevent certain Apple software from installing. This update is recommended for all users running Mac OS X 10.6.8."
I'm not sure that you can instal xcode 4 on OSX 10.6 :/
i have face this before and they said you have to upgrade to OSX 10.7 to install xcode 4

Xcode 3 wont allow me to Install Xcode toolset

So I attempted at giving Xcode 4 a swing, after uninstalled XCode 3, and it failed me.With all the shortcuts out of place i didn't feel at home. So i uninstalled XCode 4, and began installing Xcode 3 once again. but this time. I am no longer allowed to download the Xcode Toolset.!
http://tinypic.com/r/29z242d/7
At first i assumed that the Xcode toolset would someone works it way into the instillation and it would all work out. but after installing this more that 3x on my computer I cannot seem to FIND XCODE at ALL! nor can i find iOS simulator or any other software. What do i have to do inorder to fix this?
I think this is happening because I inappropriately uninstalled Xcode 3 the first time, I used an application called App Zapper rather than running the -sudeo command...
You can install Xcode 3 on Lion using the following method:
Mount the Xcode 3.2.6 DMG
Open Terminal
Enter the commands:
export COMMAND_LINE_INSTALL=1
open "/Volumes/Xcode and iOS SDK/Xcode and iOS SDK.mpkg"
Use at your own risk as Xcode 3 is not supported by Apple on OSX Lion.
If you are installing alongside Xcode 4, make sure to install into a different directory (create this in Finder first), and then you can untick all the boxes apart from the Essentials and it'll run just fine.
Source: http://anatomicwax.tumblr.com/post/8064949186/installing-xcode-3-2-6-on-lion-redux
Just a heads-up: on Mountain Lion and Mavericks (and quite possibly on other versions as well, but I only "tested" this two...) this causes a kernel panic at startup, so I would advise against installing Xcode 3 on them.
If you already did that, and need some help, here and here are some information.

Installing IOS sdk in xcode on lion

I have installed lion and afterwards I installed Xcode. But I have no IOS SDK.
If I look inside the directory: /Developer/SDKs/ I see a sdk for mac os x 10.6 and for
10.7 but no IOS SDK.
When I run my projects or I create a new blank project that uses this sdk I get the following build error:
ibtoold(5057,0x7fff73646960) malloc
auto_zone_set_associative_ref: object should point to a GC block or a global address, otherwise associations will leak. Break on auto_zone_association_error() to debug.
Any Ideas? I've tried re-installing it twice.
I am starting to think there is some bug using lion and Xcode together, I am going to ask this question on the apple developer forum. If I get an answer there, ill post it here.
Hi try doing a full clean un-install.
sudo /Developer/Library/uninstall-devtools --mode=all
Then make sure you download the LION version of XCode 4, I believe it's a free version now.
Good Luck.
The iOS SDK includes Xcode, but Xcode doesn't necessarily includethe iOS SDK. You should download and install the iOS SDK if that's what you want.