Skip to content

Commit 83a7271

Browse files
committed
fix iOS issues
1 parent 794f6e7 commit 83a7271

File tree

3 files changed

+24
-30
lines changed

3 files changed

+24
-30
lines changed
File renamed without changes.

ios/Sample.xcodeproj/project.pbxproj

Lines changed: 14 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
2424
3D74A9A83D1AEF3D69F69B19 /* libPods-Sample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3765187F1730E17E74E7CC6C /* libPods-Sample.a */; };
2525
832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
26-
D339AEF21BAA809100CFA651 /* libRNKeyboardEvents.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D339AEF01BAA808800CFA651 /* libRNKeyboardEvents.a */; };
2726
D36840121BEA726800A9B3F4 /* TestRunnerManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D36840111BEA726800A9B3F4 /* TestRunnerManager.m */; };
2827
D374ADC51BA929C500453203 /* libRNKeychain.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D374ADC41BA929BA00453203 /* libRNKeychain.a */; };
2928
D374ADD31BA9336E00453203 /* EnvironmentManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D374ADD21BA9336E00453203 /* EnvironmentManager.m */; };
@@ -100,13 +99,6 @@
10099
remoteGlobalIDString = 58B5119B1A9E6C1200147676;
101100
remoteInfo = RCTText;
102101
};
103-
D339AEEF1BAA808800CFA651 /* PBXContainerItemProxy */ = {
104-
isa = PBXContainerItemProxy;
105-
containerPortal = D339AEE11BAA808800CFA651 /* RNKeyboardEvents.xcodeproj */;
106-
proxyType = 2;
107-
remoteGlobalIDString = F12AFB9B1ADAF8F800E0535D;
108-
remoteInfo = RNKeyboardEvents;
109-
};
110102
D374ADC31BA929BA00453203 /* PBXContainerItemProxy */ = {
111103
isa = PBXContainerItemProxy;
112104
containerPortal = D374ADB51BA929B900453203 /* RNKeychain.xcodeproj */;
@@ -136,7 +128,7 @@
136128
3765187F1730E17E74E7CC6C /* libPods-Sample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Sample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
137129
78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = "<group>"; };
138130
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = "<group>"; };
139-
D339AEE11BAA808800CFA651 /* RNKeyboardEvents.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RNKeyboardEvents.xcodeproj; path = "../node_modules/react-native-keyboardevents/RNKeyboardEvents.xcodeproj"; sourceTree = "<group>"; };
131+
D367C7761DCD49AF007AA6C7 /* Sample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = Sample.entitlements; path = Sample/Sample.entitlements; sourceTree = "<group>"; };
140132
D36840111BEA726800A9B3F4 /* TestRunnerManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = TestRunnerManager.m; path = Sample/TestRunnerManager.m; sourceTree = "<group>"; };
141133
D36DCD9F1BD4A92600B3EB2F /* Staging.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Staging.xcconfig; sourceTree = "<group>"; };
142134
D36DCDA01BD4A92600B3EB2F /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; };
@@ -149,7 +141,6 @@
149141
isa = PBXFrameworksBuildPhase;
150142
buildActionMask = 2147483647;
151143
files = (
152-
D339AEF21BAA809100CFA651 /* libRNKeyboardEvents.a in Frameworks */,
153144
D374ADC51BA929C500453203 /* libRNKeychain.a in Frameworks */,
154145
146834051AC3E58100842450 /* libReact.a in Frameworks */,
155146
00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
@@ -234,6 +225,7 @@
234225
13B07FAE1A68108700A75B9A /* Sample */ = {
235226
isa = PBXGroup;
236227
children = (
228+
D367C7761DCD49AF007AA6C7 /* Sample.entitlements */,
237229
D36840111BEA726800A9B3F4 /* TestRunnerManager.m */,
238230
008F07F21AC5B25A0029DE68 /* main.jsbundle */,
239231
13B07FAF1A68108700A75B9A /* AppDelegate.h */,
@@ -266,7 +258,6 @@
266258
832341AE1AAA6A7D00B99B32 /* Libraries */ = {
267259
isa = PBXGroup;
268260
children = (
269-
D339AEE11BAA808800CFA651 /* RNKeyboardEvents.xcodeproj */,
270261
D374ADB51BA929B900453203 /* RNKeychain.xcodeproj */,
271262
146833FF1AC3E56700842450 /* React.xcodeproj */,
272263
00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
@@ -312,14 +303,6 @@
312303
name = Products;
313304
sourceTree = "<group>";
314305
};
315-
D339AEE21BAA808800CFA651 /* Products */ = {
316-
isa = PBXGroup;
317-
children = (
318-
D339AEF01BAA808800CFA651 /* libRNKeyboardEvents.a */,
319-
);
320-
name = Products;
321-
sourceTree = "<group>";
322-
};
323306
D36DCD921BD4A91C00B3EB2F /* Config */ = {
324307
isa = PBXGroup;
325308
children = (
@@ -377,6 +360,16 @@
377360
attributes = {
378361
LastUpgradeCheck = 0610;
379362
ORGANIZATIONNAME = Facebook;
363+
TargetAttributes = {
364+
13B07F861A680F5B00A75B9A = {
365+
DevelopmentTeam = SW949P2V98;
366+
SystemCapabilities = {
367+
com.apple.Keychain = {
368+
enabled = 1;
369+
};
370+
};
371+
};
372+
};
380373
};
381374
buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Sample" */;
382375
compatibilityVersion = "Xcode 3.2";
@@ -430,10 +423,6 @@
430423
ProductGroup = 146834001AC3E56700842450 /* Products */;
431424
ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
432425
},
433-
{
434-
ProductGroup = D339AEE21BAA808800CFA651 /* Products */;
435-
ProjectRef = D339AEE11BAA808800CFA651 /* RNKeyboardEvents.xcodeproj */;
436-
},
437426
{
438427
ProductGroup = D374ADB61BA929B900453203 /* Products */;
439428
ProjectRef = D374ADB51BA929B900453203 /* RNKeychain.xcodeproj */;
@@ -517,13 +506,6 @@
517506
remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
518507
sourceTree = BUILT_PRODUCTS_DIR;
519508
};
520-
D339AEF01BAA808800CFA651 /* libRNKeyboardEvents.a */ = {
521-
isa = PBXReferenceProxy;
522-
fileType = archive.ar;
523-
path = libRNKeyboardEvents.a;
524-
remoteRef = D339AEEF1BAA808800CFA651 /* PBXContainerItemProxy */;
525-
sourceTree = BUILT_PRODUCTS_DIR;
526-
};
527509
D374ADC41BA929BA00453203 /* libRNKeychain.a */ = {
528510
isa = PBXReferenceProxy;
529511
fileType = archive.ar;
@@ -640,6 +622,7 @@
640622
baseConfigurationReference = D36DCDA01BD4A92600B3EB2F /* Debug.xcconfig */;
641623
buildSettings = {
642624
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
625+
CODE_SIGN_ENTITLEMENTS = Sample/Sample.entitlements;
643626
HEADER_SEARCH_PATHS = (
644627
"$(inherited)",
645628
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
@@ -748,6 +731,7 @@
748731
baseConfigurationReference = D36DCD9F1BD4A92600B3EB2F /* Staging.xcconfig */;
749732
buildSettings = {
750733
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
734+
CODE_SIGN_ENTITLEMENTS = Sample/Sample.entitlements;
751735
HEADER_SEARCH_PATHS = (
752736
"$(inherited)",
753737
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,

ios/Sample/Sample.entitlements

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>keychain-access-groups</key>
6+
<array>
7+
<string>$(AppIdentifierPrefix)org.reactjs.native.example.Sample</string>
8+
</array>
9+
</dict>
10+
</plist>

0 commit comments

Comments
 (0)