Open openradar-mirror opened 8 years ago
I have added AddressBook.framework but still app crashing with same error.
dyld: Symbol not found: _kABPersonAddressCityKey Referenced from: /Users/ajitemsahasrabuddhe/Library/Developer/CoreSimulator/Devices/83287726-DAB4-4319-9950-B4750F56DFAD/data/Containers/Bundle/Application/EB937A70-7404-49AA-966F-DF19720D824A/ChangeTransit.app/Frameworks/Paysafe.framework/Paysafe Expected in: /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.1.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/PassKit.framework/PassKit in /Users/ajitemsahasrabuddhe/Library/Developer/CoreSimulator/Devices/83287726-DAB4-4319-9950-B4750F56DFAD/data/Containers/Bundle/Application/EB937A70-7404-49AA-966F-DF19720D824A/ChangeTransit.app/Frameworks/Paysafe.framework/Paysafe
Description
Summary: If you build an app that imports PassKit with the iOS 10 SDK, and use a constant from AddressBook.framework (such as
kABPersonAddressStreetKey
), if you run to iOS < 10 simulator, the app crashes on launch.Steps to Reproduce:
print(kABPersonAddressStreetKey)
Expected Results:
Street
is printedActual Results: The app crashes on launch with
dyld: Symbol not found: _kABPersonAddressStreetKey
Version: iOS 10 beta 6 SDK
Notes:
A workaround for this is to manually add AddressBook.framework to your "Linked Frameworks and Libraries"
See the attached project for an example.
Entire crash log:
Product Version: iOS 10 beta 6 SDK Created: 2016-08-29T22:32:35.083920 Originated: 2016-08-29T15:32:00 Open Radar Link: http://www.openradar.me/28064734