How to make an invisible / hidden Cocoa application

I want to develop an application like http://orbicule.com/undercover/ or
http://hiddenapp.com/ .

I know how I can do this for windows, but I have absolutely no idea what kind of approach I will need for mac os x, cocoa / xcode.

Is there anything I should know about when building apps / help services
without a GUI for mac os x?

The service will post data on a web page with regular data, such as geolocation and IP address information about the machine, so that it also has access to the Internet.

Take me on the right track.

+3
source share
2 answers

Give Themes of Programming at System Startup . Create a command line tool project, not a Cocoa application or a document-based Cocoa application. To provide an interface for working with it, you will want to use a separate application (ideally, you do not need to install it using a “hidden” application, since you do not seem to want it to be easily detected).

With the exception of AppKit (UI) elements, the rest of Cocoa’s basic framework is still available to you through the command line. This means that you must write the main logic of your application (parts other than the GUI), as otherwise.

+3
source

It is pretty simple.

Switch to:

http://developer.apple.com/library/ios/#documentation/general/Reference/InfoPlistKeyReference/Introduction/Introduction.html

, , "LSBackgroundOnly", Info.plist true.

<key>LSBackgroundOnly</key>
<true/>

:

LSBackgroundOnly (Boolean - Mac OS X) , . "1", . . , , . Mach-O. .

.

+13

Source: https://habr.com/ru/post/1780846/


All Articles