You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open xcode -> Open project of File -> tortest2/ios
Right click on tortest2 project -> add new file -> swift file and choose to 'create bridging header`
Click on tortest2 project in left navigation pane, go to build settings and
a. search for 'Bitcode' and set Enable bitcode to false
b. search for Always embed Swift standard libraries and set to Yes
c. search for LIBRARY_SEARCH_PATHS and remove the entry $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)
Clean build folder and close Xcode.
Go back to terminal and clean everything:
a. rm -rf node_modules
b. cd ios && rm -rf Pods Podfile.lock
c. cd ..
d. yarn
e. cd ios && pod install
f. cd..
npm run ios app builds and compiles :)
System info:
Xcode Version 12.5.1 (12E507)
MacOs BigSur 11.3 (20E232)
react-native ~ 0.64.1
pod --version -> 1.10.1
The text was updated successfully, but these errors were encountered:
gabidi
changed the title
[Ios]
[Ios] React Native 0.64.1 Clean Install Example documentation
Jul 17, 2021
Test 2 React 0.64.1 and npm:
npx react-native init tortest2 --template react-native-template-typescript
cat package.json | jq -r '.dependencies["react-native"]'
shows0.64.1
npm i https://github.com/Sifir-io/react-native-tor.git#feat/hs
cd ios
use_flipper!()
~ line 24 ofPodfile
tortest2
project -> add new file -> swift file and choose to 'create bridging header`tortest2
project in left navigation pane, go to build settings anda. search for 'Bitcode' and set
Enable bitcode
to falseb. search for
Always embed Swift standard libraries
and set toYes
c. search for
LIBRARY_SEARCH_PATHS
and remove the entry$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)
a.
rm -rf node_modules
b.
cd ios && rm -rf Pods Podfile.lock
c.
cd ..
d.
yarn
e.
cd ios && pod install
f.
cd..
npm run ios
app builds and compiles :)System info:
Xcode Version 12.5.1 (12E507)
MacOs BigSur 11.3 (20E232)
react-native ~ 0.64.1
pod --version -> 1.10.1
The text was updated successfully, but these errors were encountered: