shared/docs/ios.md
Install xcode
brew install watchman cocoapods #install the file watcher
yarn modules && yarn pod-install
yarn rn-gobuild-ios # build the go library
open ios/Keybase.xcworkspace # Open workspace, not xcodeproj
yarn rn-start2 # start the packager
In xcode, select the target Keybase and run.
# Build the go keybaselib
yarn rn-gobuild-ios
# if this fails with something like one of these:
# * xcrun: error: unable to lookup item 'Path' in SDK 'iphoneos'
# * gomobile: -target=ios requires XCode
# you might have a partial xcode install. try:
xcode-select --switch /Applications/Xcode.app/Contents/Developer
They don't work in the simulator at all. If you
choose "Run" and build on a phone, they should just work. If you
want to do a "Profile" build, look in local-debug.native.js and move
config.isDevApplePushToken = true to outside its enclosing if
statement.