Skip to content

Commit

Permalink
added build number when starting up in mechnism
Browse files Browse the repository at this point in the history
  • Loading branch information
twocanoes committed Jul 22, 2022
1 parent 2d4b70a commit 5f6bdd3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions XCredsLoginPlugIn/Mechanisms/XCredsBaseMechanism.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ protocol XCredsMechanismProtocol {
let defaultsDict = NSDictionary(contentsOfFile: defaultsPath)
UserDefaults.standard.register(defaults: defaultsDict as! [String : Any])
}
let infoPlist = Bundle.main.infoDictionary

if let infoPlist = infoPlist, let build = infoPlist["CFBundleVersion"] {
TCSLogWithMark("Build \(build)")

}



}
Expand Down
Binary file not shown.

0 comments on commit 5f6bdd3

Please sign in to comment.