# IPhone development # I always thought that xcode4.2 only supports the lion system. Later I found that the new version supports snow. The download was completed last night and the installation was successful in the morning. Now I can compile applications that support ios5.
I can see that many applications in the appstore have been upgraded because ios5 is required. Is ios5 incompatible with the original application?
Upgrade to xcode4.2 for snowleopard the original project is normal in the 4.3.3 simulator, but the latest ios5 is not compiled. It seems that some adjustments are required to support ios5, in the future, we will continue to improve the relevant changes to upgrade to ios5.
1. [asihttprequest upgrade]
Solution for upgrading the asihttprequest component to ios5 compilation error: remove the reference of libz.1.2.3.dylib and change it to libz.1.2.5.dylib. Then, upgrade the component to the latest version.
2. xcode4.2 provides more comprehensive and meticulous detection of Memory leakage, making it easier to use.
For example, cell. backgroundview = [uiview alloc] initwithframe: cell. Frame]. This statement does not prompt memory leakage in 4.0.2, but will prompt in 4.2. The correct statement is as follows:
Uiview * backview = [uiview alloc] initwithframe: cell. Frame];
Cell. backgroundview = backview;
[Backview release];
3. SVN configuration. IP connection is not supported,PromptHost is unreachable
First, modify the host file.
Sudo Vim/private/etc/hosts
Insert a row at the bottom
192.168.32.132 svnserver
Disable xcode and restart the host several times. It may be successful if you try multiple times.
I tried this method for an afternoon and finally got it done. The method must be correct, but it only requires patience.
4. Icon settings
If you want to control the Display Effect of the icon, you can directly modify the plist file. Add an attribute, find the icon already except des gloss effects, and set this attribute to yes, that is, the icon has implemented the highlighted effect without using the system effect. The installed software Icon does not have the default highlight effect.
In ios5, this setting does not take effect. You need to open the subitem icon already between des gloss effects of the icon files (iOS 5) subitem primary icon in the plist file.
Share the downloaded seed file. Http://t.cn/S71uvk
For more details, follow Weibo:Http://weibo.com/eulbq