check bundleIdentifier is not nil
version 10.1.7