The boss is a generous person – most of the employees agree. Then, the tragedy happened.
In the company, the development of the iOS program is a black Apple running in a Windows VM.
The app must be networked (no network estimates are very small), so I used the afnetworking that everyone agreed to do the app HTTP client.
The official website to find the demo, fix changes, and then add the app code. Run ...
For the first time, the request is complete.
The second time, the request is complete.
The third time, the request is complete.
Fourth time, request ... Timeout
Fifth time, request ... Timeout
...
Nth time, request ... Timeout ....
Do not superstitious, and then repeat the operation N Times. The result t_t, then I use the native nsurlcnnection, the same result.
Look at the log of the server, from timeout, every 5 minutes receive the above mentioned timeout request.
Mad, crazy to do the search, find out, everyone is so used, no problem, run to afnetworking where to submit issue, the author said "You should go to StackOverflow" ...
It crashed. Why should I not be the only person who uses it? Why is the server still receiving requests after timeout, why is the time interval just 5 minutes? Why!!!?
Needless to say, everyone knows it's a black apple problem. The version of the Black Apple is 10.6.1 (Lion), XCode5.
Discussed with the boss several times, and finally I received a request from the server every 5 minutes on the suspicion of OSX is the problem, just the boss's Mac broke, changed one, let him install Xcode, run the previous app. Everything is OK .... t_t
It took 1.5 months from the start problem to the problem finding.
It's not a cost.
Later, the boss said, your VM is no longer available-he's been down all night with a new version of OSX 10.9.4 (Mavericks).
Oh . Finish
The tragic lesson about using black apples to develop