Skip to content

Commit 8266851

Browse files
committed
script update
1 parent 9cca64c commit 8266851

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

example/create_app.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,11 @@ def setup_react_native_app():
4545

4646
# If on iOS, run pod install
4747
if platform.system() == "Darwin":
48-
print("Running pod install")
49-
os.chdir("ios")
50-
os.system("pod install")
51-
os.chdir("..")
48+
if choice.lower() == "react":
49+
print("Running pod install")
50+
os.chdir("ios")
51+
os.system("pod install")
52+
os.chdir("..")
5253

5354
if __name__ == "__main__":
5455
setup_react_native_app()

0 commit comments

Comments
 (0)