Not safe for use in application extensions
adrianod1as opened this issue · comments
Adriano Dias commented
d: warning: linking against a dylib which is not safe for use in application extensions: /.../Carthage/Build/iOS/Disk.framework/Disk
Would it be possible to make it safe?
Saoud Rizwan commented
It looks like if a module uses certain APIs that an extension doesn't allow, Xcode 10 spits out this warning. There doesn't seem to be any problems with this, but try turning on "Require Only App-Extension-Safe API" in the build settings in Xcode - that should silence the warning.
I will look into a fix for this.
Saoud Rizwan commented
Thank you for the PR, it was merged Disk works without warning in Extensions starting from version 0.4.0