Skip to content

Commit b728a95

Browse files
authored
Merge pull request #5 from ava-labs/Environment_setup
Update "ios" script to run pod install
2 parents 71e577e + 194c263 commit b728a95

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ yarn install
1818
## Setup dev environment
1919

2020
Follow [these](https://reactnative.dev/docs/environment-setup) steps to setup dev environment; make sure to select
21-
**React Native CLI Quickstart** tab and select appropriate Develeopment & Target OS.
21+
**React Native CLI Quickstart** tab and select appropriate Development & Target OS.
2222

2323
## Launch iOS App
2424

@@ -27,10 +27,6 @@ First install iOS dependencies.
2727
```zsh
2828
# install cocoapods
2929
sudo gem install cocoapods
30-
31-
cd ios/
32-
pod install
33-
cd ..
3430
```
3531

3632
Now you can run the app

ios/AvaxWallet.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@
525525
COPY_PHASE_STRIP = NO;
526526
ENABLE_STRICT_OBJC_MSGSEND = YES;
527527
ENABLE_TESTABILITY = YES;
528-
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "arm64 ";
528+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
529529
GCC_C_LANGUAGE_STANDARD = gnu99;
530530
GCC_DYNAMIC_NO_PIC = NO;
531531
GCC_NO_COMMON_BLOCKS = YES;
@@ -590,7 +590,7 @@
590590
COPY_PHASE_STRIP = YES;
591591
ENABLE_NS_ASSERTIONS = NO;
592592
ENABLE_STRICT_OBJC_MSGSEND = YES;
593-
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "arm64 ";
593+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
594594
GCC_C_LANGUAGE_STANDARD = gnu99;
595595
GCC_NO_COMMON_BLOCKS = YES;
596596
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;

ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ SPEC CHECKSUMS:
372372
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
373373
DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de
374374
FBLazyVector: 7b423f9e248eae65987838148c36eec1dbfe0b53
375-
FBReactNativeSpec: 38f7a6d55a731c268e4fdfd8ac06ca5866c9ed91
375+
FBReactNativeSpec: a1202b40bc7e04efeb9285badadad79affc89f7f
376376
glog: 73c2498ac6884b13ede40eda8228cb1eee9d9d62
377377
RCT-Folly: ec7a233ccc97cc556cf7237f0db1ff65b986f27c
378378
RCTRequired: ec2ebc96b7bfba3ca5c32740f5a0c6a014a274d2

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"scripts": {
66
"android": "react-native run-android",
7-
"ios": "react-native run-ios",
7+
"ios": "cd $INIT_CWD/ios && pod install && cd $INIT_CWD && react-native run-ios",
88
"start": "react-native start",
99
"test": "jest",
1010
"lint": "eslint ."
@@ -44,4 +44,4 @@
4444
"node": ">=14.17.0",
4545
"yarn": ">=1.22.10"
4646
}
47-
}
47+
}

0 commit comments

Comments
 (0)