简体   繁体   中英

iOS Simulator not replicating code

I have come across a strange issue with my simulator (on my iMac). It does not seem to replicate the code I have in Xcode. Even though if I run the same code on my Mac Book Air it works fine. I have downloaded it to my iPhone and that works fine. Not sure what I've done. I am running the app on Xcode 6.4 . Is it worth just deleting Xcode and then re-downloading ?

Launch the iOS Simulator and go to Simulator > Reset Content and Settings...

This wipes the simulated iOS device and should clear up any issues.

If this does not work, try "Product -> Clean" or "Window -> Projects" - select your project from the left hand side and select delete on the right hand side (alongside Derived Data).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM