1 Star 0 Fork 116

peilinghui / RNWeChat

forked from yubo_725 / RNWeChat 
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
iOS-README.md 942 Bytes
Copy Edit Web IDE Raw Blame History
yubo authored 2018-03-09 11:36 . remove react-native-camera and ac-qrcode

iOS运行说明

很多朋友在iOS下运行不起来,这里说明下自己在iOS下运行RNWechat的过程,我的开发环境是:macOS 10.11,ReactNative版本0.44.2,xcode版本7.2

2018-3-9补充

由于官方的react-native-camera库做了升级,导致我在运行RNWeChat项目时一直报错无法解决,目前暂时删掉了扫一扫功能,去除了react-native-camera库和ac-qrcode库,RNWeChat目前可以在iOS上正常运行。

步骤

  1. 克隆代码
git clone https://github.com/yubo725/RNWeChat.git
  1. 进入项目根目录,并安装相关依赖
cd RNWeChat
npm install
  1. 进入ios目录,并安装pod依赖
cd ios
pod install
  1. 用xcode打开ios/TestReactNavigation.xcworkspace文件

  2. run项目,如果有报错,注释掉报错的相关代码直到没有任何报错信息

注意

iOS需要做如下配置才能使用网络

Comment ( 0 )

Sign in for post a comment

JavaScript
1
https://gitee.com/jirandoudou/RNWeChat.git
git@gitee.com:jirandoudou/RNWeChat.git
jirandoudou
RNWeChat
RNWeChat
master

Search

105716 1d94204e 1850385 105716 2d26be5c 1850385