The problem is that CoreFoundation already includes `errno` and `stdlib` itself, so if you decide not to include `CoreFoundation` for iOS, various error numbers and `NULL` are simply not defined.