Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

目前版本的ios报错了。。。初学者不太懂 #17

Open
pszh opened this issue Jan 2, 2018 · 4 comments
Open

目前版本的ios报错了。。。初学者不太懂 #17

pszh opened this issue Jan 2, 2018 · 4 comments

Comments

@pszh
Copy link

pszh commented Jan 2, 2018

Ordered comparison between pointer and zero ('NSNumber *' and 'int')

@zhan1128
Copy link

@pszh 你这样处理一下 找到报错的地方 _total > (NSNumber *)0

@bosenboy
Copy link

bosenboy commented Jun 7, 2018

我尝试了该方法,确实有用,但是只能在 xcode里面打开,没问题,可以运行起来。但是在 deco里面直接运行,好像还是不行,提示错误:
image

@cappusd3
Copy link

ios 跑这个demo 确实过不了,具体什么问题

@Serebiisme
Copy link

升级一下项目版本,先跑命令 react-native upgrade,然后删除 ios 和 android 文件夹,跑命令 react-native eject。 接着跑 react-native-git-upgrade, 再跑 react-native link,最后, react-native run-ios

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants