Discussion Forums  >  Uncategorized

Replies: 5    Views: 645

Marko
buzztouch Evangelist
Profile
Posts: 558
Reg: May 04, 2011
UK, Alcester
8,880
11/10/11 04:33 PM (14 years ago)

Help with problems on iOS5 and new xcode

I have just completed 2nd app and wanted to ensure before I uploaded for app approval that all was OK. Updated to latest iOS5 and xcode, has caused me loads of grief. App runs fine and checked all files to make sure they are in their respective folders but have 109 warnings that are in the following areas: Any help on this will be much appreciated 1) - Lexical or Preprocessor issue - Extra tokens at end of import directive 2)Semantic issue Declaration of 'struct sockaddr_in' will not be visible outside of this function 3)Semantic issue Implicit conversion from enumeration type 'UIInterfaceOrientation' to different enumeration type 'UIDeviceOrientation' 4) Semantic issue Array index of '3' indexes past the end of an array (that contains 3 elements) 5) Semantic issue Property 'title' 'copy' attribute does not match the property inherited from 'MKAnnotation' 6) Semantic issue Incompatible pointer types sending 'Class' to parameter of type 'id<UIActionSheetDelegate>' 7) Semantic issue Incompatible pointer types assigning to 'NSObject<MGTwitterParserDelegate> *__weak' from 'NSObject *' 8)Unused Entity Issue Expression result unused
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/10/11 05:14 PM (14 years ago)
I got a ton of those as well. When I did a clean and build for archive, everything seemed to be fine. I build my apps for iOS 3 and later, so that I can support very old devices. I think as long as it compiles, and you can run it on an actual device, then you should be good. Mark
 
stoneypointe
Apple Fan
Profile
Posts: 162
Reg: Jul 30, 2011
Miami, Florida
1,620
like
11/10/11 06:03 PM (14 years ago)
@Marko Are you building for 4.3? That may be the issue. To be on the safe side you should build on 3.0 like GoNorthWest mentioned M.
 
Marko
buzztouch Evangelist
Profile
Posts: 558
Reg: May 04, 2011
UK, Alcester
8,880
like
11/11/11 09:00 AM (14 years ago)
Thanks Mark And M I need to as under Build settings under iOS Deployment Target you set this to iOS 3.0 Debug and release. Is this where I need to go with settings in build settings. I am going to compile a series of steps for getting it on the istore like I have done for 100% offline App. Any easy to make errors or key steps would be gratefully recieved and I will publish completed on forum Ps Stoneypointe I love South Beach in Miami - went about 20 years ago and fell in love with art deco, the beauty of latin dancers, and the clubs. I think I looked liked your dog in the photo when I was there.
 
stoneypointe
Apple Fan
Profile
Posts: 162
Reg: Jul 30, 2011
Miami, Florida
1,620
like
11/11/11 09:30 AM (14 years ago)
That's correct Marko I live about 15 minutes from South Beach. Really great place. Actually that is not my dog, it is me. I have only lived here for a year.....
 
ianeberle97
Apple Fan
Profile
Posts: 3
Reg: Nov 12, 2011
Crestview, FL
30
like
11/12/11 01:39 PM (14 years ago)
I am having so many problems with my Xcode 4.2 and iOS 5. SO Many errors! I took a screenshot and attached the link below: http://i40.tinypic.com/aczekp.png
 

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.