Quantcast
Viewing all articles
Browse latest Browse all 40524

App runs in Xcode but always crashes on launch when run as standalone

hmmm.... you can always use lldb at the command line to debug the crash -- I usually do:

lldb pathToExe ( it's usually appName.app/Contents/MacOS/appName)

then

process launch

to run the app....

(also running the app from the command line via the full path to the exe can help (./appName.app/Contents/MacOS/appName)

On windows (not so much on mac) I've seen situations where running the app in the IDE can give different "current working directories" of where the app is thought to be located.


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>