AdAttributionKit compatibility with Objective-C

Hello, mates. It looks like the newly backed AdAttributionKit is not directly compatible with Objective-C, I cannot import and use the framework. In Swift everything is perfect. I cannot find any official statements in Apple's documentation regarding that. Could anyone shed some light on this issue, please? Thanks.

One way you can determine this answer is to look for the Objective-C headers in the iOS SDK, such as AdAttributionKit.h. That file is empty — if there were Objective-C headers, they would need to be #import declared in that file. Just to confirm further, if you look at the folder structure inside the iOS 18 SDK for the API declarations:

AdAttributionKit.framework
├── AdAttributionKit.tbd
├── Headers
│   └── AdAttributionKit.h
└── Modules
    ├── AdAttributionKit.swiftcrossimport
    │   └── StoreKit.swiftoverlay
    ├── AdAttributionKit.swiftmodule
    │   ├── arm64-apple-ios.swiftdoc
    │   ├── arm64-apple-ios.swiftinterface
    │   ├── arm64e-apple-ios.swiftdoc
    │   └── arm64e-apple-ios.swiftinterface
    └── module.modulemap

Indeed, there are no headers present that would be required to expose an Objective-C interface, just the Swift interface files.

— Ed Ford,  DTS Engineer

AdAttributionKit compatibility with Objective-C
 
 
Q