I'm not experienced in rust either way but I am getting an error building for M1.
Compiling webview-sys v0.6.2
The following warnings were emitted during compilation:
warning: webview_cocoa.c:89:23: error: too many arguments to function call, expected 0, have 3
warning: return objc_msgSend((id)objc_getClass("NSString"),
warning: ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: webview_cocoa.c:95:20: error: too many arguments to function call, expected 0, have 2
warning: objc_msgSend((id)objc_getClass("NSMenuItem"), sel_registerName("alloc"));
warning: ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: webview_cocoa.c:96:16: error: too many arguments to function call, expected 0, have 5
warning: objc_msgSend(item, sel_registerName("initWithTitle:action:keyEquivalent:"),
warning: ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: webview_cocoa.c:98:16: error: too many arguments to function call, expected 0, have 2
warning: objc_msgSend(item, sel_registerName("autorelease"));
warning: ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: webview_cocoa.c:119:27: error: too many arguments to function call, expected 0, have 11
warning: id event = objc_msgSend((id)objc_getClass("NSEvent"),
warning: ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: webview_cocoa.c:124:25: error: too many arguments to function call, expected 0, have 2
warning: id app = objc_msgSend((id)objc_getClass("NSApplication"),
warning: ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: webview_cocoa.c:135:34: error: too many arguments to function call, expected 0, have 2
warning: objc_msgSend((id)objc_getClass("NSDate"),
warning: ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: webview_cocoa.c:148:45: error: too many arguments to function call, expected 0, have 2
warning: objc_msgSend(message, sel_registerName("body")),
warning: ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: webview_cocoa.c:155:31: error: too many arguments to function call, expected 0, have 2
warning: id openPanel = objc_msgSend((id)objc_getClass("NSOpenPanel"),
warning: ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: webview_cocoa.c:160:20: error: too many arguments to function call, expected 0, have 2
warning: objc_msgSend(parameters, sel_registerName("allowsMultipleSelection")));
warning: ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: webview_cocoa.c:162:16: error: too many arguments to function call, expected 0, have 3
warning: objc_msgSend(openPanel, sel_registerName("setCanChooseFiles:"), 1);
warning: ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: webview_cocoa.c:166:42: error: too many arguments to function call, expected 0, have 2
warning: completionHandler(objc_msgSend(openPanel, sel_registerName("URLs")));
warning: ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: webview_cocoa.c:164:7: error: too many arguments to function call, expected 0, have 3
warning: openPanel, sel_registerName("beginWithCompletionHandler:"), ^(id result) {
warning: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: webview_cocoa.c:176:31: error: too many arguments to function call, expected 0, have 2
warning: id savePanel = objc_msgSend((id)objc_getClass("NSSavePanel"),
warning: ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: webview_cocoa.c:178:16: error: too many arguments to function call, expected 0, have 3
warning: objc_msgSend(savePanel, sel_registerName("setCanCreateDirectories:"), 1);
warning: ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: webview_cocoa.c:179:16: error: too many arguments to function call, expected 0, have 3
warning: objc_msgSend(savePanel, sel_registerName("setNameFieldStringValue:"),
warning: ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: webview_cocoa.c:184:42: error: too many arguments to function call, expected 0, have 2
warning: id url = objc_msgSend(savePanel, sel_registerName("URL"));
warning: ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: webview_cocoa.c:185:43: error: too many arguments to function call, expected 0, have 2
warning: id path = objc_msgSend(url, sel_registerName("path"));
warning: ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: webview_cocoa.c:181:16: error: too many arguments to function call, expected 0, have 3
warning: objc_msgSend(savePanel, sel_registerName("beginWithCompletionHandler:"),
warning: ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
warning: objc_msgSend(void /* id self, SEL op, ... */ )
warning: ^
warning: fatal error: too many errors emitted, stopping now [-ferror-limit=]
warning: 20 errors generated.
error: failed to run custom build command for `webview-sys v0.6.2`
Caused by:
process didn't exit successfully: `/Users/it/Git/LiquidLauncher/target/release/build/webview-sys-9e986117ce764eb1/build-script-build` (exit status: 1)
--- stdout
cargo:rustc-link-lib=framework=Cocoa
cargo:rustc-link-lib=framework=WebKit
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("3")
HOST = Some("aarch64-apple-darwin")
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = None
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = None
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = None
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "webview.h" "-Wall" "-Wextra" "-x" "objective-c" "-std=c11" "-w" "-DDEBUG" "-DOBJC_OLD_DISPATCH_PROTOTYPES=1" "-o" "/Users/it/Git/LiquidLauncher/target/release/build/webview-sys-5069132c836fe68a/out/webview_cocoa.o" "-c" "webview_cocoa.c"
cargo:warning=webview_cocoa.c:89:23: error: too many arguments to function call, expected 0, have 3
cargo:warning= return objc_msgSend((id)objc_getClass("NSString"),
cargo:warning= ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=webview_cocoa.c:95:20: error: too many arguments to function call, expected 0, have 2
cargo:warning= objc_msgSend((id)objc_getClass("NSMenuItem"), sel_registerName("alloc"));
cargo:warning= ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=webview_cocoa.c:96:16: error: too many arguments to function call, expected 0, have 5
cargo:warning= objc_msgSend(item, sel_registerName("initWithTitle:action:keyEquivalent:"),
cargo:warning= ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=webview_cocoa.c:98:16: error: too many arguments to function call, expected 0, have 2
cargo:warning= objc_msgSend(item, sel_registerName("autorelease"));
cargo:warning= ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=webview_cocoa.c:119:27: error: too many arguments to function call, expected 0, have 11
cargo:warning= id event = objc_msgSend((id)objc_getClass("NSEvent"),
cargo:warning= ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=webview_cocoa.c:124:25: error: too many arguments to function call, expected 0, have 2
cargo:warning= id app = objc_msgSend((id)objc_getClass("NSApplication"),
cargo:warning= ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=webview_cocoa.c:135:34: error: too many arguments to function call, expected 0, have 2
cargo:warning= objc_msgSend((id)objc_getClass("NSDate"),
cargo:warning= ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=webview_cocoa.c:148:45: error: too many arguments to function call, expected 0, have 2
cargo:warning= objc_msgSend(message, sel_registerName("body")),
cargo:warning= ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=webview_cocoa.c:155:31: error: too many arguments to function call, expected 0, have 2
cargo:warning= id openPanel = objc_msgSend((id)objc_getClass("NSOpenPanel"),
cargo:warning= ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=webview_cocoa.c:160:20: error: too many arguments to function call, expected 0, have 2
cargo:warning= objc_msgSend(parameters, sel_registerName("allowsMultipleSelection")));
cargo:warning= ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=webview_cocoa.c:162:16: error: too many arguments to function call, expected 0, have 3
cargo:warning= objc_msgSend(openPanel, sel_registerName("setCanChooseFiles:"), 1);
cargo:warning= ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=webview_cocoa.c:166:42: error: too many arguments to function call, expected 0, have 2
cargo:warning= completionHandler(objc_msgSend(openPanel, sel_registerName("URLs")));
cargo:warning= ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=webview_cocoa.c:164:7: error: too many arguments to function call, expected 0, have 3
cargo:warning= openPanel, sel_registerName("beginWithCompletionHandler:"), ^(id result) {
cargo:warning= ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=webview_cocoa.c:176:31: error: too many arguments to function call, expected 0, have 2
cargo:warning= id savePanel = objc_msgSend((id)objc_getClass("NSSavePanel"),
cargo:warning= ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=webview_cocoa.c:178:16: error: too many arguments to function call, expected 0, have 3
cargo:warning= objc_msgSend(savePanel, sel_registerName("setCanCreateDirectories:"), 1);
cargo:warning= ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=webview_cocoa.c:179:16: error: too many arguments to function call, expected 0, have 3
cargo:warning= objc_msgSend(savePanel, sel_registerName("setNameFieldStringValue:"),
cargo:warning= ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=webview_cocoa.c:184:42: error: too many arguments to function call, expected 0, have 2
cargo:warning= id url = objc_msgSend(savePanel, sel_registerName("URL"));
cargo:warning= ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=webview_cocoa.c:185:43: error: too many arguments to function call, expected 0, have 2
cargo:warning= id path = objc_msgSend(url, sel_registerName("path"));
cargo:warning= ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=webview_cocoa.c:181:16: error: too many arguments to function call, expected 0, have 3
cargo:warning= objc_msgSend(savePanel, sel_registerName("beginWithCompletionHandler:"),
cargo:warning= ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/message.h:63:1: note: 'objc_msgSend' declared here
cargo:warning=objc_msgSend(void /* id self, SEL op, ... */ )
cargo:warning=^
cargo:warning=fatal error: too many errors emitted, stopping now [-ferror-limit=]
cargo:warning=20 errors generated.
exit status: 1
--- stderr
error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "webview.h" "-Wall" "-Wextra" "-x" "objective-c" "-std=c11" "-w" "-DDEBUG" "-DOBJC_OLD_DISPATCH_PROTOTYPES=1" "-o" "/Users/it/Git/LiquidLauncher/target/release/build/webview-sys-5069132c836fe68a/out/webview_cocoa.o" "-c" "webview_cocoa.c" with args "cc" did not execute successfully (status code exit status: 1).
I don't know if this correct or not, if it's wrong, I'll close this issue. Thank you for your patience!