"ios" iOS Development Problem Resolution index (II)

Source: Internet
Author: User

iOS Development Problem Resolution index (II)

1 Do not use ARC compilation,-FNO-OBJC-ARC

iOS5 chose Arc but did not compile with arc,-FNO-OBJC-ARC

http://leobluewing.iteye.com/blog/1384797

http://blog.cnrainbird.com/index.php/2012/03/13/object-c_kai_fa_zhong_hun_he_shi_yong_huo_bu_shi_yong_arc/

2 Debugging Methods for SIGABRT errors

Debugging Methods for SIGABRT errors

Http://www.cnblogs.com/kimimaro/archive/2012/03/29/2423486.html

iOS often encounter a headache error is to display the "Thread 1:signal SIGABRT" in the main function of the mistake, finally found on the StackOverflow debugging method:

Original link: http://stackoverflow.com/questions/9782621/i-have-an-error-in-main-m-thread-1-signal-sigabrt-how-can-i-fix-this

The point is Set an exceptionbreakpoint.

Before we encountered the crash information on the main function, if you want to debug to join an exception breakpoint, it will be cathc when the exception stopped, so you can trace the resulting exception code.

Add a exception breakpoint method is: In the Navigator Breakpoint page, click on the lower left corner of the plus to see Exceptionbreakpoint;

When you join, you can set the default is all, or you can choose a breakpoint for OC or C.

This exception is also thrown if the nib name in Viewcontroller does not correspond to the Xib file name (or the class does not correspond to the Viewcontroller name).

Compileerrors with #include <string> in Cocoa App

3 compileerrors with #include <string> in Cocoa App

Compile errors with #include <string> in Cocoa App

Http://stackoverflow.com/questions/7542850/compile-errors-with-include-string-in-cocoa-app

Ifit is ". M", try-to-change it-obj-cpp ". MM", so Thatxcode would deduce correct language. Or just put c++-specific headers inside "#ifdef __cplusplus" block

4 How to troubleshoot Couldnot launch app-no such file or directory

How to troubleshoot could notlaunch app-no such file or directory

http://blog.csdn.net/wohaoxuexi/article/details/8233562

1. Disconnect the device and remove the app that was debugged on the device

2. Forcibly quit Xcode (Quitxcode), do not just close, force exit directly

3. Delete the system-generated files (~/library/developer/xcode/deriveddata/), use the terminal command to enter the appropriate directory, and then execute: RM-RF deriveddata/, wait a minute.

4. Restart Xcode to connect the device test.

5 iphone receive Shake event

Http://www.cnblogs.com/dabaopku/archive/2012/06/11/2544490.html

iphone Receive Shake Events

Key Words : iOS iphone shakegesture UIView

in the ios3.0 after , UIView provides three functions to receive a shake event

Motionbegan:
Motionended:
Motioncancelled:

only need to inherit UIView and implement the above functions can .

things to keep in mind :

1. this UIView is to be an event responder , which is then displayed becomefirstresponder

2. more important ! This UIView to implement the canbecomefirstresponder function and return YES. Otherwise the previous recommendation is invalid .

References :  http://www.iphonedevsdk.com/forum/iphone-sdk-development/4381-iphone-shaking-code.html

MotionBegan:motionEnded:motionCancelled:

6 iOS calls Googleapi for speech recognition

iOS calls Google API for speech recognition

http://blog.csdn.net/reylen/article/details/8709457

iOS calls Google API for speech recognition

http://blog.csdn.net/ixijiangyue123/article/details/8883222

7 iOS Audio processing

iOS underlying audio processing technology (with source code)

Http://www.cocoachina.com/newbie/basic/2011/1122/3563.html

iphone detection sound output device and headset microphone processing

Http://blog.sina.com.cn/s/blog_6c234ba90101a5nd.html

Detect iphone Microphones

http://sxsoul.blog.163.com/blog/static/42849160201010825817519/

Get the sound data stream of a microphone

http://www.cocoachina.com/bbs/read.php?tid=78224

Http://ios.eoe.cn/thread-11635-1-1.html

8 Programming Guide for iOS audio queue service

Audio Queuing Service Programming Guide

Audio Queue Service Programming Guide (Audioqueue Services Programming Guides) (i)

http://blog.csdn.net/just_we_0727/article/details/8200853

Two

http://blog.csdn.net/just_we_0727/article/details/8201023

Three

http://blog.csdn.net/just_we_0727/article/details/8373440

