Skip to content

Commit efaa61c

Browse files
committed
Mark frameworks as safe for app extensions
Given that we're not using anything that can't be used in an app extension, it really makes sense to restrict ourselves to APIs that can be used in app extensions. This won't restrict usage for applications, but will open up the ability to use Box (and anything that depends on Box) inside extensions.
1 parent 3a4e4d1 commit efaa61c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Box.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@
462462
D470AC4E19E86128003DA6C6 /* Debug */ = {
463463
isa = XCBuildConfiguration;
464464
buildSettings = {
465+
APPLICATION_EXTENSION_API_ONLY = YES;
465466
CLANG_ENABLE_MODULES = YES;
466467
COMBINE_HIDPI_IMAGES = YES;
467468
DEFINES_MODULE = YES;
@@ -481,6 +482,7 @@
481482
D470AC4F19E86128003DA6C6 /* Release */ = {
482483
isa = XCBuildConfiguration;
483484
buildSettings = {
485+
APPLICATION_EXTENSION_API_ONLY = YES;
484486
CLANG_ENABLE_MODULES = YES;
485487
COMBINE_HIDPI_IMAGES = YES;
486488
DEFINES_MODULE = YES;
@@ -531,6 +533,7 @@
531533
F8BB81E71A939B67001AA352 /* Debug */ = {
532534
isa = XCBuildConfiguration;
533535
buildSettings = {
536+
APPLICATION_EXTENSION_API_ONLY = YES;
534537
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
535538
DEBUG_INFORMATION_FORMAT = dwarf;
536539
DEFINES_MODULE = YES;
@@ -554,6 +557,7 @@
554557
F8BB81E81A939B67001AA352 /* Release */ = {
555558
isa = XCBuildConfiguration;
556559
buildSettings = {
560+
APPLICATION_EXTENSION_API_ONLY = YES;
557561
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
558562
COPY_PHASE_STRIP = NO;
559563
DEFINES_MODULE = YES;

0 commit comments

Comments
 (0)