wireguard-apple
wireguard-apple copied to clipboard
Support Simulator and Catalyst targets
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.
@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
?
@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 librarySources/WireGuardKit
?
Affects the library. I’ve used this patch successfully in my app for more than a year, and I do use a M1. 🤔