Reply to How to get defined current library version in xcode "Build Setting - linking or versionning" NSString * version = [[NSBundle mainBundle] objectForInfoDictionaryKey: @"CFBundleShortVersionString"]; is not working correctly in static library. Developer Tools & Services General Mar ’23