Dyld: program was built for Mac OS X and cannot be run in simulator

I’m running python script in xcode. for developing IOS app but it continuously give me this error:::: dyld: program was built for Mac OS X and cannot be run in simulator .

please help me to how to fix it.