diff --git a/examples/hello_world/ios/Info.plist b/examples/hello_world/ios/Info.plist index a6440c1258..ad65487fb6 100644 --- a/examples/hello_world/ios/Info.plist +++ b/examples/hello_world/ios/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable Runner CFBundleIdentifier - io.flutter.example.hello_world + io.flutter.example.helloworld CFBundleInfoDictionaryVersion 6.0 CFBundleName diff --git a/packages/flutter_tools/lib/src/commands/create.dart b/packages/flutter_tools/lib/src/commands/create.dart index 122294c338..380dce52fb 100644 --- a/packages/flutter_tools/lib/src/commands/create.dart +++ b/packages/flutter_tools/lib/src/commands/create.dart @@ -193,7 +193,7 @@ String _createAndroidIdentifier(String name) { String _createUTIIdentifier(String name) { // Create a UTI (https://en.wikipedia.org/wiki/Uniform_Type_Identifier) from a base name - RegExp disallowed = new RegExp(r"[^a-zA-Z0-9\-.\u0080-\uffff]+"); + RegExp disallowed = new RegExp(r"[^a-zA-Z0-9\-\.\u0080-\uffff]+"); name = camelCase(name).replaceAll(disallowed, ''); name = name.isEmpty ? 'untitled' : name; return 'com.yourcompany.$name';