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

WireGuardKitC: fix build with Xcode 16b1 #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

McNight
Copy link

@McNight McNight commented Jun 24, 2024

This commit fixes build errors of the WireGuardKitC target appearing with Xcode 16b1. Errors are:

Declaration of 'u_int32_t'/'u_char'/'u_int16_t' must be imported from module
'DarwinFoundation.unsigned_types.*' before it is required"

This commit fixes build errors of the WireGuardKitC target appearing with Xcode
16b1. Errors are:

> Declaration of 'u_int32_t'/'u_char'/'u_int16_t'  must be imported from module
  'DarwinFoundation.unsigned_types.*' before it is required"

Signed-off-by: Adam McNight <[email protected]>
@dkawadePromobi
Copy link

This one is an important commit, merge this to resolve the Xcode 16 issue.

@ZhaiMingchong
Copy link

@zx2c4 Please merge this, simple a one-liner but now the APP won't build on xcode 16

@komal-lathiya
Copy link

Please merge this PR. Really helpful.

Copy link

@vanyasem vanyasem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can confirm that it's working with Xcode 16 (stable version)

@vanyasem
Copy link

related StackOverflow discussion: https://stackoverflow.com/questions/79002585/wireguardkitc-h-failing-to-compile-in-xcode-16-0

@shahhmatist
Copy link

Please merge the PR. This change is needed.

@Usmantahir27
Copy link

Kindly merge it ASAP. This change is required

@Usmantahir27
Copy link

@McNight Is there any way we can use your changes using package?

@McNight
Copy link
Author

McNight commented Oct 19, 2024

@McNight Is there any way we can use your changes using package?

You can fork my repo and use the fork URL as your dependency in your Package.swift or in Xcode.

@Usmantahir27
Copy link

@McNight Is there any way we can use your changes using package?

You can fork my repo and use the fork URL as your dependency in your Package.swift or in Xcode.

I tried using it but "master" branch is missing changes and "fix_xcode16_build" branch is not working for me. Unable to add the package using that branch.

@evangelme
Copy link

anyone solved this? i have the same problem with new 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

Successfully merging this pull request may close these issues.

9 participants