Skip to content

Commit a150c12

Browse files
committed
Merge pull request #12 from ReactKit/code-sign
Add iOS-CODE_SIGN_IDENTITY for OSX-build-scheme as well.
2 parents f4b7d0e + 588a27a commit a150c12

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

SwiftState.xcodeproj/project.pbxproj

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@
483483
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
484484
CLANG_WARN_UNREACHABLE_CODE = YES;
485485
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
486+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
486487
COPY_PHASE_STRIP = NO;
487488
CURRENT_PROJECT_VERSION = 1;
488489
ENABLE_STRICT_OBJC_MSGSEND = YES;
@@ -500,9 +501,11 @@
500501
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
501502
GCC_WARN_UNUSED_FUNCTION = YES;
502503
GCC_WARN_UNUSED_VARIABLE = YES;
504+
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
505+
MACOSX_DEPLOYMENT_TARGET = 10.9;
503506
MTL_ENABLE_DEBUG_INFO = YES;
504507
ONLY_ACTIVE_ARCH = YES;
505-
SDKROOT = macosx;
508+
SDKROOT = iphoneos;
506509
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
507510
VERSIONING_SYSTEM = "apple-generic";
508511
VERSION_INFO_PREFIX = "";
@@ -526,6 +529,7 @@
526529
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
527530
CLANG_WARN_UNREACHABLE_CODE = YES;
528531
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
532+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
529533
COPY_PHASE_STRIP = YES;
530534
CURRENT_PROJECT_VERSION = 1;
531535
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
@@ -538,8 +542,10 @@
538542
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
539543
GCC_WARN_UNUSED_FUNCTION = YES;
540544
GCC_WARN_UNUSED_VARIABLE = YES;
545+
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
546+
MACOSX_DEPLOYMENT_TARGET = 10.9;
541547
MTL_ENABLE_DEBUG_INFO = NO;
542-
SDKROOT = macosx;
548+
SDKROOT = iphoneos;
543549
VERSIONING_SYSTEM = "apple-generic";
544550
VERSION_INFO_PREFIX = "";
545551
};
@@ -560,6 +566,7 @@
560566
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
561567
MACOSX_DEPLOYMENT_TARGET = 10.9;
562568
PRODUCT_NAME = "$(PROJECT_NAME)";
569+
SDKROOT = macosx;
563570
SKIP_INSTALL = YES;
564571
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
565572
};
@@ -580,6 +587,7 @@
580587
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
581588
MACOSX_DEPLOYMENT_TARGET = 10.9;
582589
PRODUCT_NAME = "$(PROJECT_NAME)";
590+
SDKROOT = macosx;
583591
SKIP_INSTALL = YES;
584592
};
585593
name = Release;
@@ -654,6 +662,7 @@
654662
4872D5BC19B4211900F326B5 /* Debug */ = {
655663
isa = XCBuildConfiguration;
656664
buildSettings = {
665+
CODE_SIGN_IDENTITY = "iPhone Developer";
657666
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
658667
DEFINES_MODULE = YES;
659668
DYLIB_COMPATIBILITY_VERSION = 1;
@@ -676,6 +685,7 @@
676685
4872D5BD19B4211900F326B5 /* Release */ = {
677686
isa = XCBuildConfiguration;
678687
buildSettings = {
688+
CODE_SIGN_IDENTITY = "iPhone Developer";
679689
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
680690
DEFINES_MODULE = YES;
681691
DYLIB_COMPATIBILITY_VERSION = 1;

0 commit comments

Comments
 (0)