New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'NSCalendarIdentifierGregorian' is unavailable: not available on iOS #49
Comments
use this macro >> |
Hi Harit Himanshu, I think that you use the old version of the Xcode with the old version of the iPhoneSimulator7.1.sdk Sincerely, |
The issue is resolved? |
Please, try to add Best, |
I tried adding that as well, same error |
Yes, I am using it for iOS7 and XCode 5 |
Can you send me "NSCalendar.h" from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/ ? |
|
The code below says that adding #if !defined(__NSCALENDAR_COND_IOS_4_0)
#if NS_ENABLE_CALENDAR_NEW_API
#define __NSCALENDAR_COND_IOS_4_0 4_0
#define __NSCALENDAR_COND_IOS_5_0 5_0
#define __NSCALENDAR_COND_IOS_6_0 6_0
#define __NSCALENDAR_COND_IOS_7_0 7_0
#else
#define __NSCALENDAR_COND_IOS_4_0 NA
#define __NSCALENDAR_COND_IOS_5_0 NA
#define __NSCALENDAR_COND_IOS_6_0 NA
#define __NSCALENDAR_COND_IOS_7_0 NA
#endif
#endif
FOUNDATION_EXPORT NSString * const NSCalendarIdentifierGregorian NS_AVAILABLE(10_6, __NSCALENDAR_COND_IOS_4_0); // the common calendar in Europe, the Western Hemisphere, and elsewhere Please, 1. clean DerivedData, 2. restart XCode, 3. rebuild the project. |
Any results? |
I did added both |
@hhimanshu What is the build number of your Xcode? |
I have tested the RSDayFlow on Xcode Version 5.1 (5B130a) with iPhoneOS7.1.sdk and everything works as it should. I think that you have added Cheers, |
Is it possible for you to create a video or gif showing what you did? May
|
You can tell me your email address. I will create a video and send it to you. |
harit.subscriptions@gmail.com
|
using the same code as described in
README.md
, I see following error in my codeThe text was updated successfully, but these errors were encountered: