objective c - The application cannot be opened because its executable is missing -


I have an application that I have been developing for some time. Recently, the introduction of the application through a double click presents a dialogue which says, "You can not open the App Repo Watch because it can be damaged or incomplete."

Launching the application via open media. "The application can not be opened because its executable is missing."

I usually start the application through habit. / ReepowWatch.app/Contents/MacOS/RepoWatch just out of habit (which works), so I'm sure this is happening, or what has changed before hand. The most likely is that I have put the cp Info.plist ./RepoWatch.app/Contents / in my makeup file without processing everything in the .app bundle for version Info.plist.

I have seen Info.plist many times and can not find anything wrong with it. The file opens with the Property List Editor without any error Saving the file from the Property List Editor does not work "work" (if it's the fault in the first place).

Permissions As far as I can understand:

  $ ls -l ./RepoWatch.app/Contents/Info.plist-rw-rw-r - @ 1 dgrace Staff 789 Feb 1 23:20 ./RepoWatch.app/Contents/Info.plist $ ls -lal / apps / edem.ap / content / info Plist-R-R-R-1-1 1 Dagrace Staff 5750 August 21 15:41 / Applications / Adm.AP / Content / Info Plist  

and here is information about the information. However, (although nothing has changed in some time):

   

Posted on Replying @Asamokris has posted:

The problem appears with the launch of your app in the launch services database. There is no need to recreate the entire database to forcefully update the listing for your app (especially), using the lsregister with the -f option Do:

  / system / library / frameworks / core services. Framework / Frameworks / Launch Services. Framwork / help / lsregister -f MyApp.app  

I had the same problem you described, and it works for me thanks, @asamoks!


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -