Undefined symbols for architecture x86_64: "_NSVariableStatusItemLength"

Originator:markos
Number:rdar://17597453 Date Originated:08-Jul-2014 11:06 PM
Status:Open Resolved:
Product:OS X SDK Product Version:Xcode 6 Beta 3
Classification:Serious Bug Reproducible:Always
 
Summary:
It is not possible to create a NSStatusItem of NSVariableStatusItemLength

Steps to Reproduce:
Install Xcode 6 beta 3
Open the attached project
Build

Expected Results:
Expect the NSVariableStatusItemLength symbol to be available.

Actual Results:
Undefined symbols for architecture x86_64:
  "_NSVariableStatusItemLength", referenced from:
      __TFC9StatusBar11AppDelegate29applicationDidFinishLaunchingfS0_FGSqCSo14NSNotification_T_ in AppDelegate.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 6.0 (6A254o)
OS X 10.9.4 Build 13E28

Notes:
Workaround: Do not use NSVariableStatusItemLength to specify the length of the NSStatusItem

Configuration:


Attachments:
'StatusBar.zip' was successfully uploaded.

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!