I'm testing my Xcode project in simulator and in 2 iPhones 6. Both iPhones are identical and actually bought together on the same time. That was couple of years ago. Now Phone #1 is running on iOS 9.3.2 and Phone #2 is running on 9.3.1. I have Xcode pros with deployment target of 9.3. Xcode version is 7.3
I can run my Xcode project in the simulator fine and when I plugged phone #2, but on #1, it will execute fewer lines than #2 and then stops.
I have went though all the paths in this article and deleted all of these one at time:
- ~/Library/Developer/Xcode/DerivedData/
- ~/Library/Developer/Xcode/iOS DeviceSupport/
- ~/Library/Developer/Xcode/Archives/
- ~/Library/Developer/CoreSimulator/Devices
- ~/Library/Application Support/iPhone Simulator/
I have also tried restarted the Xcode in every of the steps above, and restarting my iPhone then plugging it when it loads. Nothing worked
Like I said the code for phone #1 actually runs a little bit, but then stops executing further lines. I stepped through code to see why and where my phone #1. There was no error, the execution just stops, sometimes at the same place, sometimes a little earlier. Phone #2 runs all code just fine and returns results.
What's going on!? Why does it work in one iPhone but not in the other, even though both are running the same phone and same version!? Is there another cache path that I should try to also delete!?
Aucun commentaire:
Enregistrer un commentaire