Compile error for iOS 6.0 Simulator

1,015 views
Skip to first unread message

Michael Valentiner

unread,
Jul 6, 2012, 12:32:31 PM7/6/12
to objecti...@googlegroups.com

In my source file which imports ObjectiveFlickr.h, I get a "Cannot find protocol declaration for 'OFFlickrAPIRequestDelegate'".  Apparently, ObjectiveFlickr.h:line 133 evaluates to false and OFFlickrAPIRequestDelegate is not defined:


#if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4

@protocol OFFlickrAPIRequestDelegate <NSObject>

@optional

#else

@interface NSObject (OFFlickrAPIRequestDelegateCategory)

#endif


It looks to me that MAC_OS_X_VERSION_MIN_REQUIRED is defined to MAC_OS_X_VERSION_10_5  (in AvailableMacros.h:line 118), but this must not be the case.

This does not happen if I build for the iOS Device.

Anyone know the remedy?

lukhnos

unread,
Jul 8, 2012, 11:18:57 PM7/8/12
to objecti...@googlegroups.com
Hi,

I just updated the project files and those places that use the availability macros (commit:f474a78). Let me know if that resolves the issue.

There was some issues with the MAC_OS_X_VERSION_MIN_REQUIRED macro. I think as many of us move onwards to use the latest SDK and dev tools, it may be the time to clean those up and discontinue the support for OS X 10.4.

Lukhnos

Michael Valentiner

unread,
Jul 10, 2012, 10:56:56 AM7/10/12
to objecti...@googlegroups.com, lukhnos
Lukhnos,

Thank you for the fast turn around!  That fixes the issue.

--------------------------------------------
Michael Valentiner




--
You received this message because you are subscribed to the Google Groups "objectiveflickr" group.
To view this discussion on the web visit https://groups.google.com/d/msg/objectiveflickr/-/wGpOtV6lN-4J.
To post to this group, send email to objecti...@googlegroups.com.
To unsubscribe from this group, send email to objectiveflic...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/objectiveflickr?hl=en.

Reply all
Reply to author
Forward
0 new messages