There are a number of ways to upgrade from sdk3.2.5 to SDK 7.1, and there are some logical relationships that are more rigorous. 1, Warning: "Xoxoxoxo" is deprecated Workaround: Look at the documentation for this method of Xoxoxoxo, and replace this method.
2, Warning: Declaration of "struct sockaddr" is not being visible outside of this function Workaround: Add #import <netinet/in.h> in your open source. m file
3, Warning: Implicit conversion from enumeration type ' uiinterfaceorientation ' to different enumeration type ' Uideviceorientation ' Workaround: Type mismatch. Jump to the wrong line, uiinterfaceorientation cast to Uideviceorientation.
4, Warning: incompatible pointer types assigning to ' myarraylist* ' from ' Nsmutablearray ' Workaround: Join the cast (myarraylist*)
5, Warning:' && ' within ' | | ' Source of the problem: if (exists &&!isdirectory | |!exists) ..... Workaround: If ((exists &&!isdirectory) | |!exists) .....
6, Warning: warning:the Copy Bundle Resources Build phase contains this target ' s Info.plist file Workaround: Move the Info.plist file to the resources directory and not directly under target.
7, Warning: In use asihttp ... The third party libraries, the operation error. WORKAROUND: See if your project adds Cfnetwork.framework, Systemconfiguration.framework, Mobilecoreservices.framework, Coregraphics.framework and Libz.1.2.3.dylib, if is sdk5.0 above, add Libz.1.2.5.dylib
8, Warning: xxxooo,missing required architecture i386 in file Workaround: If it is an error message:Target->build settings->search Paths, delete frameworksearch Paths inside the content is possible. To be just a warning, the real machine debugging can be too. The specific solution is for the great God to appear.
9, Warning: Clang:error:no such file or directory: '/demo2/control Code/13/recorder/recorder_prefix.pch ' Clang:error:no input Files Command/developer/platforms/iphonesimulator.platform/developer/usr/bin/clang failed with exit code 1 WORKAROUND: In your main project file target search, pch, find prefix Header to put the value behind it, all deleted, and then run the solution.
10, Warning: "ARC forbids synthesizing a property of an Objective-c object with unspecified ownership or storage attribute Workaround: If arc is defined as valid, then the owner attribute must be defined; So the code is changed to the following @property (Nonatomic, Strong, ReadOnly) NSString *ss;
11, Warning: Io6 xib system is not automatically selected use AutoLayout, supporting iOS 5 and below with Xib of iOS 6 Workaround: Just un-select "Use AutoLayout" in the file inspector of the Xib ' s view and we is back to the familiar autosizing in Size inspector and boom, it supports IOS 5 and below.
12, Warning: warning:multiple build commands for output file Xxx.png Workaround: Find Xxx.png duplicates in the project and delete duplicate resources.
//The following is a warning that is used after upgrading to Xcode 5.0.1 13, Warning: The IOS emulator failed to install the application. Workaround: Remove the app currently running on the emulator and rerun the project. Just OK.
14, Warning: Springboard Unable to start application error: -3 WORKAROUND: Exit the emulator and rerun the project.
15, Warning: The server certificate failed to verify. Workaround: 1. Open the terminal (utility-to-terminal) and enter the following command in the terminal: SVN ls https://192.100.1.11?0/svn/xxxxxx (note the URL below to change to your own URL address) Then directly enter "P" confirmation, you can reconnect.
16, Warning: bitmasking for introspection of objective-c object pointers is strongly discouraged. Workaround: A number & 0x1 indicates whether the lowest bit is 1 and changed to if (Jk_expect_f ((Nsuinteger) object%2)).
17, Warning: implicit conversion loses integer precision: ' unsigned long ' to ' Cc_long ' (aka ' unsigned int '). Workaround: CC_MD5 (Str,strlen (str), R), changed to Cc_md5 (str, (Cc_long) strlen (str), R);
18, Warning: error:failed to launch '/private/var/mobile/applications/xxxxx '--Failed to get the task for process 11140. Workaround: Restart your development phone, and another possibility is that your developer certificate and publishing certificate have been mistaken, check whether the certificate has been in Xcode.
19, Warning: error:ignoring filxxxxxx/libbaidumobstat.a, missing required architecture x86_64 in FILEXXXX/LIBBAIDUMOBSTAT.A Workaround: Targets->build setting under architectures set to Standard Architetures (armv7,armv7s) vaild architectures set to armv7,armv7s 。
20, Warning: error:directory not found for option '-l/users/joryoubonxx/baidustatistic Workaround: Delete targets->build setting the library search path is not the correct address, if not, re-add the third library, clean, restart Xcode.
in the case of a related warning, the general compiler will provide a solution, so, as a novice, we should understand the compiler to give us a hint, so we solve the problem will be more effective.
|
|