iOS意外的平台状况(预期的“ os”,“ arch”或“ swift”)-可达性 [英] iOS Unexpected platform condition (expected 'os', 'arch', or 'swift') - Reachability
本文介绍了iOS意外的平台状况(预期的“ os”,“ arch”或“ swift”)-可达性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我只是更新我的豆荚。更新可达性
导致错误
I just update my pods. after update Reachability
causing an error
意外的平台条件(预期的 os, 'arch'或'swift')
Unexpected platform condition (expected 'os', 'arch', or 'swift')
我试图进行构建和清理,但无法正常工作。有什么解决方案?
I tried to build and clean but it does not work. what's the solution?
请帮助我解决此问题。
Please help me to fix this. Thanks in advance.
推荐答案
使用此1
#if (arch(i386) || arch(x86_64)) && os(iOS)
#endif
这篇关于iOS意外的平台状况(预期的“ os”,“ arch”或“ swift”)-可达性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文