Skip to content

Instantly share code, notes, and snippets.

@ricardoalcocer
Last active November 14, 2022 20:19
Show Gist options
  • Save ricardoalcocer/13a56ac26ec8ee85e2ed052c018fd6d1 to your computer and use it in GitHub Desktop.
Save ricardoalcocer/13a56ac26ec8ee85e2ed052c018fd6d1 to your computer and use it in GitHub Desktop.
SampleOutput
_ _____ _____
|_| __|___ ___| _ |___ ___ ___
| | | | -_| | | . | . |_ -|
|_|_____|___|_|_|__|__| _| _|___|
|_| |_|
This is the iGenApps App Prepping Script.
----------------------------------------------------------------------------------------------
✓ Attempting to download Zip file
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 215k 100 215k 0 0 46869 0 0:00:04 0:00:04 --:--:-- 51834
✓ Download successful!
✓ Unzipping downloaded files to /Users/alco/Documents/code/igenapps/DevelopmentFlutter/app5511734
Archive: ./tmp/igenapps_5511734.zip
inflating: /Users/alco/Documents/code/igenapps/DevelopmentFlutter/app5511734/lib/constants.dart
inflating: /Users/alco/Documents/code/igenapps/DevelopmentFlutter/app5511734/flutter_native_splash.yaml
inflating: /Users/alco/Documents/code/igenapps/DevelopmentFlutter/app5511734/assets/icon.png
inflating: /Users/alco/Documents/code/igenapps/DevelopmentFlutter/app5511734/assets/splashscreen.png
✓ 📁 Currently at /Users/alco/Documents/code/igenapps/ServiceNativeApp
✓ Stashing any local changes that we don't care about
Saved working directory and index state WIP on app5511734-11-14-2022-02-02-39: d451f60 Update key.properties
✓ Fetch main-android-pushnotification branch
Switched to branch 'main-android-pushnotification'
Your branch is up to date with 'origin/main-android-pushnotification'.
✓ Creating branch app5511734-11-14-2022-02-17-39
Switched to a new branch 'app5511734-11-14-2022-02-17-39'
✓ Copying /Users/alco/Documents/code/igenapps/DevelopmentFlutter/app5511734/assets/* to /Users/alco/Documents/code/igenapps/ServiceNativeApp/assets/
✓ Copying /Users/alco/Documents/code/igenapps/DevelopmentFlutter/app5511734/flutter_native_splash.yaml to /Users/alco/Documents/code/igenapps/ServiceNativeApp/flutter_native_splash.yaml
✓ Copying /Users/alco/Documents/code/igenapps/DevelopmentFlutter/app5511734/lib/constants.dart to /Users/alco/Documents/code/igenapps/ServiceNativeApp/lib/constants.dart
✓ Copying App Manifest to /Users/alco/Documents/code/igenapps/ServiceNativeApp/assets/appmanifest.json
✓ Get Flutter packages
Running "flutter pub get" in ServiceNativeApp... 2,527ms
✓ Renaming app to "BARRETT HVAC"
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ #0 FileRepository.changeIosAppName (package:rename/file_repository.dart:240:12)
│ #1 <asynchronous suspension>
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ 💡 IOS appname changed successfully to : BARRETT HVAC
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ #0 FileRepository.changeMacOsAppName (package:rename/file_repository.dart:249:14)
│ #1 <asynchronous suspension>
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ ⚠️ macOS AppName could not be changed because,
│ ⚠️ The related file could not be found in that path: macos/Runner/Configs/AppInfo.xcconfig
│ ⚠️
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ #0 FileRepository.changeAndroidAppName (package:rename/file_repository.dart:290:12)
│ #1 <asynchronous suspension>
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ 💡 Android appname changed successfully to : BARRETT HVAC
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ #0 FileRepository.changeLinuxAppName (package:rename/file_repository.dart:317:14)
│ #1 <asynchronous suspension>
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ ⚠️ Linux AppName could not be changed because,
│ ⚠️ The related file could not be found in that path: linux/CMakeLists.txt
│ ⚠️
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ #0 FileRepository.changeWebAppName (package:rename/file_repository.dart:381:14)
│ #1 <asynchronous suspension>
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ ⚠️ Windows Appname could not be changed because,
│ ⚠️ The related file could not be found in that path: web/index.html
│ ⚠️
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ Renaming bundleId to com.igenapps.app5511734
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ #0 FileRepository.changeIosBundleId (package:rename/file_repository.dart:87:12)
│ #1 <asynchronous suspension>
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ 💡 IOS BundleIdentifier changed successfully to : com.igenapps.app5511734
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ #0 FileRepository.changeMacOsBundleId (package:rename/file_repository.dart:114:14)
│ #1 <asynchronous suspension>
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ ⚠️ macOS BundleId could not be changed because,
│ ⚠️ The related file could not be found in that path: macos/Runner/Configs/AppInfo.xcconfig
│ ⚠️
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ #0 FileRepository.changeAndroidBundleId (package:rename/file_repository.dart:172:12)
│ #1 <asynchronous suspension>
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ 💡 Android bundleId changed successfully to : com.igenapps.app5511734
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ #0 FileRepository.changeLinuxBundleId (package:rename/file_repository.dart:200:14)
│ #1 <asynchronous suspension>
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ ⚠️ Linux BundleId could not be changed because,
│ ⚠️ The related file could not be found in that path: linux/CMakeLists.txt
│ ⚠️
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ Setting app icons
════════════════════════════════════════════
FLUTTER LAUNCHER ICONS (v0.9.1)
════════════════════════════════════════════
• Creating default icons Android
• Adding a new Android launcher icon
• Overwriting default iOS launcher icon with new icon
✓ Successfully generated launcher icons
✓ flutter pub run flutter_native_splash:create
[Android] Creating splash images
[Android] Updating launch background(s) with splash image path...
[Android] - android/app/src/main/res/drawable/launch_background.xml
[Android] - android/app/src/main/res/drawable-v21/launch_background.xml
[Android] Updating styles...
[Android] - android/app/src/main/res/values-v31/styles.xml
[Android] - android/app/src/main/res/values/styles.xml
[iOS] Creating splash images
[iOS] Updating LaunchScreen.storyboard with width, and height
[iOS] Updating ios/Runner/Info.plist for status bar hidden/visible
Web folder not found, skipping web splash update...
Native splash complete. 👍
Now go finish building something awesome! 💪 You rock! 🤘🤩
✓ Installing iOS Pods
Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project
Pod installation complete! There are 4 dependencies from the Podfile and 5 total pods installed.
[!] Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `Runner` to `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` or include the `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` in your build configuration (`Flutter/Release.xcconfig`).
✓ Patching project.pbxproj file
· Downloading file template..
· Patching...
· Writing patched project.pbxproj...
✓ Patching key.properties file
✓ Adding OneSignal App Id to main.dart file
✓ ========================================================================
✓ 🎉 YOUR APPS HAVE BEEN GENERATED SUCCESSFULLY IN 24 SECONDS. 🥳
✓ ========================================================================
✓ Starting build process (Android)...
✓ Build Android APK
Changing current working directory to: /Users/alco/Documents/code/igenapps/ServiceNativeApp
💪 Building with sound null safety 💪
Running Gradle task 'assembleRelease'... 2,742ms
✓ Built build/app/outputs/flutter-apk/app-release.apk (18.1MB).
✓ Build Android Bundle
Changing current working directory to: /Users/alco/Documents/code/igenapps/ServiceNativeApp
💪 Building with sound null safety 💪
Running Gradle task 'bundleRelease'... 1,558ms
✓ Built build/app/outputs/bundle/release/app-release.aab (18.1MB).
✓ ========================================================================
✓ 🎉 Android APK and Bundle built in 8 SECONDS. 🥳
✓ ========================================================================
✓ Starting build process (iOS)...
✓ Build iOS IPA
Changing current working directory to: /Users/alco/Documents/code/igenapps/ServiceNativeApp
Archiving com.igenapps.app5511734...
Updating project for Xcode compatibility.
Upgrading project.pbxproj
Upgrading Runner.xcscheme
Automatically signing iOS for device deployment using specified development team in Xcode project: 8XAR2N4FTL
Running Xcode build...
└─Compiling, linking and signing... 9.3s
Xcode archive done. 41.0s
Built /Users/alco/Documents/code/igenapps/ServiceNativeApp/build/ios/archive/Runner.xcarchive.
💪 Building with sound null safety 💪
✓ ========================================================================
✓ 🎉 iOS IPA built in 52 SECONDS. 🥳
✓ ========================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment