mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(apple/iOS): Use pointer directly for libresolv API calls (#9038)
Somewhere between Xcode 16.0 and Xcode 16.3, the API for the libresolv functions we call changed slightly, and we can now pass the return value of `__res_9_state()` directly to the `res_9_ninit`, `res_9_ndestroy` and `res_9_getservers` functions.
This commit is contained in:
@@ -8,6 +8,10 @@ function setup_runner() {
|
||||
local app_profile_file="$2"
|
||||
local ne_profile="$3"
|
||||
local ne_profile_file="$4"
|
||||
|
||||
# Use the latest version of Xcode - matches what we typically use for development
|
||||
sudo xcode-select --switch "$(ls -d /Applications/Xcode*.app | sort -V | tail -n 1)"
|
||||
|
||||
profiles_path="$HOME/Library/Developer/Xcode/UserData/Provisioning Profiles"
|
||||
keychain_pass=$(openssl rand -base64 32)
|
||||
keychain_path="$(mktemp -d)/app-signing.keychain-db"
|
||||
|
||||
Reference in New Issue
Block a user