-
Notifications
You must be signed in to change notification settings - Fork 542
Security iOS xcode26.0 b1
Alex Soto edited this page Jun 9, 2025
·
1 revision
#Security.framework
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h 2025-04-21 00:30:49
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h 2025-05-30 23:01:57
@@ -70,6 +70,12 @@
#define CSSM_DEPRECATED API_DEPRECATED("CSSM is not supported", macos(10.0, 10.7)) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst)
+#if __has_attribute(swift_attr)
+#define SEC_SWIFT_SENDABLE __attribute__((swift_attr("@Sendable")))
+#else
+#define SEC_SWIFT_SENDABLE
+#endif
+
__BEGIN_DECLS
CF_ASSUME_NONNULL_BEGIN
@@ -82,7 +88,7 @@
@abstract CFType representing a X.509 certificate.
See SecCertificate.h for details.
*/
-typedef struct CF_BRIDGED_TYPE(id) __SecCertificate *SecCertificateRef;
+SEC_SWIFT_SENDABLE typedef struct CF_BRIDGED_TYPE(id) __SecCertificate *SecCertificateRef;
#if TARGET_OS_OSX
typedef struct __SecCertificate OpaqueSecCertificateRef;