The "best" way to explore Los Angeles as a UCLA student
https://testflight.apple.com/join/1fH1LPgn
- Clone repo:
git clone https://github.com/parthingle/bkit-app.git
- Install packages:
yarn && cd ios/ && pod install
- Start bundler:
yarn start
- Launch simulator:
react-native run-ios
- Basic Stuff:
- Run
Cmd + Shift + K
to Clean the project in XCode - Run
rm -r buckitapp/ios/build
if it exists - Pray to God
- Run
- Problems with FBSDK: https://developers.facebook.com/docs/react-native/configure-ios/
- "null is not an object ( evaluating ":
- Delete folder ios/build/ if it exists
open ios/buckitapp.xcworkspace
and make sure all native libraries are in thebuild phases
andheader paths
: https://facebook.github.io/react-native/docs/linking-libraries-ios- Build the app through xcode instead of the terminal
Cmd + B
- Restart your machine and try again
- software-mansion/react-native-gesture-handler#494 is also a useful link.
- "Unrecognized Font Family 'fontname'" (https://medium.com/@maulikdhameliya/how-to-solve-unrecognised-font-family-error-in-react-native-when-using-custom-icons-for-ios-42c2aa1c4f08)
- Run
react-native link react-native-vector-icons
- add
fontname.tff
(wherefontname
is the unrecognized font) intoCopy Bundle Resources
underProject > Build Phases
- Edit
Info.plist
to containfontname.tff
under theFonts Provided by Application Key
- Run
:CFBundleIdentifier does not exist
after runningreact-native run-ios
from terminal (facebook/react-native#7308 (comment))cd ios && rm -rf Pods/ Podfile.lock && pod install
- Run the simulator again. If it fails with the same error, try this: