I have a project with
- purpose of one application:
MyApp - One goal of the Embedded Framework:
MyKit.framework - The purpose of one application extension:
MyExtension
Here is an example project.
I want to use the generic code MyKitin MyExtension, but when I link it, I get a warning
ld: warning: linking against a dylib which is not safe for use in application extensions: /Users/me/Library/Developer/Xcode/DerivedData/MyApp-dnztzmxjghjlsteetlokzhjtjqkm/Build/Products/Debug-iphonesimulator/MyKit.framework/MyKit
Apple documentation says
To configure the purpose of the application to use the built-in framework, set the Require only App-Extension-Safe API option to Yes. If you don’t do this, Xcode reminds you of this with the warning “binding to dylib is unsafe for use in application extensions.”
. , " API- ", .
API . , , MyKit.framework .
, ?