function verifyProjectBundleIdentifier (tmpDir, projectName, expectedBundleIdentifier) {
    const pbxproj = path.join(tmpDir, 'App.xcodeproj', 'project.pbxproj');
    const xcodeproj = xcode.project(pbxproj);
    xcodeproj.parseSync();

    const actualBundleIdentifier = xcodeproj.getBuildProperty('PRODUCT_BUNDLE_IDENTIFIER', undefined, 'App');
    expect(actualBundleIdentifier).toBe(`"${expectedBundleIdentifier}"`);

    const actualBundleName = xcodeproj.getBuildProperty('PRODUCT_NAME', undefined, 'App');
    expect(actualBundleName).toBe(`"${projectName}"`);
}
Verifies that the set bundle id matches with the expected.

@param {String} tmpDir
@param {String} projectName
@param {String} expectedBundleIdentifier