IOS how to detect app support does not support 64-bit

Source: Internet
Author: User

On February 1, 2015 the start of the new iOS app submission to the App Store must include 64-bit support and build with the iOS 8 SDK. Application updates that start on June 1, 2015 also follow the same requirements. In order to make 64-bit in the project, we recommend using the default Xcode compilation setting "Standard structure" to create a single binary with 32-bit and 64-bit code.
After you have corrected the problem, you can use the Xcode app or upload a new binary itunes Connect.

1. The SDK that does not support 64 in the test project

(1)Xcode prompts you to update your project with warnings and error messages that are very important for converting to 64 bits. 3. Change your project settings to support IOS6 or higher. If your iOS version is less than 6, you won't be able to generate 64-bit apps. 4. Change the architectures build setting to "standard architectures (including 64-bit)." 5. Upgrade your app to fit the 64-bit operating environment. Simulators can help you find some, but relying only on compiler check is not reliable, you still need to find according to the document itself. 6. Test with 64-bit hardware.

(2) Real machine debugging on the line, take the iphone 5S, iphone 6, iphone 6 Plus, ipad Air, ipad Air 2, ipad mini 2, ipad Mini 3, any one of the real-time debugging, you can know, if your app does not know 64 bits, will appear similar to the following error

Undefined Symbols for Architecture arm64:
"_objc_class_$_pemvideoview", referenced from:
Objc-class-ref in COLLECTIONVIEWCONTROLLER.O
Ld:symbol (s) not found for architecture arm64

Clang:error:linker command failed with exit code 1 (use-v to see invocation)

2. If the solution is not supported

http://www.codeceo.com/article/ios-64-bit.html

(1) /users/fujinshi/desktop/6bf2522c-52a9-411c-9fec-8a1e7af13ec7.png 
My change to this is OK, at the same time to debug whether the program has a third party or what method does not support 64-bit, looking for 64-bit support or kill, while converting int to Nsinteger, It is OK to change NSLog's print%d to%ld, and then modify it as prompted.

(2) Modify the architectures in Architecutures in build Settings to standard architectures Valid architectures to arm64 armv7 armv7s

(3) if the third party used in your app does not support 64-bit first update the SDK with a support 64-bit version to use

3.ios-app support arm64 bit, some problems are studied

Http://www.itnose.net/st/6166336.html

IOS how to detect app support does not support 64-bit

Related Article

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.