-
Notifications
You must be signed in to change notification settings - Fork 425
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 <[email protected]>
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/[email protected]/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 |
found that there's no |
Open Build Settings, add a User-defined variable named PATH and insert this ${PATH}:/opt/homebrew/Cellar/go/1.22.5/bin Obviously you need to install "brew install go" first. Good luck |
yes exactly, refer this |
Hi @ALL |
Did you check this answer? You have to use absolute path. |
Hi everyone, I am interested in software and a new apprentice for Apple Development. I am wondering about how wireguard-ios is working on Xcode. However, I got some errors. The first of these errors was /usr/bin/make. I solved this error but now I'm getting another error. Does anyone know about this issue or can help? Now, I'm getting this error; [ -n "" ] My go version is ; go version go1.23.1 darwin/arm64 And also for go env GOROOT check; % go env GOROOT Why is it so hard to build wireguard-ios? |
|
Hello @Shahzainali , First of all, thank you for your answer and interest with my problem. I tried that but I have an error like this; [ -n "" ] And also, when I was trying to fix this error, I have another problem about permission. Like permission denied. I dont understand why. Why is wireguard-ios build and run situation so complicated ? :( |
Have you modified the go path in the script? |
Hi All I am trying to build a project on Xcode 16 but getting below errors.
@Shahzainali @coderDeviCheng @Darwin-cpu @dlc-letelier @houmie |
Hi @dkawadePromobi, same here. Just installed XCode 16 and have the same errors, except the first one. And my app was OK in XCode 15. I will check it and if I can make it works, I will post the solution here. |
Hi @dkawadePromobi , just compiled. Reading here: I changed as suggested in the file: /Users/xxxxxxx/Library/Developer/Xcode/DerivedData/WireGuard-elmexgjutbjkaecawqudbnnyjpds/SourcePackages/checkouts/wireguard-apple/Sources/WireGuardKitC/WireGuardKitC.h And worked |
Hi @dlc-letelier , I did the same and worked, Waiting for the code to get merged. |
HELLO @Shahzainali i have download your project but still getting Command ExternalBuildToolExecution failed with a nonzero exit code |
@Harisghanchi Have you verified the go path in script.sh? |
i could not find this script/build_wireguard_go_bridge.sh |
if you have cloned then you must have. by the way here it is |
share |
1.23.2
…On Fri, Oct 11, 2024 at 5:27 PM Shahzain Ali ***@***.***> wrote:
share
which go
go version
—
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHHXOMDJSUAWNHYA5NYP3KLZ267Z3AVCNFSM6AAAAAAW6XSDZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBXGMYDSMBSGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
which go |
The path in script is incorrect, please match according to which go. |
|
then no idea, some environment base issue most probably, follow readme again, also install previous version of go, one of my friend solved it by downgrading go. |
Ok, I'll check it out.
…On Fri, Oct 11, 2024 at 7:18 PM Shahzain Ali ***@***.***> wrote:
then no idea, some environment base issue most probably, follow readme
again, also install previous version of go, one of my friend solved it by
downgrading go.
—
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHHXOMDDXEECKBGJ65N7JGLZ27M43AVCNFSM6AAAAAAW6XSDZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBXGUYTKNRYHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
thanks
…On Fri, Oct 11, 2024 at 7:19 PM Haris Qasim ***@***.***> wrote:
Ok, I'll check it out.
On Fri, Oct 11, 2024 at 7:18 PM Shahzain Ali ***@***.***>
wrote:
> then no idea, some environment base issue most probably, follow readme
> again, also install previous version of go, one of my friend solved it by
> downgrading go.
>
> —
> Reply to this email directly, view it on GitHub
> <#24 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AHHXOMDDXEECKBGJ65N7JGLZ27M43AVCNFSM6AAAAAAW6XSDZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBXGUYTKNRYHE>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Does anyone have a working package link for Xcode 16? |
i am working with Xcode 15.4 i can help you with xcode 15.4
…On Tue, Oct 15, 2024 at 1:01 PM Usmantahir27 ***@***.***> wrote:
Does anyone have a working package link for Xcode 16?
Any help will be really appreciated. Thanks!
@Shahzainali <https://github.com/Shahzainali> @coderDeviCheng
<https://github.com/coderDeviCheng> @luckman212
<https://github.com/luckman212> @Harisghanchi
<https://github.com/Harisghanchi>
—
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHHXOMBF4OTGXSGTK37BF53Z3TDWZAVCNFSM6AAAAAAW6XSDZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJTGE3DQNJXHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi All, Command ExternalBuildToolExecution failed with a nonzero exit code @Shahzainali |
error: 'v12' is unavailable .macOS(.v12), packageDescription.SupportedPlatform:15:27: note: 'v12' was introduced in PackageDescription 5.5