Question: Let's say I have a vector of long long elements:

```
std::vector<long long>V {1, 2, 3};

```

I have seen that in order to iterate over the vector you can do this:

```
for (auto i = v.begin() ; i != v.end() ; i++)
   cout<<*i;

```

`i++` means `i` grows by `1`, but shouldn't the address go up 8 bytes to print the next element? So "growing" part of the for loop(for any type) should look like this:

```
i += sizeof(v[0]);

```

I'm assuming an address can hold 1 byte , so if the starting address of an integer would be 1000 , then its total allocation will be represented by adresses:1000 , 1001 , 1002 , 1003.I would like to understand memory better so I'd be thankful if you could help me.

Answer: 
You may also add the following configuration in the .zshrc file:

```
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LC_ALL=en_US.UTF-8

```

NOTE: Restart you mac after you add this configuration.

After Restarting, Just use your terminal to run these commands.

```
1) brew install libffi

2) brew install cocoapods

```

Then it is done.

If you face any error around null safety, you can run the following command in the terminal to launch you app.

```
flutter run --no-sound-null-safety

```

This has solved my issue and is working fine. Hope it helps
I found a way to make it work, you just need to install Rosetta !
Here is a little bit of help : <https://support.apple.com/en-us/HT211861>