2

Recently I updated Mac mini from OS X El Capitan to macOS Sierra (10.12.1). And updated Xcode from Xcode 7.3.1 to Xcode 8.1. Now I looked to install Xcode 7.3.1 and downloaded the dmg file from https://developer.apple.com/download/more/. But after installation, it shows that Cannot install application. Identity of the developer could not be verified.

How to resolve the issue?

How can I install Xcode 7.3.1 & Xcode 6.4 along Xcode 8.1?

Here are the screen shots when I tried to install Xcode 7.3.1 It appeares when I open it At last after some time. It prompt like this

Here is the screenshot of my settings page.
Stystem preferences -> Security & Privacy -> General -> Allow apps download from:

Security & privacy - general - download from

Soorej Babu
  • 350
  • 2
  • 19
  • 2
    Not helpful but hint for future updates: before updating Xcode, copy /Applications/Xcode.app to /Applications/Xcode_7_3_1.app to be on the save side. – shallowThought Nov 09 '16 at 11:50
  • I think it may help @shallowThought.. I will try it next time – Soorej Babu Nov 09 '16 at 11:56
  • Before updating OSX, make sure that you not delete older version of xcode. New version not allow to install older version of xcode – Gourav Joshi Nov 09 '16 at 13:18
  • @GouravJoshi: I didn't do anything anything on the older versions. I just login to Mac AppStore and updated the Xcode. I think that your point is Xcode 8.1 does not allows to install older versions, right? – Soorej Babu Nov 10 '16 at 04:21
  • No, I think currently we are using beta versions. So that is the possibility that you got these issues. Once public versions are available then may be you will able to fix these issues. – Gourav Joshi Nov 10 '16 at 05:06
  • https://en.wikipedia.org/wiki/MacOS_Sierra it shows 10.12.1 is not a beta version. – Soorej Babu Nov 18 '16 at 04:32
  • Does this occur when you're testing on a device or are you using the simulator? – ChrisHaze Nov 18 '16 at 05:11
  • @ChrisHaze oh man.. its not about the running. I can't open Xcode 7.3.1 thats the problem – Soorej Babu Nov 18 '16 at 05:34
  • Just wanted to clarify when you were receiving the explained error - as there is a similar build error that would have a different solution. – ChrisHaze Nov 18 '16 at 13:51
  • @ChrisHaze: Yeah I got you.. When I double click on the Xcode_7.3.1.dmg file, it appears like in the first screenshot, which is verifying the identity of the developer. Then after a couple minutes later, second screenshot appears. – Soorej Babu Nov 19 '16 at 11:45
  • I haven't upgraded to Sierra and don't plan on it until I push my final test build to iTunes Connect on my latest project. Maybe try downloading another version of Xcode from: http://stackoverflow.com/questions/10335747/how-to-download-xcode-4-5-6-7-8-and-get-the-dmg-or-xip-file – ChrisHaze Nov 21 '16 at 22:12

2 Answers2

1

Although I haven't run into this scenario with Xcode, this has worked with other outdated software. I believe that if you set your Allow apps downloaded from: to Anywhere - it should allow you to install and run an older version of Xcode.

Do this by following these steps:

System Preferences ~ > Security & Privacy ~ > General ~ > ( make change )

In order to make changes you will need to unlock access, click the lock in the bottom left, and then enter your password, and then make the change.

ChrisHaze
  • 2,800
  • 16
  • 20
  • But in that settings page there is no option for download from anywhere. It contains only two options from appstore and from appstore and identified developers. Wait I will include that screen shot too. – Soorej Babu Nov 19 '16 at 11:06
1

Sierra has added more security. To enable the Anywhere option, enter in terminal

sudo spctl --master-disable

Install Xcode and, if desired, re-enable it immediately afterwards with

sudo spctl --master-enable

  • It showed the option "Anywhere". But my issue remains the same. Apple support have no answer for this. – Soorej Babu Nov 24 '16 at 05:28
  • I done it in terminal and it showed "Anywhere" option. Then I download the Xcode 7.3.1 again and installed. It works, but Xcode 6.3 is not getting installed. – Soorej Babu Dec 09 '16 at 04:29
  • Also when I open Xcode 7.3.1 and select create a new xcode project, the window appears to be broken. – Soorej Babu Dec 09 '16 at 04:31