GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-05-14T17:55:58.000+0000 |
Affected Version/s | Release 3.1.0 |
Fix Version/s | 2013 Sprint 10 API, 2013 Sprint 10, Release 3.1.1, Release 3.2.0 |
Components | iOS |
Labels | qe-closed-3.1.1, qe-sdk3.1.0, triage |
Reporter | Paras Mishra |
Assignee | Vishal Duggal |
Created | 2013-04-16T12:24:48.000+0000 |
Updated | 2013-06-03T23:25:40.000+0000 |
App does not get proper access to use Calendar when the app is compiled against Xcode 4.4 and run on iOS 6 device.
Steps to reproduce:
Make sure you have some events in the calendar.
Run the test app app.js
Expected:
All Calendars from the native Calendar app should show up on the Picker.
Actual:
No Calendar is shown.
Using xcode: 4.4.1 , 4.6, app does not work on iPhone 5, iOS :6 But using xcode: 4.4.1 app works fine on iphone4s, iOS :5.1
This is essentially happening because of the conditional compilation of iOS 6 code that we put in for enabling privacy feature on iOS 6 and above. and Only happens if you build using Xcode 4.4 and try installing on iOS 6 device. Solution for this would be to, go to > settings > privacy and manually re-enable access for the given app to calendars.
This is exactly why we should require running a current version of XCode, because Titanium cannot link to necessary commands if they're not there in an outdated version of the iOS SDK.
Pull pending https://github.com/appcelerator/titanium_mobile/pull/4262
Backport to 3_1_X https://github.com/appcelerator/titanium_mobile/pull/4263
Tested with: Mac osx 10.8.3 Mountain Lion Appcelerator Studio, build: 3.1.1.201306012403 Titanium Studio, build: 3.1.1.201305312303 SDK, build: 3.1.1.v20130531163723 XCode 4.4.1 Device: iPhone 5 iOS 6.0 Please, see attached screenshots. I ran this test with cloud services disabled. Closing.