// Current Application
let id = Bundle.main.bundleIdentifier!
let thisApp = NSRunningApplication.runningApplications(withBundleIdentifier: id).last!
// Get Bundle
let bundleURL = NSWorkspace.shared.urlForApplication(withBundleIdentifier: bundleID)!
guard let bundle = Bundle(url: bundleURL)
else {
print("oops! bundleURL: \(bundleURL)")
return
}