Hi, Apple just released the new Xcode 12.5 that br...
# ios
g
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 (https://github.com/JetBrains/kotlin-native/blob/master/utilities/env_blacklist)
👀 2
b
Definitely file a KT issue for this 🙏
g
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