Commit 60a7b36
committed
fix(ios): guard modulemap generation against missing headers dir
A plugin can ship a static lib (.a) without an include/{lib} headers
folder. Check the headers dir exists before readDirectory so we bail out
gracefully (clean up any stale modulemap, return false) instead of
throwing. Addresses PR review feedback.1 parent 1cb741c commit 60a7b36
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1736 | 1736 | | |
1737 | 1737 | | |
1738 | 1738 | | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
1739 | 1751 | | |
1740 | 1752 | | |
1741 | 1753 | | |
| |||
1744 | 1756 | | |
1745 | 1757 | | |
1746 | 1758 | | |
1747 | | - | |
1748 | | - | |
1749 | 1759 | | |
1750 | 1760 | | |
1751 | 1761 | | |
| |||
0 commit comments