S
S
SudoKarate2014-08-12 20:28:31
Cocoa
SudoKarate, 2014-08-12 20:28:31

How to run an application built in X-Code without a signature on another Mac?

OS X 10.9.4
X-Code 5.1.1 I
have a developer account with a paid iOS developer program subscription, but no OS X developer program subscription.
Wrote a Mac application, built a build with an .app extension, which runs and works fine on my computer. When copying the application to another Mac with the same version of OS X, trying to run it does nothing. The application icon tries to appear in the Dock, pushing the adjacent ones by a couple of pixels, and immediately disappears, without any messages. Running through the console gives the error "LSOpenURLsWithRole() failed with error -10810", error -10810 means an unknown error.
Tried the same with an empty HelloWorld app, won't launch. In the security settings, permission to install and run applications from unknown developers is worth it.
I also tried to build a slider demo project that I used in development ( https://github.com/Doshipak/LADSlider). Running on another machine - I got the same result as with HelloWorld.
Is it really possible to run an application without a signature only on the computer on which the program was actually compiled? What could be the problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
SudoKarate, 2014-08-13
@SudoKarate

What happened: when downloading an app via safari from a dropbox, safari downloads the app as a folder and overwrites the body of the program, but outwardly it is not noticeable in the end, even in size. The same thing happens when transferring via TeamViewer.
Solution: always archive the application / use the "Add to my Dropbox" button in Dropbox.

S
s1dney, 2014-08-12
@s1dney

Mandatory app signature is not required if there are no plans to upload the application to the store. Most likely, the program just crashes on startup because it was built on the wrong SDK and with the wrong parameters.
The topic about build compatibility is very extensive and interesting, google towards build compatibility osx app.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question