[AC-5425] With 2 Xcode versions installed, a dialog for EULA pops up for wrong version
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Not Our Bug |
Resolution Date | 2017-12-07T09:58:00.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Rene Pot |
Assignee | Shak Hossain |
Created | 2017-12-06T10:53:29.000+0000 |
Updated | 2017-12-07T15:28:12.000+0000 |
Description
I have 2 xcodes installed, 1 called
xcode.app
(xcode9) and one called xcode8.app.
xcode8.app has been selected as default xcode through CLI (xcode-select), and I just updated xcode9, then compile for iOS 10.3 simulator fails because EULA needs to be accepted.
[~topener], Thanks for sharing with us. Can you please share the screenshot which displays the message?Also metion your SDK and environment details here.
Can't trigger it again as I'd already opened it. its the regular EULA warning
Can you check if the Xcode8 is selected in the preference of the studio? Since you have updated the Xcode9, It might be changed. Usually, higher version of Xcode is selected by default. So, that might be the case here.
I used xcode select on CLI to change it to 8 after 9 was installed. iOS SDK home is: /Applications/Xcode8.app/ So the correct one. Default Device Profile is iPhone 6s (v10.3.1) I'm using TiSDK 6.0.4 in case thats also relevant. Studio is 4.10.0.201709271713
[~topener], Thanks for your feedback. Can you please rename the xcode 8 as iOS SDK home :/Applications/Xcode.app/ and test again. If need refresh the studio. Please let us know if you get the issue again. Best
Having custom Xcode names is not supported by Apple, they specifically have a note for that in their release notes. This is nothing we can influence.
Thanks! Guess I'll have to deal with it then :)
As a simple workaround, you can simply move the other installation outside /Applications and re-move it again when being required again. I'm thinking of a 5-liner shell-script that does some
mv
andxcode-select
:-).