Prevent errors if target is not iOS or Android