Starting with Xcode 7 you can actually use macros and inlined functions, you just need to import the relevant module first:
(lldb) p @import Foundation (lldb) p NSLocalizedString(@“Test”, @“Test”) (NSTaggedPointerString *) $0 = 0x0000007473655445 @"Test" Kate Stone [email protected] <mailto:[email protected]> Xcode Low Level Tools > On Sep 29, 2015, at 9:44 AM, Quincey Morris > <[email protected]> wrote: > > On Sep 29, 2015, at 08:53 , Alex Zavatone <[email protected]> wrote: >> >> I just keep getting >> >> error: use of undeclared identifier 'NSLocalizedString', > > NSLocalizedString and its friends are macros, not functions. In the debugger, > you’ll need to do what the macro does: use the > ‘localizedStringForKey:value:table:’ method on the main bundle. > > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Xcode-users mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/xcode-users/katherine_stone%40apple.com > > This email sent to [email protected]
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
