Kevin McNeish Blog

All things iOS, Kindle and .NET

Recent Posts

Tags

News

  • First books in my new book series, "iOS App Development for Non-Programmers" are now available! iBookStore: http://itunes.apple.com/us/book/book-1-diving-in-ios-app-development/id558788074?mt=11 Amazon: http://www.amazon.com/dp/B0097N8XBE Amazon: http://www.amazon.com/dp/B0099RQGMQ

Community

Email Notifications

Archives

Understanding iOS Compiler Errors - Uncategorized Compilation Failed

0 0 1 107 612 Oak Leaf Enterprises, Inc 5 1 718 14.0 Normal 0 false false false EN-US JA X-NONE

You typically get this error when there is a problem with one of your outlets. One of the most common reasons for this error is creating an outlet on a custom table view cell, which isn’t allowed in Xcode. For details, see Chapter 6: Managing Lists of Data With Table Views under the section Creating Custom Cells. To find out exactly what’s wrong, do the following:

1.     Build the project so the compiler error appears

2.     In the navigator pane (on the left side of the Xcode window) select the Log Navigator from navigator toolbar (the last button on the right). You can also display the Log Navigator by pressing Command+7.

3.     Select the Build item at the top of the list. This displays log detail on the right (Figure A-1).

0 0 1 49 285 Oak Leaf Enterprises, Inc 2 1 333 14.0 Normal 0 false false false false EN-US JA X-NONE


Figure A-1: The Log Navigator displays compiler error details

4. To see detailed information for a particular item, click the white oval button to the far right of the item (Figure A-2). This usually gives you enough information to figure out what’s wrong.


Figure A-2: Click the log detail button for details on a particular log item

For explanations of other compiler errors and warnings, check out our new book site: http://www.iOSAppsForEveryone.com

Kevin McNeish
Eight-time .NET MVP Recipient
Apple iOS Author, Trainer
http://www.iOSAppsForEveryone.com 

 

 

Leave a Comment

(required) 

(required) 

(optional)
 

(required) 

If you can't read this number refresh your screen
Enter the numbers above: