x code cammnds

sudo chown -R $(whoami) "/Users/youssefbenattar/Library/Developer/Xcode/DerivedData/Runner-aqtvqtjdevwkqycynlrrytnnjhsr/Build/Intermediates.noindex/Archive Intermediates/Runner/BuildProductsPath/Release-iphoneos/Flutter.framework"

rm -rf ~/Library/Developer/Xcode/DerivedData
rm -rf ~/Library/Caches/CocoaPods
rm -rf Pods/
flutter clean



lunch icons

https://mega.nz/file/06VzBbpT#yLZM5sBaG5t6Lxb1NqO848mIlOaLQ4DHDUUxixpty9M

com.countriesquizzes.youssefbenattar

system_profiler SPHardwareDataType | grep UUID



flutter_launcher_icons: ^0.13.1

flutter_launcher_icons:
  android: "launcher_icon"
  ios: true
  image_path: "assets/icon.jpg"
  min_sdk_android: 21


flutter pub run flutter_launcher_icons

---------------------------

flutter_app_name: ^0.1.1

flutter_app_name:
  name: "Wallpaper"


flutter pub run flutter_app_name
---------------------------

change_app_package_name: ^1.1.0


flutter pub run change_app_package_name:main com.countriesgames.youssefbenattar

















https://mega.nz/file/AuF2FKYZ#VXFL8pkINdALzj8CASxG0iWdUq1nDXIHhgkETbkYp64
flutter pub add unity_ads_plugin
how to solve this error :
 Error installing cocoapods :
The last version of drb (>= 0) to support your Ruby & RubyGems was 2.0.5. Try instal ling it with 'gem install drb -v 2.0.5 and then running the current command again drb requires Ruby version >= 2.7.0. The current ruby version is 2.6.10.210.

dependencies:
  flutter:
    sdk: flutter
  google_fonts: ^6.1.0

 flutter:
  uses-material-design: true
  assets:
    - assets/
    - assets/Flags/
    - assets/maps/
    - assets/Levels/
    - assets/coatofarms/
    - assets/usstates/
    - assets/landmarks/
    - assets/communist/

1. Install rbenv (if not installed):

bash
brew install rbenv

2. Set up rbenv in your shell:

Add the following lines to your shell profile file (e.g., .zprofile or .bash_profile):

bash
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi

Then restart your shell session or run:

bash
source .zprofile

3. Install a newer version of Ruby:

bash
rbenv install 2.7.0

4. Set the global Ruby version:

bash
rbenv global 2.7.0

5. Verify the Ruby version:

bash
ruby -v

You should see something like ruby 2.7.0.

6. Install CocoaPods again:

bash
sudo gem install cocoapods

7. Run Flutter Doctor:

Finally, run flutter doctor again to check if the issues have been resolved:

bash
flutter doctor

This should resolve the compatibility issue with drb. If you encounter any further issues, the flutter doctor output should provide guidance on how to address them.



https://mega.nz/file/E2dTnb6a#y-MvnFcVCU6TL64WploeKhjGh98CYLPq0WkHsd8eZxQ

Comments