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

Fails to transfer SDKs #1

Closed
RedenticDev opened this issue Jan 16, 2021 · 6 comments
Closed

Fails to transfer SDKs #1

RedenticDev opened this issue Jan 16, 2021 · 6 comments

Comments

@RedenticDev
Copy link

Setup

macOS Big Sur 11.1, Xcode 12.3 (Xcode.app) and Xcode 11.7 (Xcode 11.7.app). Ran install script twice as I forgot sudo in the first one.

#1

Followed the instructions, but initial setup says:

[...]
[*] Transferring SDKs...
cp: cannot overwrite directory /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/IOKit.framework/Versions/Current with non-directory /opt/iOSOpenDev/deps/sdks//iPhoneOS9.3.sdk/System/Library/Frameworks/IOKit.framework/Versions/Current
[...]

(Same thing for 2 other sdks)

I suppose you added an extra / at the end of the first cp argument here that makes the copy fail, and probably 2 lines above too (no error concerning that)

#2

During the same setup, an error occurred while installing simject, saying:

[*] Installing simject
Makefile:10: /tool.mk: No such file or directory
make[1]: *** No rule to make target '/tool.mk'.  Stop.
make: *** [Makefile:10: clean] Error 2
cp: /opt/iOSOpenDev/deps/simject/bin/resim: No such file or directory

#3

Is it possible to revert changes back to stock Xcode? If yes how?

#4

/opt folder requires sudo for me, so maybe it's worth mentioning it in the instructions?

@Matchstic
Copy link
Owner

#1

You probably can clear out the problematic SDKs at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/ and try again. I personally use my own set of SDKs, whereas this repo uses ones from theos which might be a problem.

#2

Ah, thats due to THEOS not being set yet. Try doing export THEOS=/path/to/theos before trying the install.

#3

Kind of... you have to revert the changes done to SDKSettings.plist inside iPhoneOS.sdk, and then its a case of just going backwards through the install script to undo it. Otherwise, just delete Xcode and re-install it.

#4

Ah, yeah, probably should sort that.

@Matchstic
Copy link
Owner

README has been updated. Please can you check if installation works with the revised steps?

@RedenticDev
Copy link
Author

Thanks for your quick answer! Okay so I try your solution #1, then I export THEOS (again lol) and redo the installation as earlier.

@RedenticDev
Copy link
Author

RedenticDev commented Jan 16, 2021

Ok cleaning SDKs makes transfer now working properly and everything else too EXCEPT there is still the Makefile error installing simject, even with your modified 4. command

@Matchstic
Copy link
Owner

For now, try just skipping the simject install procedure. This is done by passing --no-simject as an argument to the install script.

@RedenticDev
Copy link
Author

Okay thanks.

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

2 participants