Skip to content

Commit

Permalink
Merge pull request #11 from vbalagovic/stage
Browse files Browse the repository at this point in the history
Fix for renaming
  • Loading branch information
vbalagovic authored May 9, 2023
2 parents 2591c4a + cd4cf1c commit 0380a62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.presetups;
PRODUCT_BUNDLE_IDENTIFIER = com.example.presetup;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
Expand Down Expand Up @@ -549,7 +549,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.presetups;
PRODUCT_BUNDLE_IDENTIFIER = com.example.presetup;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
Expand Down Expand Up @@ -582,7 +582,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.presetups;
PRODUCT_BUNDLE_IDENTIFIER = com.example.presetup;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
Expand Down
2 changes: 1 addition & 1 deletion rename.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ echo ====================================
echo ========== RENAMING ==========
echo ====================================

fvm flutter pub run change_app_package_name:main $bundleId
#fvm flutter pub global activate rename
#fvm flutter pub global run rename --bundleId $bundleId
#fvm flutter pub global run rename --appname $appName
Expand All @@ -34,6 +33,7 @@ grep --exclude=./rename.sh -r -l "com.example.$packageName.dev" . | sort | uniq

grep --exclude=./rename.sh -r -l "com.example.$packageName" . | sort | uniq | xargs perl -e "s/com.example.$packageName/$bundleId/" -pi

fvm flutter pub run change_app_package_name:main $bundleId

find . -depth -name "presetup.iml" -exec sh -c 'f="{}"; mv -- "$f" "$packageName.iml"' \;
find . -depth -name "presetup_android.iml" -exec sh -c 'f="{}"; mv -- "$f" "$packageName_android.iml"' \;
Expand Down

0 comments on commit 0380a62

Please sign in to comment.