Iga Swiatek pulled out of the Bad Homburg Open ahead of her semi-final match on Friday after the world number one said she had come down with fever and possible food poisoning.