-
Notifications
You must be signed in to change notification settings - Fork 569
HomeKit iOS xcode27.0 b1
Alex Soto edited this page Jun 9, 2026
·
1 revision
#HomeKit.framework
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupManager.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupManager.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupManager.h 2026-04-18 23:50:11
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupManager.h 2026-05-27 01:23:23
@@ -20,12 +20,16 @@
*/
HM_EXTERN
NS_SWIFT_SENDABLE
-API_AVAILABLE(ios(15.0))
+API_AVAILABLE(ios(15.0), macos(27.0), macCatalyst(27.0))
API_UNAVAILABLE(watchos, tvos, visionos)
-API_UNAVAILABLE(macos, macCatalyst)
@interface HMAccessorySetupManager : NSObject
- (instancetype)init;
+
+/*!
+ * @abstract A flag that indicates whether `HMAccessorySetupManager` usage is supported
+ */
+@property (class, readonly, assign, getter=isSupported) BOOL supported API_AVAILABLE(ios(27.0), macos(27.0));
/*!
* @abstract Launch system UI to perform the process of setting up accessories with the given request.
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupPayload.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupPayload.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupPayload.h 2026-04-18 23:50:10
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupPayload.h 2026-05-27 01:23:23
@@ -10,7 +10,10 @@
NS_HEADER_AUDIT_BEGIN(nullability, sendability)
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(macos, watchos, tvos, macCatalyst)
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(13.0), macos(27.0), macCatalyst(27.0))
+API_UNAVAILABLE(watchos, tvos)
@interface HMAccessoryOwnershipToken : NSObject
- (instancetype)init NS_UNAVAILABLE;
@@ -30,7 +33,10 @@
@end
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(11.3)) API_UNAVAILABLE(macos, watchos, tvos, macCatalyst)
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(11.3), macos(27.0), macCatalyst(27.0))
+API_UNAVAILABLE(watchos, tvos)
@interface HMAccessorySetupPayload : NSObject
- (instancetype)init NS_UNAVAILABLE;
@@ -54,7 +60,7 @@
*
* @return Returns an accessory setup payload object if successful or nil on error.
*/
-- (nullable instancetype)initWithURL:(NSURL *)setupPayloadURL ownershipToken:(nullable HMAccessoryOwnershipToken *)ownershipToken API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(macos, watchos, tvos);
+- (nullable instancetype)initWithURL:(NSURL *)setupPayloadURL ownershipToken:(nullable HMAccessoryOwnershipToken *)ownershipToken API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos);
@end
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupRequest.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupRequest.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupRequest.h 2026-04-18 23:50:11
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupRequest.h 2026-05-27 01:23:23
@@ -15,9 +15,8 @@
HM_EXTERN
NS_SWIFT_SENDABLE
-API_AVAILABLE(ios(15.4))
+API_AVAILABLE(ios(15.4), macos(27.0), macCatalyst(27.0))
API_UNAVAILABLE(watchos, tvos, visionos)
-API_UNAVAILABLE(macos, macCatalyst)
@interface HMAccessorySetupRequest : NSObject<NSCopying>
- (instancetype)init;
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupResult.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupResult.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupResult.h 2026-04-18 23:50:12
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupResult.h 2026-05-27 01:23:23
@@ -11,7 +11,10 @@
NS_HEADER_AUDIT_BEGIN(nullability, sendability)
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(15.4)) API_UNAVAILABLE(watchos, tvos, visionos) API_UNAVAILABLE(macos, macCatalyst)
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(15.4), macos(27.0), macCatalyst(27.0))
+API_UNAVAILABLE(watchos, tvos, visionos)
@interface HMAccessorySetupResult : NSObject<NSCopying>
/*!
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMEventTrigger.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMEventTrigger.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMEventTrigger.h 2026-04-18 23:45:32
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMEventTrigger.h 2026-05-27 02:05:39
@@ -210,7 +210,7 @@
* @param significantEvent The significant event to compare against.
* The valid values are: HMSignificantEventSunrise and HMSignificantEventSunset.
*
- * @param offset An offset from the time of the signficant event. To specify an offset before the significant event, the
+ * @param offset An offset from the time of the significant event. To specify an offset before the significant event, the
* properties of the NSDateComponents must be negative value. e.g. To specify 30 mins before sunset, the
* 'minute' property must be set to -30.
*
@@ -234,7 +234,7 @@
* @param significantEvent The significant event to compare against.
* The valid values are: HMSignificantEventSunrise and HMSignificantEventSunset.
*
- * @param offset An offset from the time of the signficant event. To specify an offset after the significant event, the
+ * @param offset An offset from the time of the significant event. To specify an offset after the significant event, the
* properties of the NSDateComponents must be positive value. e.g. To specify 30 mins after sunset, the
* 'minute' property must be set to 30.
*
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMHome.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMHome.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMHome.h 2026-04-18 23:35:01
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMHome.h 2026-05-28 05:46:49
@@ -219,8 +219,7 @@
* @param completion Block that is invoked once the request is processed.
* The HMUser object provides a reference to the user that was added to the home.
* The NSError provides more information on the status of the request, error
- * will be nil on success. The userInfo dictionary will contain the HMUserFailedAccessoriesKey which provides
- * more details on the accessories that failed to add the user.
+ * will be nil on success.
*/
- (void)addUserWithCompletionHandler:(void (^)(HMUser *__nullable user, NSError *__nullable error))completion API_DEPRECATED_WITH_REPLACEMENT("-manageUsersWithCompletionHandler:", ios(8.0, 9.0)) API_UNAVAILABLE(watchos, tvos, macos, macCatalyst);
@@ -231,8 +230,7 @@
*
* @param completion Block that is invoked once the request is processed.
* The NSError provides more information on the status of the request, error
- * will be nil on success. The userInfo dictionary will contain the HMUserFailedAccessoriesKey which provides
- * more details on the accessories that failed to remove the user.
+ * will be nil on success.
*/
- (void)removeUser:(HMUser *)user completionHandler:(void (^)(NSError *__nullable error))completion API_DEPRECATED_WITH_REPLACEMENT("-manageUsersWithCompletionHandler:", ios(8.0, 9.0)) API_UNAVAILABLE(macos, watchos, tvos);
@@ -796,6 +794,6 @@
* corresponding to the dictionary key is an NSError that provides more details on the
* underlying error for that accessory.
*/
-HM_EXTERN NSString *const HMUserFailedAccessoriesKey API_AVAILABLE(ios(8.0), watchos(2.0), tvos(10.0), macCatalyst(14.0)) API_UNAVAILABLE(macos);
+HM_EXTERN NSString *const HMUserFailedAccessoriesKey API_DEPRECATED("No longer supported", ios(8.0, 27.0), watchos(2.0, 27.0), tvos(10.0, 27.0), macCatalyst(14.0, 27.0));
NS_ASSUME_NONNULL_END