Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
330018: contacts example is broken...
-
the example from the official documentation http://omz-software.com/pythonista/docs/ios/contacts.html
does not work anymore in this build. It just stops on line 6 without an error.The problem is the access to the "note" property.
import contacts print('Address Book Notes') print('=' * 40) people = contacts.get_all_people() for p in people: note = p.note if note: print(p.full_name) print('-' * 40) print(note) print('=' * 40)
the following version without access to the contact notes work as in the older builds... so it has nothing todo with permissions to the contacts in general...
import contacts print('Address Book Notes') print('=' * 40) people = contacts.get_all_people() for p in people: print(p.full_name) print('-' * 40) print('=' * 40)
-
Is this a new problem of 330018? As far as I know it is a IOS13 „problem“ caused by a new entitlement needed for accessing.
Regards
Tom -
the official example still works with the 330015 and with the appstore version on iOS13.2. Therefore definitly a new problem introduced with 330018.
-
@mithrendal In one of my issues of 330018, Ole answered that this version is built with iOS 13 SDK. Thus, ...
-
-
I understand that seems plausible. Then we have got this bug because @omz built the 330018 with a new version of XCode ... Do you think he should apply for an exception to the rule as pointed out in your linked article then ? Maybe Apple won't give him and us this exception...
-
-
@mithrendal said:
we have got this bug because @omz built the 330018 with a new version of XCode
I think we will meet several bugs from that... 😥
-
Playing around with iOS contacts, I finally got stuck with this ‘notes’ problem and came here. Is it a bug? Ain’t it Apple’s new policy?