The tragic lesson about using black apples to develop

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.