[Solved] NSBundle.mainBundle().bundleIdentifier! + “.\(self.rawValue)” in swift 3.0? November 9, 2022 by Kirat Bundle.main.bundleIdentifier! + ".\(self.rawValue)" NS prefix is omitted in swift 3 Working code examples:- let rawValue = "Testing stackoverflow" let stringValue1 = Bundle.main.bundleIdentifier! + "test" let stringValue2 = Bundle.main.bundleIdentifier! + "\(rawValue)" 2 solved NSBundle.mainBundle().bundleIdentifier! + “.\(self.rawValue)” in swift 3.0?