app-icon-badge icon indicating copy to clipboard operation
app-icon-badge copied to clipboard

Error: [ios.dangerous]: withIosDangerousBaseMod: ENOENT: no such file or directory, open '.expo/app-icon-badge/icon.png'

Open a-eid opened this issue 11 months ago • 2 comments

I am recently seening this error when building my IOS app ( managed workflow ), I tried deleting .expo directory & copying icon.png to that path, but it is failing still.

[PREBUILD] Prebuild failed
[PREBUILD] Error: [ios.dangerous]: withIosDangerousBaseMod: ENOENT: no such file or directory, open '.expo/app-icon-badge/icon.png'

any ideas how to debug it ?

oh, it's probably related to this recent change I made.

Image

a-eid avatar Feb 08 '25 12:02 a-eid

Same issue faced, probably a duplicate of this: https://github.com/obytes/app-icon-badge/issues/37

Bonitoflakes avatar Apr 09 '25 18:04 Bonitoflakes

Ran into the same error today. For me the problem was passing undefined to the plugin config's badges text field. Ensuring a string value is always passed fixed the error for me.

IlyaPyatkin avatar Nov 03 '25 12:11 IlyaPyatkin