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

Just a question, I use monkeydev for Xcode, will I be able to use orion?? if so how? #22

Open
recoveryawareness opened this issue Feb 6, 2023 · 2 comments

Comments

@recoveryawareness
Copy link

recoveryawareness commented Feb 6, 2023

Just a question, I use monkeydev for Xcode, will I be able to use orion?? if so how? as my entire project is made on Xcode (monkey dev)

@kabiroberai
Copy link
Member

This should be possible in theory. First you'll want to download Orion.framework from the latest release and link against it as you would any other framework.

The next thing you'll need to do is run the Orion preprocessor against any *.x.swift files in your project. Since you're using Xcode, you might be able to add Orion (i.e. this GH repo) as an SPM dependency to your project, and add OrionPlugin as a plugin to your target, which should automatically post-process any x.swift files for you.

Finally, make sure to add dev.theos.orion (>= 1.0.0) as a dependency in your control file.

@recoveryawareness
Copy link
Author

recoveryawareness commented Feb 15, 2023

So I managed to get it set up, but now im running into an issue with Generated.xc.swift file saying "Cannot find type 'MyHook' in scope" which causes it not to compile...

here is the project https://github.com/recoveryawareness/atebitsy I use this https://github.com/lemon4ex/EasyDev/tree/xcode14 so I can do everything I need to do with the project on Xcode.

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