Skip to content

Commit

Permalink
Update to Xcode 15.3
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Mar 14, 2024
1 parent 6d8eabb commit aa607b5
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ jobs:
- lint

env:
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions crates/header-translator/src/unexposed_attr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ impl UnexposedAttr {
let _ = get_arguments();
None
}
"NS_SWIFT_SENDABLE" => Some(Self::Sendable),
"NS_SWIFT_SENDABLE" | "AS_SWIFT_SENDABLE" => Some(Self::Sendable),
"NS_SWIFT_NONSENDABLE" => Some(Self::NonSendable),
"NS_SWIFT_UI_ACTOR" => Some(Self::UIActor),
"NS_SWIFT_NONISOLATED" => Some(Self::NonIsolated),
Expand All @@ -87,7 +87,7 @@ impl UnexposedAttr {
"__unused" => None,
// We assume that a function is inline if it has a body, so not
// interesting.
"NS_INLINE" => None,
"CF_INLINE" | "NS_INLINE" => None,
// We don't synthethize properties, so irrelevant for us.
"NS_REQUIRES_PROPERTY_DEFINITIONS" => None,
// Weak specifiers - would be interesting if Rust supported weak statics
Expand Down
3 changes: 3 additions & 0 deletions crates/header-translator/translation-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1348,6 +1348,9 @@ skipped = true
# Needs `JSValue` from the `JavaScriptCore` framework
[class.WebScriptObject.methods.JSValue]
skipped = true
# Needs mach / kernel types
[protocol.MTLResource.methods."setOwnerWithIdentity:"]
skipped = true

# Uses a pointer to SEL, which doesn't implement Encode yet
[protocol.NSMenuDelegate.methods]
Expand Down
3 changes: 2 additions & 1 deletion crates/icrate/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
`NSWindowLevel` constants).

### Changed
* Updated SDK from Xcode 15.0.1 to 15.2.
* Updated SDK from Xcode 15.0.1 to 15.3.

View the release notes to learn more details:
- [15.1](https://developer.apple.com/documentation/xcode-release-notes/xcode-15_1-release-notes)
- [15.2](https://developer.apple.com/documentation/xcode-release-notes/xcode-15_2-release-notes)
- [15.3](https://developer.apple.com/documentation/xcode-release-notes/xcode-15_3-release-notes)
* **BREAKING**: Changed how categories are handled; now, when a library has
defined methods on a class defined in a different framework, a helper trait
is output with the methods, instead of the methods being implemented
Expand Down
14 changes: 14 additions & 0 deletions crates/icrate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,9 @@ AuthenticationServices_ASAuthorizationWebBrowserPlatformPublicKeyCredentialAsser
AuthenticationServices_ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider = []
AuthenticationServices_ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest = []
AuthenticationServices_ASAuthorizationWebBrowserPublicKeyCredentialManager = []
AuthenticationServices_ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialAssertionRequest = []
AuthenticationServices_ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialProvider = []
AuthenticationServices_ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialRegistrationRequest = []
AuthenticationServices_ASCOSEConstants = []
AuthenticationServices_ASCredentialIdentity = []
AuthenticationServices_ASCredentialIdentityStore = []
Expand All @@ -910,6 +913,7 @@ AuthenticationServices_ASPublicKeyCredential = []
AuthenticationServices_ASPublicKeyCredentialClientData = []
AuthenticationServices_ASSettingsHelper = []
AuthenticationServices_ASWebAuthenticationSession = []
AuthenticationServices_ASWebAuthenticationSessionCallback = []
AuthenticationServices_ASWebAuthenticationSessionRequest = []
AuthenticationServices_ASWebAuthenticationSessionWebBrowserSessionHandling = []
AuthenticationServices_ASWebAuthenticationSessionWebBrowserSessionManager = []
Expand Down Expand Up @@ -973,6 +977,9 @@ AuthenticationServices_all = [
"AuthenticationServices_ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider",
"AuthenticationServices_ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest",
"AuthenticationServices_ASAuthorizationWebBrowserPublicKeyCredentialManager",
"AuthenticationServices_ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialAssertionRequest",
"AuthenticationServices_ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialProvider",
"AuthenticationServices_ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialRegistrationRequest",
"AuthenticationServices_ASCOSEConstants",
"AuthenticationServices_ASCredentialIdentity",
"AuthenticationServices_ASCredentialIdentityStore",
Expand All @@ -995,6 +1002,7 @@ AuthenticationServices_all = [
"AuthenticationServices_ASPublicKeyCredentialClientData",
"AuthenticationServices_ASSettingsHelper",
"AuthenticationServices_ASWebAuthenticationSession",
"AuthenticationServices_ASWebAuthenticationSessionCallback",
"AuthenticationServices_ASWebAuthenticationSessionRequest",
"AuthenticationServices_ASWebAuthenticationSessionWebBrowserSessionHandling",
"AuthenticationServices_ASWebAuthenticationSessionWebBrowserSessionManager",
Expand Down Expand Up @@ -2053,6 +2061,7 @@ GameController = [
"AppKit",
"Foundation",
]
GameController_GCAxis2DInput = []
GameController_GCAxisElement = []
GameController_GCAxisInput = []
GameController_GCButtonElement = []
Expand Down Expand Up @@ -2108,9 +2117,11 @@ GameController_GCSwitchElement = []
GameController_GCSwitchPositionInput = []
GameController_GCSyntheticDeviceKeys = []
GameController_GCTouchedStateInput = []
GameController_GCTypes = []
GameController_GCXboxGamepad = []
GameController_all = [
"GameController",
"GameController_GCAxis2DInput",
"GameController_GCAxisElement",
"GameController_GCAxisInput",
"GameController_GCButtonElement",
Expand Down Expand Up @@ -2166,6 +2177,7 @@ GameController_all = [
"GameController_GCSwitchPositionInput",
"GameController_GCSyntheticDeviceKeys",
"GameController_GCTouchedStateInput",
"GameController_GCTypes",
"GameController_GCXboxGamepad",
]
GameKit = [
Expand Down Expand Up @@ -2811,10 +2823,12 @@ MetalFX = [
"Foundation",
"Metal",
]
MetalFX_MTLFXDefines = []
MetalFX_MTLFXSpatialScaler = []
MetalFX_MTLFXTemporalScaler = []
MetalFX_all = [
"MetalFX",
"MetalFX_MTLFXDefines",
"MetalFX_MTLFXSpatialScaler",
"MetalFX_MTLFXTemporalScaler",
]
Expand Down
2 changes: 1 addition & 1 deletion crates/icrate/src/generated
10 changes: 5 additions & 5 deletions crates/icrate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
//!
//! ## Supported versions
//!
//! - macOS: `10.12-14.2`
//! - iOS/iPadOS: `10.0-17.2` (WIP)
//! - tvOS: `10.0-17.2` (WIP)
//! - watchOS: `5.0-10.2` (WIP)
//! - macOS: `10.12-14.4`
//! - iOS/iPadOS: `10.0-17.4` (WIP)
//! - tvOS: `10.0-17.4` (WIP)
//! - watchOS: `5.0-10.4` (WIP)
//! - visionOS: Not currently supported
//!
//! These bindings are currently generated from the SDKs in Xcode 15.2.
//! These bindings are currently generated from the SDKs in Xcode 15.3.
//! The Xcode version will be periodically updated.
//!
//!
Expand Down

0 comments on commit aa607b5

Please sign in to comment.