change build rules for iOS build