Skip to content

Commit

Permalink
Set APPLICATION_EXTENSION_API_ONLY to YES to resolve warning
Browse files Browse the repository at this point in the history
- If this is set to NO, the warning occurs: `ld: warning: linking against a dylib which is not safe for use in application extensions: /Users/mono/Git/Aquatica/ghost-ios/Carthage/Build/iOS/NSObject_Rx.framework/NSObject_Rx`
  • Loading branch information
mono0926 committed Oct 1, 2017
1 parent 58cd60b commit 907a9d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NSObject-Rx.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@
188C6D9B1C47B2B20092101A /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES;
CLANG_ENABLE_MODULES = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
CURRENT_PROJECT_VERSION = 1;
Expand Down Expand Up @@ -181,6 +182,7 @@
188C6D9C1C47B2B20092101A /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES;
CLANG_ENABLE_MODULES = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
CURRENT_PROJECT_VERSION = 1;
Expand Down

0 comments on commit 907a9d3

Please sign in to comment.