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

Support Simulator and Catalyst targets #14

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

keeshux
Copy link

@keeshux keeshux commented Sep 30, 2022

Make Go library build correctly on iPhone Simulator and Mac Catalyst.

Script adjustments might appear inelegant, but the generated library has worked 100% on these targets. Tested in my production app for 6+ months.

@houmie
Copy link

houmie commented Jan 27, 2023

@keeshux I have tried this on Mac M1 without success.

I get the error:

Error Domain=NSCocoaErrorDomain Code=4 "The file “SourcePackages” doesn’t exist." UserInfo={NSFilePath=/Users/houmie/Library/Developer/Xcode/DerivedData/project-ewigkyiwmukfdibbvzefbzcdfqhi/SourcePackages, NSUnderlyingError=0x600099ee17a0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}

Does this fix only affect the app under Sources/WireGuardApp or also the library Sources/WireGuardKit?

Signed-off-by: Davide De Rosa <keeshux@gmail.com>
Signed-off-by: Davide De Rosa <keeshux@gmail.com>
@keeshux keeshux force-pushed the keeshux/fix-additional-targets branch from f745d0c to 4a671c4 Compare March 18, 2023 12:40
Signed-off-by: Davide De Rosa <keeshux@gmail.com>
@keeshux
Copy link
Author

keeshux commented Sep 13, 2023

@keeshux I have tried this on Mac M1 without success.

I get the error:

Error Domain=NSCocoaErrorDomain Code=4 "The file “SourcePackages” doesn’t exist." UserInfo={NSFilePath=/Users/houmie/Library/Developer/Xcode/DerivedData/project-ewigkyiwmukfdibbvzefbzcdfqhi/SourcePackages, NSUnderlyingError=0x600099ee17a0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}

Does this fix only affect the app under Sources/WireGuardApp or also the library Sources/WireGuardKit?

Affects the library. I’ve used this patch successfully in my app for more than a year, and I do use a M1. 🤔

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