Set bundle identifier, minimum version  and rebuilt sample to fix bug 1842