I am working on application in which I need to support iOS 8 onwards devices. Application used iOS contacts So I need to add both ABAddress
and contacts framework
.
I am facing a strange problem with Xcode 8 that ABAddressFramework
not found at run time and application crashed.
I have added the framework in Link Binary With Library with required tag.
Please provide your input on this.
Asked
Active
Viewed 136 times
0

nynohu
- 1,628
- 12
- 12

Saurav Nagpal
- 1,247
- 1
- 10
- 27
-
Can you write some code here you are using for this? – SNarula Dec 21 '16 at 08:09
-
Privacy - Contacts Usage Description Are you adding this in your info.plist? – SNarula Dec 21 '16 at 08:12
-
@SNarula I have already added that. – Saurav Nagpal Dec 21 '16 at 08:27
-
Please write code here. – SNarula Dec 21 '16 at 09:29
-
Hi @SNarula, There is no specific code just try to access "kABPersonAddressZIPKey" constant in app launch and app will crash. – Saurav Nagpal Dec 21 '16 at 09:40
2 Answers
0
Besides checking for iOS 8 and iOS 9 to call functions,
make sure the framework that's not available on iOS 8 is set as Optional

SG iOS Developer
- 158
- 2
- 10
0
Finally I resolved the issue and I tried removing and adding the ABAdressFramework and it works. I think Order is also playing important role:

Saurav Nagpal
- 1,247
- 1
- 10
- 27