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
[Bug]: Swift - error: unable to load standard library for target #778
Comments
May you remove this line and restart your shell? Theos will set this variable for you. |
I've tried and keep getting the same result as the first attempt. |
Would you mind sharing the output of |
Huh, how odd. It looks like everything is configured as it should be. I would check that you don't have conflicting environment variables (~/.profile, ~/.bash_profile, ~/.bashrc, etc) |
It's also interesting that both times May you run |
|
It's not working because you're invoking make with sudo. Theos should not be run with root/sudo. |
Looks like you posted a comment and then deleted it about an issue where it “doesn’t run without sudo” with permission errors. That’s likely because when you ran with sudo in the first place, directories were created that are owned by root that your user can’t access. Try |
I'm not too familiar with our swift tools, but you can try a newer toolchain.
|
Please post the logs to a gist instead of screenshotting. Add Please post the output of If you install the GitHub command line tool and run |
@SamuraiDjvak please try downloading a newer sdk. We are working on updating ours, but in the meantime you can try these https://github.com/xybp888/iOS-SDKs. Just download one of the newer ones and place it in $THEOS/sdks. Also, you don't need to edit your PATH variable. Theos will handle this for you. |
this is the link from troubleshooting: which -a swift: Also I upload updated SDK and still having the same issue: make[4]: *** [/home/spanaka/theos/makefiles/instance/rules.mk:350: internal-swift-Newproject2-armv7] Error 1 make[4]: *** [/home/spanaka/theos/makefiles/instance/rules.mk:350: internal-swift-Newproject2-arm64] Error 1 make[4]: *** [/home/spanaka/theos/makefiles/instance/rules.mk:350: internal-swift-Newproject2-arm64e] Error 1 |
I would try removing the armv7 arch from your Makefile. If |
:0: error: unable to load standard library for target 'arm64-apple-ios15.6' error: emit-module command failed with exit code 1 (use -v to see invocation) make[4]: *** [/home/spanaka/theos/makefiles/instance/rules.mk:350: internal-swift-Newproject2-arm64] Error 1 still these two errors for arm64 and arm64e |
@SamuraiDjvak We recently updated our sdk repo. Would you mind trying again after installing iPhoneOS16.5.sdk:
Edit: no sure it's SDK related, but just want to cover our bases. |
What are the steps to reproduce this issue?
Guys I have problem with make package I create swift project but when I try to compile it's giving me error Makefile:13
I think i am not installed an SDK for IOS or Mac I just follow the installation guide from the offical page.
What happens?
Makefile:13 /aggregate.mk: No such file or directory make: *** No rule to make target '/aggregate.mk'. Stop.
export THEOS=~/theos
export THEOS_MAKE_PATH=$THEOS/makefiles
this is add for ver in bashrc file. Can some one help please
What were you expecting to happen?
I expected to make package to make .deb file for installing to iphone
Paste any relevant logs, error output, etc.
No response
Additional context
No response
What OS are you seeing the problem on?
Linux/WSL
What OS version does it have installed?
Ubuntu
What toolchain and version are you using?
Ubuntu
Which SDK version are you using?
I think i am not installed an SDK for IOS or Mac I just follow the installation guide from the offical page.
What OS is your client device running?
iOS
What OS version does it have installed?
15.7
Which device model is it?
Iphone SE 2016
Which jailbreak is it using (if relevant)?
checkra1n
The text was updated successfully, but these errors were encountered: