This is because "Upgrade to Recommended Settings" will change info.plist CFBundleIdentifierto indicate $(PRODUCT_BUNDLE_IDENTIFIER)instead of the old one $(BUNDLE_IDENTIFIER).
Apple Xcode 7, PRODUCT_BUNDLE_IDENTIFIER " Bundle ". , BUNDLE_IDENTIFIER , PRODUCT_BUNDLE_IDENTIFIER, .