Unrecognised symbol when using kSecACLAuthorizationChangeACL

Originator:igor.lawicki
Number:rdar://30305868 Date Originated:01 Feb 2017
Status:Open Resolved:
Product:Developer Tools Product Version:
Classification: Reproducible:100%
 
Summary:
Linker throws error that symbol kSecACLAuthorizationChangeACL is unrecognised.

Steps to Reproduce:
CFStringRef stringRef = kSecACLAuthorizationChangeACL;

Expected Results:
Linker should find symbol.

Actual Results:
Undefined symbols for architecture x86_64:
  "_kSecACLAuthorizationChangeACL", referenced from:
      -[ViewController viewDidLoad] in ViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Version:
Xcode Version 8.2.1 (8C1002), Xcode 8.0

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!