iOS Unexpected platform condition (expected 'os', 'arch', or 'swift') - Reachability
问题 I just update my pods. after update Reachability causing an error 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: use this 1 #if (arch(i386) || arch(x86_64)) && os(iOS) #endif 回答2: You can try as Muhammad says. I suggest the following code which is very easy to maintain. Copy paste the following code to a file and try yourself. import Foundation import