Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Require Only App-Extension-Safe API #893

Merged
merged 1 commit into from
May 13, 2019
Merged

Support Require Only App-Extension-Safe API #893

merged 1 commit into from
May 13, 2019

Conversation

yutae
Copy link
Contributor

@yutae yutae commented Apr 26, 2019

Support Require Only App-Extension-Safe API

Hi 😄 .

I found a warning while developing my today extension app.
This warning only occurs when using Carthage. (cocoapods is fine.)

warning: Linking against a dylib which is not safe for use in application extensions: /Carthage/Build/iOS/Lottie.framework/Lottie

I set iOS macOS tvOS targets Require Only App-Extension-Safe API build setting to Yes and then the build succeeded.
(macOS build succeeded with #880)

For more information, please refer to Apple document

To configure an app extension target to use an embedded framework, set the target’s "Require Only App-Extension-Safe API" build setting to Yes. If you don’t, Xcode reminds you to do so by displaying the warning "linking against dylib not safe for use in application extensions".

@thedrick thedrick merged commit 68948a6 into airbnb:master May 13, 2019
calda pushed a commit that referenced this pull request Nov 28, 2022
…-Safe-API

Support Require Only App-Extension-Safe API
calda pushed a commit that referenced this pull request Dec 1, 2022
…-Safe-API

Support Require Only App-Extension-Safe API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants