Writing some unit tests, test target's host application is set to None
Because test target's info.plist is different then main app's, I cant access to main app's info.plist to test some values.
I want to confirm version and build numbers to be specific.
var releaseVersionNumber: String? { return infoDictionary?["CFBundleShortVersionString"] as? String }
Is there a way to achieve this rather than @testable import MySwiftApp ?
Aucun commentaire:
Enregistrer un commentaire