We're using the function defined bellow to get the version of the app.
extension Bundle {
public static var appVersion: String? {
main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String
}
}
Since the release of Xcode 13, our test fails because CFBundleShortVersionString returns current Xcode version instead of null. Before it was returning null and we were assigning it default value during unit tests. Is this intended behaviour or an issue which we can expect to be fixed?