Reputation: 13906
I've developed a simple MacOS application (i.e. a product consisting of main application and launch helper application) with Xcode 9.4. Application runs fine in Xcode. I've archived and exported the app (either "Export without re-signing" or "Development" using "Automatic signing"). The export process runs without errors.
However, it is not possible to the application. Upon starting outside of Xcode, nothing happens; no error message etc.
How can this be further diagnosed?
Upvotes: 0
Views: 52
Reputation: 13906
Finally found it thanks to @clemens. Embedded libraries have their place inside the generated package in /Contents/Frameworks
. Since I had previously embedded a login item I had set a /Contents/Library/LoginItems
target path that was used below Frameworks which is clearly not the expected place. Removing the library, cleaning the path and re-adding fixed it for me.
Upvotes: 1