I tried it before posting the question and It was failed.
here is the output of the command i run right now.
Maozs-MacBook-Air:~ maoztamir$ diskutil apfs resizeContainer 081BDD50-277D-4DA7-9F9F-3462D2D03D38 0
Started APFS operation
Resizing APFS Container designated by APFS Container Reference disk1
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l /dev/disk0s2
Checking volume
Checking the container superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the object map
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking snapshot 1 of 10
Checking snapshot 2 of 10
Checking snapshot 3 of 10
Checking snapshot 4 of 10
Checking snapshot 5 of 10
Checking snapshot 6 of 10
Checking snapshot 7 of 10
Checking snapshot 8 of 10
Checking snapshot 9 of 10
Checking snapshot 10 of 10
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Verifying allocated space
warning: Overallocation Detected on Main device: (49761093+38) bitmap address (959123)
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 240,894,586,880 to 479,894,224,896 bytes
Modifying partition map
Growing APFS data structures
APFS Container Resize error code is 49168
A problem occurred; undoing all changes
Modifying partition map
Error: -69606: A problem occurred while resizing APFS Container structures
Maozs-MacBook-Air:~ maoztamir$ diskutil apfs list
APFS Container (1 found)
|
+-- Container disk1 081BDD50-277D-4DA7-9F9F-3462D2D03D38
====================================================
APFS Container Reference: disk1
Capacity Ceiling (Size): 240894586880 B (240.9 GB)
Capacity In Use By Volumes:
143699308544 B (143.7 GB) (59.7% used)
Capacity Available: 97195278336 B (97.2 GB) (40.3% free)
|
+-< Physical Store disk0s2 7D116956-B6B8-4F9E-81EB-0102A66948D5
|
-----------------------------------------------------------
|
APFS Physical Store Disk:
disk0s2
|
Size: 240894586880 B (240.9 GB)
|
+-> Volume disk1s1 0367451C-B40E-3CF4-892C-EB700AA5A059
|
---------------------------------------------------
|
APFS Volume Disk (Role):
disk1s1 (No specific role)
|
Name: Maoz (Case-insensitive)
|
Mount Point: /
|
Capacity Consumed: 140883492864 B (140.9 GB)
|
Decryption Progress: 93.0% (Unlocked)
|
+-> Volume disk1s2 6940D746-7DCF-49EA-90CA-045349EB3928
|
---------------------------------------------------
|
APFS Volume Disk (Role):
disk1s2 (Preboot)
|
Name: Preboot (Case-insensitive)
|
Mount Point: Not Mounted
|
Capacity Consumed: 20729856 B (20.7 MB)
|
FileVault: No
|
+-> Volume disk1s3 3D02B5E6-6D2D-4C84-A073-177DC27F931F
|
---------------------------------------------------
|
APFS Volume Disk (Role):
disk1s3 (Recovery)
|
Name: Recovery (Case-insensitive)
|
Mount Point: Not Mounted
|
Capacity Consumed: 509820928 B (509.8 MB)
|
FileVault: No
|
+-> Volume disk1s4 EEDFEAC1-3BC0-4045-A3BE-A3D7684B4CA4
---------------------------------------------------
APFS Volume Disk (Role):
disk1s4 (VM)
Name: VM (Case-insensitive)
Mount Point: /private/var/vm
Capacity Consumed: 2147504128 B (2.1 GB)
FileVault: No
Maozs-MacBook-Air:~ maoztamir$