Skip to content

Commit b713044

Browse files
committed
Fix catalyst
1 parent f49aeaf commit b713044

File tree

1 file changed

+15
-1
lines changed
  • integration-tests/environments/react-native/ios/RealmReactNativeTests.xcodeproj

1 file changed

+15
-1
lines changed

integration-tests/environments/react-native/ios/RealmReactNativeTests.xcodeproj/project.pbxproj

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
5709B34CF0A7D63546082F79 /* Pods-RealmReactNativeTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RealmReactNativeTests.release.xcconfig"; path = "Target Support Files/Pods-RealmReactNativeTests/Pods-RealmReactNativeTests.release.xcconfig"; sourceTree = "<group>"; };
4242
5B7EB9410499542E8C5724F5 /* Pods-RealmReactNativeTests-RealmReactNativeTestsTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RealmReactNativeTests-RealmReactNativeTestsTests.debug.xcconfig"; path = "Target Support Files/Pods-RealmReactNativeTests-RealmReactNativeTestsTests/Pods-RealmReactNativeTests-RealmReactNativeTestsTests.debug.xcconfig"; sourceTree = "<group>"; };
4343
5DCACB8F33CDC322A6C60F78 /* libPods-RealmReactNativeTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RealmReactNativeTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
44+
71734F432850B0BD0075FC8A /* RealmReactNativeTests.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = RealmReactNativeTests.entitlements; path = RealmReactNativeTests/RealmReactNativeTests.entitlements; sourceTree = "<group>"; };
4445
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = RealmReactNativeTests/LaunchScreen.storyboard; sourceTree = "<group>"; };
4546
89C6BE57DB24E9ADA2F236DE /* Pods-RealmReactNativeTests-RealmReactNativeTestsTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RealmReactNativeTests-RealmReactNativeTestsTests.release.xcconfig"; path = "Target Support Files/Pods-RealmReactNativeTests-RealmReactNativeTestsTests/Pods-RealmReactNativeTests-RealmReactNativeTestsTests.release.xcconfig"; sourceTree = "<group>"; };
4647
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
@@ -86,6 +87,7 @@
8687
13B07FAE1A68108700A75B9A /* RealmReactNativeTests */ = {
8788
isa = PBXGroup;
8889
children = (
90+
71734F432850B0BD0075FC8A /* RealmReactNativeTests.entitlements */,
8991
13B07FAF1A68108700A75B9A /* AppDelegate.h */,
9092
13B07FB01A68108700A75B9A /* AppDelegate.mm */,
9193
13B07FB51A68108700A75B9A /* Images.xcassets */,
@@ -262,7 +264,7 @@
262264
);
263265
runOnlyForDeploymentPostprocessing = 0;
264266
shellPath = /bin/sh;
265-
shellScript = "set -e\n\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
267+
shellScript = "set -e\nexport PLATFORM_NAME=ios\n\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
266268
};
267269
00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
268270
isa = PBXShellScriptBuildPhase;
@@ -431,6 +433,7 @@
431433
baseConfigurationReference = 5B7EB9410499542E8C5724F5 /* Pods-RealmReactNativeTests-RealmReactNativeTestsTests.debug.xcconfig */;
432434
buildSettings = {
433435
BUNDLE_LOADER = "$(TEST_HOST)";
436+
DEVELOPMENT_TEAM = "";
434437
GCC_PREPROCESSOR_DEFINITIONS = (
435438
"DEBUG=1",
436439
"$(inherited)",
@@ -459,6 +462,7 @@
459462
buildSettings = {
460463
BUNDLE_LOADER = "$(TEST_HOST)";
461464
COPY_PHASE_STRIP = NO;
465+
DEVELOPMENT_TEAM = "";
462466
INFOPLIST_FILE = RealmReactNativeTestsTests/Info.plist;
463467
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
464468
LD_RUNPATH_SEARCH_PATHS = (
@@ -483,7 +487,10 @@
483487
buildSettings = {
484488
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
485489
CLANG_ENABLE_MODULES = YES;
490+
CODE_SIGN_ENTITLEMENTS = RealmReactNativeTests/RealmReactNativeTests.entitlements;
491+
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
486492
CURRENT_PROJECT_VERSION = 1;
493+
DEVELOPMENT_TEAM = "";
487494
ENABLE_BITCODE = NO;
488495
INFOPLIST_FILE = RealmReactNativeTests/Info.plist;
489496
LD_RUNPATH_SEARCH_PATHS = (
@@ -497,8 +504,10 @@
497504
);
498505
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
499506
PRODUCT_NAME = RealmReactNativeTests;
507+
SUPPORTS_MACCATALYST = YES;
500508
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
501509
SWIFT_VERSION = 5.0;
510+
TARGETED_DEVICE_FAMILY = "1,2";
502511
VERSIONING_SYSTEM = "apple-generic";
503512
};
504513
name = Debug;
@@ -509,7 +518,10 @@
509518
buildSettings = {
510519
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
511520
CLANG_ENABLE_MODULES = YES;
521+
CODE_SIGN_ENTITLEMENTS = RealmReactNativeTests/RealmReactNativeTests.entitlements;
522+
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
512523
CURRENT_PROJECT_VERSION = 1;
524+
DEVELOPMENT_TEAM = "";
513525
INFOPLIST_FILE = RealmReactNativeTests/Info.plist;
514526
LD_RUNPATH_SEARCH_PATHS = (
515527
"$(inherited)",
@@ -522,7 +534,9 @@
522534
);
523535
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
524536
PRODUCT_NAME = RealmReactNativeTests;
537+
SUPPORTS_MACCATALYST = YES;
525538
SWIFT_VERSION = 5.0;
539+
TARGETED_DEVICE_FAMILY = "1,2";
526540
VERSIONING_SYSTEM = "apple-generic";
527541
};
528542
name = Release;

0 commit comments

Comments
 (0)