Problems with zxing in IOS

Source: Internet
Author: User

1. For more information about zxing, see http://blog.csdn.net/icash/article/details/7727299.

2. if zxing is used in your project, but after xcdoe is upgraded to 4.5, incompatible pointer types sending 'class' (aka 'class * ') appears *') to Parameter of Type 'id <nscopying> 'error. Solution: Download the updated zxing,
You can use the command to download the latest version: SVN checkout http://zxing.googlecode.com/svn/trunk/
Zxing-read-only.

3. If a problem occurs, undefined symbols for Architecture
I386 "STD: String: c_str () const", referenced from ....,

Set C language dialect, C ++ language dialect, and C ++ standard library in your project's apple llvm compiler 4.1-language to the selected value. Reference http://stackoverflow.com/questions/12665457/zxing-in-xcode-4-5-and-ios-6

 

4. Choose a destination
A supported architecture in order to run on this device. Because the iOS device does not support armv7s, you must set ubuntures to armv6, but you only need to change the valid ubuntures. Do not change ubuntures, otherwise, the real machine may not run. Change ubuntures to $ (archs_standard_32_bit) to hit the phone. See http://blog.sina.com.cn/s/blog_90a0ad8d01013uuh.html

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.