Discussion Forums  >  Uncategorized

Replies: 5    Views: 529

propilot
Apple Fan
Profile
Posts: 11
Reg: Aug 06, 2011
Canada
110
10/18/11 08:52 PM (14 years ago)

Huge Errors

I am gettings lots of warnings. alex054739fanapplication Group /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/alex054739fanapplication.xcodeproj Missing SDK in target alex054739fanapplication: iphoneos4.2 /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/HTTPEaterConnectionDelegate.m /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/HTTPEaterConnectionDelegate.m:43:12:{43:14-43:31}: warning: incompatible pointer types assigning to 'NSHTTPURLResponse *' from 'NSURLResponse *' [-Wincompatible-pointer-types,3] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/HTTPEaterResponse.m /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/HTTPEaterResponse.m:14:10:{14:12-14:25}: warning: incompatible pointer types assigning to 'NSMutableData *' from 'NSData *' [-Wincompatible-pointer-types,3] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/MapAnnotation.h /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/MapAnnotation.h:16:41: warning: property 'title' 'copy' attribute does not match the property inherited from 'MKAnnotation' [3] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/MapAnnotation.h:17:41: warning: property 'subtitle' 'copy' attribute does not match the property inherited from 'MKAnnotation' [3] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/QuizViewController.m /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/QuizViewController.m:6:35: warning: extra tokens at end of #import directive [-Wextra-tokens,2] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/QuizViewController.m:8:17: warning: extra tokens at end of #import directive [-Wextra-tokens,2] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/TakeQuizViewController.h /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/TakeQuizViewController.h:9:17: warning: extra tokens at end of #import directive [-Wextra-tokens,2] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/QuizViewController.h /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/QuizViewController.h:6:17: warning: extra tokens at end of #import directive [-Wextra-tokens,2] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/ScoreboardViewController.m /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/ScoreboardViewController.m:260:24:{260:24-260:57}{260:22-260:23}: warning: implicit conversion from enumeration type 'UITableViewCellSelectionStyle' to different enumeration type 'UITableViewCellAccessoryType' [-Wconversion,3] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/TakeQuizViewController.m /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/TakeQuizViewController.m:11:17: warning: extra tokens at end of #import directive [-Wextra-tokens,2] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/SoundEffect.m /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/SoundEffect.m:28:32:{28:31-28:33}{28:62-28:67}: warning: conversion specifies type 'int' but the argument has type 'OSStatus' (aka 'long') [-Wformat,9] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/fbconnect-iphone/src/FBRequest.m /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/fbconnect-iphone/src/FBRequest.m:161:10:{161:10-161:23}: warning: expression result unused [-Wunused-value,12] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/fbconnect-iphone/src/FBRequest.m:199:10:{199:10-199:21}: warning: expression result unused [-Wunused-value,12] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/fbconnect-iphone/src/FBRequest.m:199:23:{199:23-199:33}: warning: expression result unused [-Wunused-value,12] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/fbconnect-iphone/src/FBRequest.m:210:9:{210:9-210:31}: warning: expression result unused [-Wunused-value,12] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/fbconnect-iphone/src/FBRequest.m:210:33:{210:33-210:37}: warning: expression result unused [-Wunused-value,12] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/fbconnect-iphone/src/FBRequest.m:210:39:{210:39-210:46}: warning: expression result unused [-Wunused-value,12] file://localhost/Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/fbconnect-iphone/src/FBRequest.m: warning: Unused Entity Issue: Expression result unused file://localhost/Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/fbconnect-iphone/src/FBRequest.m: warning: Unused Entity Issue: Expression result unused file://localhost/Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/fbconnect-iphone/src/FBRequest.m: warning: Unused Entity Issue: Expression result unused file://localhost/Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/fbconnect-iphone/src/FBRequest.m: warning: Unused Entity Issue: Expression result unused file://localhost/Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/fbconnect-iphone/src/FBRequest.m: warning: Unused Entity Issue: Expression result unused file://localhost/Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/fbconnect-iphone/src/FBRequest.m: warning: Unused Entity Issue: Expression result unused /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/fbconnect-iphone/src/FBDialog.m /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/fbconnect-iphone/src/FBDialog.m:163:18:{163:18-163:72}{163:16-163:17}: warning: implicit conversion from enumeration type 'UIInterfaceOrientation' to different enumeration type 'UIDeviceOrientation' [-Wconversion,3] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/fbconnect-iphone/src/FBDialog.m:431:37:{431:37-431:91}{431:23-431:34}: warning: implicit conversion from enumeration type 'UIInterfaceOrientation' to different enumeration type 'UIDeviceOrientation' [-Wconversion,3] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/DownloadFile.m /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/DownloadFile.m:117:21:{117:5-117:89}: warning: using the result of an assignment as a condition without parentheses [-Wparentheses,3] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/AppDetailsViewController.m /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/AppDetailsViewController.m:485:21:{485:5-485:89}: warning: using the result of an assignment as a condition without parentheses [-Wparentheses,3] /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/AppTableViewCell.m /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/MapViewController.m /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/source/RssFeedViewController.m /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/config/alex054739fanapplicationAppDelegate.m /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/config/RotatingNavController.m /Users/alexandersoloviev/Desktop/buzztouch_v14_iPhone_B68C3AFCD4C825CB09D0DA20-2/config/RotatingTabBarController.m Anyone knows how to fix that? ;p
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
10/18/11 09:30 PM (14 years ago)
Does this actually prevent the application from compiling and running? I recently opened up a BT v1.5 app in Xcode 4.2/SDK 5, and got TONS of warnings. But, they were just that...warnings that don't seem to impact the running of the application at all. In fact, this is the same code that I originally ran using Xcode 3.2/SDK 4.2, and it submitted just fine. So...warnings are not always meant to be corrected, but they're just what they sound like...things that may be an issue, but may not be. Make sense? Mark
 
propilot
Apple Fan
Profile
Posts: 11
Reg: Aug 06, 2011
Canada
110
like
10/18/11 09:35 PM (14 years ago)
I can't Build and Archive, it won't let me the button is unavailable :/
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
10/18/11 09:43 PM (14 years ago)
Are you able to run it? Can you get it working on the iPhone simulator? Because there's no point in building and archiving until you've run and tested it on the simulators.
 
propilot
Apple Fan
Profile
Posts: 11
Reg: Aug 06, 2011
Canada
110
like
10/18/11 10:01 PM (14 years ago)
Okay I got it working, and yes its works in sim. http://img820.imageshack.us/img820/9936/screenshot20111018at115.png
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
10/19/11 12:10 PM (14 years ago)
Build warnings should be gone with the newly updated download. Have a look at the change log in the documentation then grab the newest project.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.