ມີບາງເທື່ອເຮົາກໍ່ຈະພົບເຫັນຫາ ເປີດ folder ios ຂອງ project flutter ບໍ່ຂຶ້ນ ສາເຫດມາຈາກຫຼາຍຢ່າງ. ແຕ່ທີ່ຜູ້ຂຽນພົບຄື ກໍລະນີ້ທີ່ເຮົາ ປິດ project ຕອນກຳລັງ build ຫຼື ປິດ project ບໍ່ສົມບູນ. ເຮັດໃຫ້ໂຄງສ້າງ project ios ຜິດໄປຈາກເດີມ. ວິທີແກ້ກໍ່ງ່າໆ
- ລົບ
Pods,.symlinks,Podfile,Podfile.lock - ເຂົ້າໄປທີ່
Runner.xcworkspaceແລ້ວລົບxcuserdatafolder ອອກ - ຈາກ
terminalrun commandflutter clean - ອອກຈາກ ios folder ແລ້ວ ran
flutter pub get - ເຂົ້າໄປ ios folder ອີກຄັ້ງ ແລະ ran
pod updateຫຼືpod install
ເປັນອັນຈົບພິທີຫຼັງຈາກນັ້ນກໍ່ລອງເປີດດ້ວຍ xcode ອີກຄັ້ງຖ້າບໍ່ມີຫຍັງຜິດພາດກໍ່ສາມາດເປີດຂຶ້ນໄດ້ແລ້ວ ແຕ່ຖ້າເປີດບໍ່ຂຶ້ນກໍ່ໂຕໃຜໂຕມັນ ຮະຮະຮຮະຮະ
Top comments (0)