Local Faves 1.1.2 and iOS 4.0

4 views
Skip to first unread message

Daniel Wall

unread,
Aug 7, 2010, 11:56:01 AM8/7/10
to Skyhook Local Faves
I installed Local Faves 1.1.2 and was able to run it on my iPhone
running iOS 4.0.1. I did have an issue with spaces in the path name
to my application - would get errors from "Run custom shell sript
'Strip Duplicate Symbols' unable to locate file". Renaming the
directory so the path would no longer have spaces took care of that
issue. I now get 46 warnings when doing a clean build.

The majority of the warnings come from "Build ObjectiveFlickr
(library)" and "Build OAuthConsumer_static" and are compile switches
which I am not concerned about. The warnings is:

"-fobjc-gc not supported for iPhone OS; ignoring."

However, there are a couple of warnings in "Build LocalFaves" that do
concern me. I am not having any issues running the app but generally
ignoring these types of warnings leads to errors. Here are the
warnings:

Compile LFNetworkManager.m
Class 'LFNetworkManagerXMLParser' does not implement
'NSXMLParserDelegate' protocol

Compile MockPhotoSource.m
'NSMutableArray' may not respond to '-
perform:withObject:withObject' (Messages without a matching signature
will be assumed to return 'id' and accept '...' as arguments.)
'NSMutableArray' may not respond to '-perform:withObject:'
'NSMutableArray' may not respond to '-perform:withObject:'

Again, I have not had any issues running local faves on the simulator
or on an iOS4.0 device but wanted to check with you on the warnings
above to make sure you were aware of them and whether or not I should
be concerned about them.

Thanks!
-Dan






George Polak

unread,
Aug 9, 2010, 10:22:25 AM8/9/10
to skyhook-l...@googlegroups.com
Hi Dan,


The warnings are due to legacy SDK calls and deprecated methods.

- The "-fobjc-gc not supported for iPhone OS; ignoring" come from the Flickr library which can be compiled against OS/X or iOS. Certain switches will be ignored on iOS, hence the warnings.

- NSXMLParser used to be a standalone class - the missing NSXMLParseDelegate was only introduced in iOS 4.0. NSXMLParser still works using the old technique, but produces the aforementioned warning. I held off on moving to the new model since that would limit the app target to only devices with iOS 4.0. Once that OS becomes more prevalent, LF will be updated. The Facebook Connect library produces similar warnings for the same reason.

- The MockPhotoSource warnings are benign, but will be removed in the next release as well.


- George

Reply all
Reply to author
Forward
0 new messages