Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File for package ios not found due to version mismatch #36

Open
paragchandra opened this issue Oct 3, 2023 · 1 comment
Open

File for package ios not found due to version mismatch #36

paragchandra opened this issue Oct 3, 2023 · 1 comment

Comments

@paragchandra
Copy link

Hi, first off, thanks for this tool, it has been really helpful as I need to manage multiple Unity installations on each of several machines.

It seems that v2.12.0 of this tool is looking for v2023.1.15f1 of (at least) the iOS support package, even though I am trying to install v2020.3.38f1. This did not happen with older versions of the tool. I have previously downloaded this version into my ~/Downloads folder, and can see that the correct version of this file exists at ~/Downloads/Unity-2020.3.38f1/UnitySetup-iOS-Support-for-Editor-2020.3.38f1.pkg, but the tool is nonetheless expecting to find what I can only assume is the very latest version of this file instead.

Here is the full command I'm using to install (on an M2 Pro mac running Ventura 13.5.2)

sudo install-unity --opt downloadSubdirectory='Unity-2020.3.38f1' --opt installPathMac='/Applications/Unity-2020.3.38f1' --yes --data-path ~/Downloads --install --platform mac_os --packages mono,visualstudio,ios,appletv,linux-il2cpp,linux-mono,mac-il2cpp,webgl,windows-mono,lumin,documentation,language-ja,language-ko,language-zh-hans,language-zh-hantm,android,unity Unity-2020.3.38f1

@paragchandra
Copy link
Author

I think I have found a workaround: if I remove the --install flag from the cmd line above, then install-unity will "re-download" the files and installation will proceed without error. This re-download seems to be much faster than an actual first-time download, so my guess is it is just verifying the files that it's already found in the directory I've specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant