dll equivelant

I have a client who has their own app and would like to include some functionality we can provide.


Our code would just be a library with no interface needed.


Is there a way we can give this to them in a closed file/way so they don't see the code but can use it in their app?


Please provide options, thx.

Accepted Reply

The supported way a vendor, such as yourself, can have a client integrate your closed source library is to use an XCFramework. We introduce them and the situations where they are useful in a WWDC session, and the documentation on creating one is in Xcode's Help.

Replies

The direct equivalent to a Windows dll is a dylib (dynamic library). Static libraries (.a) are another option that goes way back to the beginnings of Unix. If you need to supply headers along with the library in order for client code to compile, for Apple, frameworks are a convenient container that can enclose both headers and the dynamic library. These are all easy to build within Xcode. If you are targeting iOS, frameworks and static libraries seem to be the best options (not an iOS programmer, just based on what I've learned on various forums and reading Apple documentation).

The supported way a vendor, such as yourself, can have a client integrate your closed source library is to use an XCFramework. We introduce them and the situations where they are useful in a WWDC session, and the documentation on creating one is in Xcode's Help.

ok thanks for the options