Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

moivhod

macrumors newbie
Original poster
Apr 8, 2017
13
2
I built an app which works perfectly with one minor issue. When a user downloads it and launches from Download folder, the app won’t start and an error alert pops up “The specified file was not found”.

But as the app is moved to any other folder (including system Applications folder) it starts and runs as designed. I suspect it’s something wrong with system security settings. And I must admit that the app contains a binary unrar used for .rar files extraction. How that can be fixed?


a07bb2eeeb5ecb012efecad50fb447daa023e6b8.png
 
Odd.

I assume you mean you have an "unrar" binary as part of your app bundle, that you're executing via NSTask, right? If so, maybe try logging the "unrar" command and check that its looking for file/files in the places you think it is, and that they do in fact exist. If so, try executing it from Terminal and see if that gives any clues.

Alternatively, make an installer that forces your user to put your app in the Applications folder.

Good luck!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.