saoudrizwan / Disk

Delightful framework for iOS to easily persist structs, images, and data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not safe for use in application extensions

adrianod1as opened this issue · comments

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?

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.

Thank you for the PR, it was merged Disk works without warning in Extensions starting from version 0.4.0