-
Notifications
You must be signed in to change notification settings - Fork 348
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
updating packagedescription to 5.5 #24
base: master
Are you sure you want to change the base?
Conversation
error: 'v12' is unavailable .macOS(.v12), packageDescription.SupportedPlatform:15:27: note: 'v12' was introduced in PackageDescription 5.5 Signed-off-by: Shahzain Ali <shahzainali93@gmail.com>
I also encountered the same problem, did you solve it? |
Hi @coderDeviCheng yes most probably this PR will fix the issue, for now, you can use the previous version which is 1.0.15-26, while adding the package select the exact version and type the version mentioned above. |
Please select exact version instead of range. |
So far i remember, you need to write complete version i.e |
Yes this works, thank you very much for your help, best wishes |
Yes, i have same issues then i have used some third party script for building. |
Could you please send me a copy of the script, thanks |
Or better yet, post it here |
I will post it here soon. |
You need to read the instructions mate. |
Hello @Shahzainali I just have tried to install the latest 1.0.16-27 but it doesn't work, despite merging your PR. Do you have any suggestions? It's a shame that the owner of repo doesn't allow collaboration on main repo. Thanks |
Hey @houmie I will check this and get back to you. |
There you go.. adjust the path. @houmie did you have an error there? When you chnage the path to make file. |
There you go.. adjust the path. @houmie After adjusting path I am getting a new error. I tried adding "PATH" user defined variable in build settings with value "${PATH}:/opt/homebrew/opt/go@1.21.4/bin" . This is also not woking. Do you know how to fix this? Thanks. |
Have you installed the latest Go? And adjusted go path? Last but not least, the latest WireGuard version doesn't work anyway. You need an older version. |
@houmie : I am working with WireGuardKit version 1.0.15-26 , Xcode 14.2 and go1.21.4. How to adjust the go path ? Could you please help? |
Same issue, someone found how to resolve it? |
@dlc-letelier :My path was wrong. '${PATH}:/usr/local/bin:/opt/homebrew/bin' worked for me. Also, give an absolute path instead of ${BUILD_DIR%Build/*} in the "Info" tab of the WireGuardGoBridge target. Note that 1.0.15-27 won't work. You have added the package version 1.0.15-26. |
@Sneha1231: thanks for your answer. Really worked. But now I get stuck here. Do you have any suggestion? Because of that error, I get a "Command SwiftCompile failed with a nonzero exit code". The file "/Documents/wireguard-apple/Sources/WireGuardApp/WireGuard-Bridging-Header.h" exists |
Hey guys, I'll be publishing an article explaining how to integrate WireGuard into an iOS application. I've been planning it for a few months but didn't get the chance. However, I'll have some time in the coming days, so I'll publish it soon. Thanks! |
Hi @Shahzainali , Thank you very much! We will be waiting for it. |
Hi @Shahzainali |
Hi @Sneha1231 , @Shahzainali , After putting a user defined variable path with provided value, and putting an absolute path in the "Info" tab of the WireGuardGoBridge target, I got the same error as @dlc-letelier Could you please help check this? |
Hi @meetp-zluck |
Hi @alenaklysa, thank you very much. It worked. It said that the module was 'previously defined here', so it seems to be a path problem. |
Hey everyone, I built this a year ago, so I couldn't share any details until now. However, I've just successfully integrated it and am writing a short tutorial so everyone can build it too, sharing in some minutes. |
error: 'v12' is unavailable .macOS(.v12), packageDescription.SupportedPlatform:15:27: note: 'v12' was introduced in PackageDescription 5.5