# ios

Grzegorz Sagadyn

04/29/2021, 5:41 PM
Hi, Apple just released the new Xcode 12.5 that brings new Swift and so on but the new Xcode also brings the new requirement for libs that must be built with the APPLICATION_EXTENSION_API_ONLY set to true. So, when I try to build the app that consumes a KMP lib I get the following error:
Application extensions and any libraries they link to must be built with the APPLICATION_EXTENSION_API_ONLY build setting set to YES
Do you know any workaround for the above? Or do you have any schedule for a fix? I’m a little worried about it because I found that the mentioned flag is blacklisted (
👀 2


04/29/2021, 5:48 PM
Definitely file a KT issue for this 🙏

Grzegorz Sagadyn

04/29/2021, 5:50 PM
ok, I’ll prepare an example
sorry, but it seems like a false alarm, I changed the project config and now I’m getting only the warning like
linking against a dylib which is not safe for use in application extensions
👍 1