ideviceinstaller icon indicating copy to clipboard operation
ideviceinstaller copied to clipboard

afc_file_open

Open huamoxiaoche opened this issue 7 years ago • 9 comments

hi, something awkward happended. when I run 'ideviceinstaller -u udid -i test.ipa' in my terminal, log shows below:

Copying 'XXX_ipa_path' to device... afc_file_open on 'PublicStaging/com.test.demo' failed!

how can I solve this? Thanks in advance

huamoxiaoche avatar Jun 06 '18 03:06 huamoxiaoche

Facing same here

dhirendrarathod2000 avatar Aug 28 '18 20:08 dhirendrarathod2000

Me too

GameBuffer avatar Sep 15 '18 05:09 GameBuffer

me too

haryshi avatar Feb 02 '21 03:02 haryshi

Hi guys, full phone reset helped me to solve this issue/ Seems like something left in the phone storage for my application that can't be deleted from settings.

alei01 avatar Dec 10 '21 09:12 alei01

libimobile device failed to open the file /PublicStaging/com.test.demo on the ios device . In my case that was a directory and not a regular file. I solved it by deleting that directory with ios-deploy

NickSmyr avatar Nov 28 '22 23:11 NickSmyr

In my case, and many others from what I read, this was caused by the disk being full. Remember that you can safely remove the ideviceinstaller staging folder, among other things.

rm -rf /private/var/mobile/Media/PublicStaging

tux-mind avatar Dec 09 '22 15:12 tux-mind

libimobile device failed to open the file /PublicStaging/com.test.demo on the ios device . In my case that was a directory and not a regular file. I solved it by deleting that directory with ios-deploy

Could you please provide commands how you did it?

shalom-aviv avatar Oct 15 '23 14:10 shalom-aviv

libimobile device failed to open the file /PublicStaging/com.test.demo on the ios device . In my case that was a directory and not a regular file. I solved it by deleting that directory with ios-deploy

Could you please provide commands how you did it?

Mounting the iPhone storage and then calling rm -rf would be optimal. Otherwise use ios-deploy --rm to delete files included within each directory and then use it on directories once they are empty. I wrote a script that listed all files, sorted by the number of slashes (/) decreasing and then called ios-deploy --rm on each of them. This way takes a long time though

NickSmyr avatar Oct 15 '23 14:10 NickSmyr

libimobile device failed to open the file /PublicStaging/com.test.demo on the ios device . In my case that was a directory and not a regular file. I solved it by deleting that directory with ios-deploy

Please provide some more steps. what exactly have to delete? thanks

ExploreTech01 avatar Nov 29 '23 08:11 ExploreTech01