{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/WinObjC/issues/503","repository_url":"https://api.github.com/repos/Microsoft/WinObjC","labels_url":"https://api.github.com/repos/Microsoft/WinObjC/issues/503/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/WinObjC/issues/503/comments","events_url":"https://api.github.com/repos/Microsoft/WinObjC/issues/503/events","html_url":"https://github.com/Microsoft/WinObjC/issues/503","id":155447542,"number":503,"title":"fatal error : 'ContactsUI/ContactsUI.h' file not found","user":{"login":"enyawg","id":8845523,"avatar_url":"https://avatars.githubusercontent.com/u/8845523?v=3","gravatar_id":"","url":"https://api.github.com/users/enyawg","html_url":"https://github.com/enyawg","followers_url":"https://api.github.com/users/enyawg/followers","following_url":"https://api.github.com/users/enyawg/following{/other_user}","gists_url":"https://api.github.com/users/enyawg/gists{/gist_id}","starred_url":"https://api.github.com/users/enyawg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enyawg/subscriptions","organizations_url":"https://api.github.com/users/enyawg/orgs","repos_url":"https://api.github.com/users/enyawg/repos","events_url":"https://api.github.com/users/enyawg/events{/privacy}","received_events_url":"https://api.github.com/users/enyawg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/WinObjC/labels/Under%20Review","name":"Under Review","color":"556b75"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-05-18T08:47:47Z","updated_at":"2016-07-07T22:46:20Z","closed_at":null,"body":"I have an iOS sample app, which creates events in the Contacts & AddressBook for the user.\r\n\r\nWhen I am using the bridge to build the same app for WP, it is giving me the fatal error : 'ContactsUI/ContactsUI.h' file not found\r\n\r\nThere is a Framework in iOS library, called the ContactsUI & AddressBookUI.\r\n\r\nThe full error log is:\r\n\r\n1>------ Build started: Project: Demo (Demo\\Demo), Configuration: Debug Win32 ------\r\n1>  Note: Setting MaxClangProcesses to 1 because Modules are enabled.\r\n1>  ..\\..\\Demo\\ViewController.m\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\samples\\Demo\\Demo\\ViewController.m(14,9): fatal error : 'ContactsUI/ContactsUI.h' file not found\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABRecord.h(24,9): error : declaration of 'int32_t' must be imported from module 'CoreFoundation' before it is required\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABRecord.h(31,20): error : unknown type name 'bool'\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABRecord.h(33,20): error : unknown type name 'bool'\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABAddressBook.h(28,61): error : unknown type name 'bool'\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABAddressBook.h(42,20): error : unknown type name 'bool'\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABAddressBook.h(43,20): error : unknown type name 'bool'\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABAddressBook.h(45,20): error : unknown type name 'bool'\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABAddressBook.h(46,20): error : unknown type name 'bool'\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABPerson.h(39,20): error : unknown type name 'bool'\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABPerson.h(41,82): error : must use 'enum' tag to refer to type 'ABPersonImageFormat'\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABPerson.h(42,20): error : unknown type name 'bool'\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABPerson.h(43,20): error : unknown type name 'bool'\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABGroup.h(31,20): error : unknown type name 'bool'\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABGroup.h(32,20): error : unknown type name 'bool'\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABMutableMultiValue.h(27,20): error : unknown type name 'bool'\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABMutableMultiValue.h(32,20): error : unknown type name 'bool'\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABMutableMultiValue.h(33,20): error : unknown type name 'bool'\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABMutableMultiValue.h(34,20): error : unknown type name 'bool'\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBook/ABMutableMultiValue.h(40,20): error : unknown type name 'bool'\r\n1>C:\\Users\\wayneg\\Documents\\winobjc-builds\\0.1.160512\\winobjc\\include\\AddressBookUI/ABNewPersonViewController.h(21,9): fatal error : could not build module 'AddressBook'\r\n========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========\r\n========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/WinObjC/issues/comments/231230130","html_url":"https://github.com/Microsoft/WinObjC/issues/503#issuecomment-231230130","issue_url":"https://api.github.com/repos/Microsoft/WinObjC/issues/503","id":231230130,"user":{"login":"antoine-haas","id":14913946,"avatar_url":"https://avatars.githubusercontent.com/u/14913946?v=3","gravatar_id":"","url":"https://api.github.com/users/antoine-haas","html_url":"https://github.com/antoine-haas","followers_url":"https://api.github.com/users/antoine-haas/followers","following_url":"https://api.github.com/users/antoine-haas/following{/other_user}","gists_url":"https://api.github.com/users/antoine-haas/gists{/gist_id}","starred_url":"https://api.github.com/users/antoine-haas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoine-haas/subscriptions","organizations_url":"https://api.github.com/users/antoine-haas/orgs","repos_url":"https://api.github.com/users/antoine-haas/repos","events_url":"https://api.github.com/users/antoine-haas/events{/privacy}","received_events_url":"https://api.github.com/users/antoine-haas/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T22:46:20Z","updated_at":"2016-07-07T22:46:20Z","body":"Hello @enyawg,\r\nThe alternative to the AddressBook & ContactsUI frameworks would be the [Windows.ApplicationModel.Contacts](https://msdn.microsoft.com/library/windows/apps/br225002) namespace. You should use it's projected APIs, which can be found in it's corresponding [WindowsApplicationModelContacts.h](https://github.com/Microsoft/WinObjC/blob/develop/include/Platform/Universal%20Windows/UWP/WindowsApplicationModelContacts.h) header file.\r\n\r\nRegarding error APPX1101, please open a new issue since it seems to be unrelated to the AddressBook & ContactsUI frameworks."}}
{"actor":{"display_login":"antoine-haas"}}