Skip to content

Commit f89f595

Browse files
authored
Enable flipper on iOS (#1468)
1 parent 3dafa66 commit f89f595

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

ios/Podfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ target 'rnuilib' do
1919
# use_flipper!()
2020
end
2121

22+
# Enables Flipper.
23+
#
24+
# Note that if you have use_frameworks! enabled, Flipper will not work and
25+
# you should disable the next line.
26+
use_flipper!()
27+
2228
post_install do |installer|
2329
react_native_post_install(installer)
2430
end

ios/rnuilib.xcodeproj/project.pbxproj

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@
193193
00E356EB1AD99517003FC87E /* Frameworks */,
194194
00E356EC1AD99517003FC87E /* Resources */,
195195
F68A06EBFB89A15C94C6B5FF /* [CP] Copy Pods Resources */,
196+
2403068A2103B3AD40F9CB77 /* [CP] Embed Pods Frameworks */,
196197
);
197198
buildRules = (
198199
);
@@ -215,6 +216,7 @@
215216
13B07F8E1A680F5B00A75B9A /* Resources */,
216217
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
217218
6A01744B3971F15EA74E9EC1 /* [CP] Copy Pods Resources */,
219+
B501C960470EF44E6FDFF61C /* [CP] Embed Pods Frameworks */,
218220
);
219221
buildRules = (
220222
);
@@ -380,6 +382,24 @@
380382
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
381383
showEnvVarsInLog = 0;
382384
};
385+
2403068A2103B3AD40F9CB77 /* [CP] Embed Pods Frameworks */ = {
386+
isa = PBXShellScriptBuildPhase;
387+
buildActionMask = 2147483647;
388+
files = (
389+
);
390+
inputPaths = (
391+
"${PODS_ROOT}/Target Support Files/Pods-rnuilib-rnuilibTests/Pods-rnuilib-rnuilibTests-frameworks.sh",
392+
"${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL/OpenSSL.framework/OpenSSL",
393+
);
394+
name = "[CP] Embed Pods Frameworks";
395+
outputPaths = (
396+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OpenSSL.framework",
397+
);
398+
runOnlyForDeploymentPostprocessing = 0;
399+
shellPath = /bin/sh;
400+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-rnuilib-rnuilibTests/Pods-rnuilib-rnuilibTests-frameworks.sh\"\n";
401+
showEnvVarsInLog = 0;
402+
};
383403
2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
384404
isa = PBXShellScriptBuildPhase;
385405
buildActionMask = 2147483647;
@@ -412,6 +432,24 @@
412432
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-rnuilib/Pods-rnuilib-resources.sh\"\n";
413433
showEnvVarsInLog = 0;
414434
};
435+
B501C960470EF44E6FDFF61C /* [CP] Embed Pods Frameworks */ = {
436+
isa = PBXShellScriptBuildPhase;
437+
buildActionMask = 2147483647;
438+
files = (
439+
);
440+
inputPaths = (
441+
"${PODS_ROOT}/Target Support Files/Pods-rnuilib/Pods-rnuilib-frameworks.sh",
442+
"${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL/OpenSSL.framework/OpenSSL",
443+
);
444+
name = "[CP] Embed Pods Frameworks";
445+
outputPaths = (
446+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OpenSSL.framework",
447+
);
448+
runOnlyForDeploymentPostprocessing = 0;
449+
shellPath = /bin/sh;
450+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-rnuilib/Pods-rnuilib-frameworks.sh\"\n";
451+
showEnvVarsInLog = 0;
452+
};
415453
D7E6439E4D8846E5E7EBBA81 /* [CP] Check Pods Manifest.lock */ = {
416454
isa = PBXShellScriptBuildPhase;
417455
buildActionMask = 2147483647;

0 commit comments

Comments
 (0)