Skip to content

Commit

Permalink
Fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Aug 27, 2023
1 parent fb05ad4 commit f04c88c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 24 deletions.
34 changes: 13 additions & 21 deletions crates/header-translator/translation-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ tvos = "13.0"
[library.BusinessChat]
imports = ["AppKit", "Foundation"]
macos = "10.14"
maccatalyst = "13.0" # Unsure
ios = "11.0" # Unsure
maccatalyst = "13.0" # Unsure
ios = "11.0" # Unsure

[library.CallKit]
imports = ["Foundation"]
Expand All @@ -98,9 +98,7 @@ ios = "11.4"

[library.CloudKit]
imports = ["CoreLocation", "Foundation"]
extra-features = [
"CloudKit_CKShare",
]
extra-features = ["CloudKit_CKShare"]
macos = "10.10"
maccatalyst = "13.0"
ios = "8.0"
Expand All @@ -126,11 +124,9 @@ watchos = "2.0"

[library.CoreLocation]
imports = ["Contacts", "Foundation"]
extra-features = [
"CoreLocation_CLPlacemark",
]
extra-features = ["CoreLocation_CLPlacemark"]
# macos = "10.6"
macos = "10.11" # Temporarily raised since `CoreLocation` imports `Contacts`
macos = "10.11" # Temporarily raised since `CoreLocation` imports `Contacts`
maccatalyst = "13.0"
ios = "2.0"
tvos = "9.0"
Expand All @@ -154,9 +150,7 @@ watchos = "9.0"

[library.EventKit]
imports = ["AppKit", "CoreLocation", "Foundation", "MapKit"]
extra-features = [
"EventKit_EKEvent",
]
extra-features = ["EventKit_EKEvent"]
macos = "10.8"
maccatalyst = "13.0"
ios = "4.0"
Expand Down Expand Up @@ -237,9 +231,7 @@ tvos = "9.0"

[library.GameKit]
imports = ["AppKit", "Foundation"]
extra-features = [
"AppKit_NSViewController",
]
extra-features = ["AppKit_NSViewController"]
macos = "10.8"
maccatalyst = "13.0"
ios = "3.0"
Expand Down Expand Up @@ -273,9 +265,7 @@ watchos = "9.0"

[library.LocalAuthenticationEmbeddedUI]
imports = ["AppKit", "Foundation", "LocalAuthentication"]
extra-features = [
"AppKit_NSWindow",
]
extra-features = ["AppKit_NSWindow"]
macos = "12.0"
maccatalyst = "16.0"
ios = "16.0"
Expand Down Expand Up @@ -389,9 +379,7 @@ watchos = "6.2"

[library.UniformTypeIdentifiers]
imports = ["Foundation"]
extra-features = [
"UniformTypeIdentifiers_UTType",
]
extra-features = ["UniformTypeIdentifiers_UTType"]
macos = "11.0"
maccatalyst = "14.0"
ios = "14.0"
Expand Down Expand Up @@ -1229,6 +1217,10 @@ skipped = true
skipped = true
[class.MPAdTimeRange.methods.setTimeRange]
skipped = true
# Uses LocalAuthentication framework
[protocol.ASAuthorizationWebBrowserExternallyAuthenticatableRequest.methods]
authenticatedContext = { skipped = true }
setAuthenticatedContext = { skipped = true }

# Uses a pointer to SEL, which doesn't implement Encode yet
[protocol.NSMenuDelegate.methods]
Expand Down
2 changes: 1 addition & 1 deletion crates/icrate/src/generated
2 changes: 1 addition & 1 deletion crates/icrate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ pub mod UserNotifications;
#[cfg(feature = "WebKit")]
pub mod WebKit;

/// Deprecated alias of [`Foundation::ns_string`][crate::Foundation::ns_string].
/// Deprecated alias of [`Foundation::ns_string`].
#[macro_export]
#[deprecated = "use icrate::Foundation::ns_string instead"]
#[cfg(feature = "Foundation_NSString")]
Expand Down
2 changes: 1 addition & 1 deletion crates/objc2/src/message/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ unsafe impl<'a> MessageReceiver for &'a AnyClass {
/// Types that may be used as the arguments of an Objective-C message.
///
/// This is implemented for tuples of up to 16 arguments, where each argument
/// implements [`Encode`][crate::Encode] (or can be converted from one).
/// implements [`Encode`] (or can be converted from one).
///
///
/// # Safety
Expand Down

0 comments on commit f04c88c

Please sign in to comment.