I'm building a native binary/library that shall ac...
# kotlin-native
s
I'm building a native binary/library that shall access Apple Photos and therefore needs entitlements like this:
Copy code
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "<http://www.apple.com/DTDs/PropertyList-1.0.dtd>">
<plist version="1.0">
<dict>
	<key>com.apple.security.personal-information.photos-library</key>
	<true/>
</dict>
</plist>
How do I add them? That's my configuration so far. I guess I need to specify the file somehow there.
Copy code
listOf(
    macosX64(),
    macosArm64()
).forEach {

    it.binaries.executable(setOf(NativeBuildType.RELEASE)) {
        baseName = "photoshelper"
    }
}