9 iOS Data binding

Questions about the Pickerview data source

Http://blog.sina.com.cn/s/blog_69ee96d70100kz8r.html

What's the way Pickerview works?

Http://www.cocoachina.com/bbs/simple/?t22239.html

Pickerview data source binding in the "invisible", because not a visual method, such as Xxxx.datasource = myDataSource, but through the implementation of the Protocol, for the Uipickerview, need to implement the following several protocols

10 cross-compiling Libogg & Libvorbis

Cross-compiling libogg& libvorbis

http://blog.163.com/dong_xiao_yang/blog/static/21613820520132125548615/

Tutorial:open Source on IOS (Part 2): Compiling Libogg Onios

http://iosdeveloperzone.com/2012/09/29/tutorial-open-source-on-ios-part-2-compiling-libogg-on-ios/

Cross compiling Libogg for IOS

Http://stackoverflow.com/questions/11711100/cross-compiling-libogg-for-ios

iOS sensor summary (1)

iOS sensor summary (1)

http://blog.csdn.net/shaobojohn/article/details/7843104

Iosuiview Event Registration

UIView Event Registration

http://menglinger-520.blog.163.com/blog/static/16929433020117584733320/

Implementation of iOS progress bar

Implementation of the progress bar (Mbprogresshud)

http://blog.csdn.net/weasleyqi/article/details/8072897

Implementation of iOS recording function

Implementation of iOS recording function

http://blog.csdn.net/rs_network/article/details/6988447

IOS Recording WAV audio conversion Amr, Android playback

http://blog.csdn.net/justinjing0612/article/details/9633121

http://code4app.com/ios/Sound-Recorder/4f9252d606f6e71769000000

A. Xcode reference file Note

When Xcode refers to a file, do not directly copy the file to the project directory, and then add a reference to the form of reference, it may be reported "File not found" error, and the reference file directory is blue, it is best to drink directly, choose CopyItem Way

iOS ' libxml/xmlversion.h ' file not found in Xcode 4.2?

' Libxml/xmlversion.h ' file not found in Xcode 4.2?

Http://stackoverflow.com/questions/8850724/libxml-xmlversion-h-file-not-found-in-xcode-4-2

Rememberto Add the library in Link Binary en Build phases section of the Targetproject.

Youneed to put all the libxml headers on the include path. For Xcode does this byadding /usr/include/libxml2 tothe header paths (that would pass-i/usr/include/libxml2 to the C compiler)

This was in the Build Settings tab in Searchpaths-Header Search Paths

About Iosasihttprequest class library and how to use it

ASIHTTPRequest Class Library Introduction and usage instructions

Http://www.cnblogs.com/dotey/archive/2011/05/10/2041966.html

The ASIHTTPRequest class library needs to be modified in iOS 7.0

http://blog.s135.com/post/490/

The use of the ASIHTTPRequest class library of code tricks

Http://bbs.9ria.com/thread-259725-1-1.html

iOS relative path and absolute path conversion nsbundle

iOS relative path vs. absolute path conversion NSBundle

http://blog.csdn.net/zi2xuan/article/details/7319210

Relative and absolute paths to iOS

Http://wiki.eoe.cn/page/iOS_blog_page_98641.html

NSString String Addition connection

Three methods of NSString string addition connection

Http://blog.sina.com.cn/s/blog_56e2f4250102dusl.html

Objective-c syntax of the nsstring string of Things (iii)

http://blog.csdn.net/xys289187120/article/details/6777283

Iosxcode Clang failed with exit code 254

Reason:

Enter the iOS virtual machine and then directly open the Xcode project in the shared directory to compile;

XCode Clang failed with exit code 254

http://stackoverflow.com/questions/17426810/xcode-clang-failed-with-exit-code-254

Clang failed with exit code 254 only for IOS device target

Http://stackoverflow.com/questions/11984074/clang-failed-with-exit-code-254-only-for-ios-device-target

IOS 5-apple LLVM Compiler 3.0 Error

Http://www.cnblogs.com/mfryf/archive/2012/02/26/2369190.html

21 Regular Expressions

Match one of several strings:

Var Tagnamerex =/(Div|font|table|ol|ul)/I; Finds any specified string

"Grooming" Suggestions for handling HTML code with regular expressions

http://www.crifan.com/for_process_html_with_many_tag_recommend_use_third_lib_while_simple_html_use_regular_expression/

"ios" iOS Development Problem Resolution index (II)

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.