# Native **Repository Path**: OceanHorn/Native ## Basic Information - **Project Name**: Native - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-09-06 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ReadMe.md 安装: 1. 安装react native开发环境。([参考](http://reactnative.cn/docs/0.50/getting-started.html)) 2. git clone 本项目到本地。 3. 在项目根目录 (Native) 下执行:npm install 4. 请确认已经安装cocoapods。然后在Native/ios目录下执行:pod install 5. 在项目根目录(Native)下执行:react-native run-ios 6. 在项目根目录(Native)下执行:react-native start 7. 在iPhone模拟器下看运行效果 增加realm 1. 在项目根目录 (Native) 下执行:npm install --save realm 2. 在项目根目录 (Native) 下执行:react-native link 3. 按照上面5.6.7操作,可以开始解决问题了。 备注:如果中间需要从Xcode工程中移除realm,可以在项目根目录 (Native) 下执行:react-native unlink realm