How do I run a node.js app as a background service?

Since this post has gotten a lot of attention over the years, I've listed the top solutions per platform at the bottom of this post. Original post: I want my node.js server to run in the...

How can I debug a Launchd script that doesn't run on startup?

I have some Launchd scripts from homebrew. However I have to manually run them when I restart my computer: launchctl load -w ~/Library/LaunchAgents/com.mysql.mysqld.plist <!--> <?xml...

ios how to read a crash log

I've never had to read a crash log before so I'm admittedly a n00b in these waters. I can tell there was an EXC_BAD_ACCESS. How can I tell which object was released before it was supposed to...

EXC_BAD_ACCESS (SIGABRT), ios crash log

I have some problem with my iPhone/ipad app. its published in app store, but now it seems like a few users experiences crashes when they try to start the app. Sometimes it helps with a hard...

NSManagedObject dealloc crash

I got some crash report from my users, one mysterious is copied below. Unfortunately I could not reproduce it, so I can not give any peace of code. I'he not to much experience how to analyse this...

what does launchd status 78 mean?? why my user agent not running??

I want to run a unison sync service running in the background whenever I login. But the status code of my agent is 78. I don't know why, I tried some fix posted online, but it just doesn't...

SMJobBless Apple sample code keep asking password

I have downloaded the Apple's SMJobBless to execute privileged operation. It is working correctly. The only issue i'm facing is, every time on launch it asks for password. Is there a way to avoid...

Scheduling a terminal command or script file to run daily at a specific time Mac OS X

I want to have my computer set its volume to a specific level every night at 11:45 PM. I'm running OSX 10.11.4. I can set the volume manually through terminal with osascript -e "set Volume...

How To Install Redis On macOS Sierra Public Beta

I am attempting to install Redis using Homebrew for an app project. Homebrew IS installed and has been updated to its latest version. However, when I run $ brew install redis from the terminal, I...

Launchd Plist file not running after reboot

I am creating an OSX app the requires GUI at the login page of a iMac and I was wondering (if possible) I could run a launchd plist file after reboot. The following plist file is in the...

Rails error installing mysql2 (mysql2-0.3.20)

I am trying to get a rails project up and running on my local machine. When I do bundle install Fetching mysql2 0.3.20 Installing mysql2 0.3.20 with native extensions Gem::Ext::BuildError: ERROR:...

EXC_CRASH (SIGABRT) UIPopoverPresentationController presentationTransitionWillBegin

I have received crash log from production and cannot understand how to reproduce it. It happened only once on iPad with iOS 9.3 as per information I have. This crash happened after my latest...

Script to play a warning when battery level is under a threshold in MacOS

I am using a MacBook and the battery is unreliable. I am trying to find a script command that will enable the laptop to play a beep when the battery level is lower than a threshold. After some...

Encountered an error communicating with IBAgent-iOS. Failed to boot device iPhone Xs

I am getting an Error on the top of my interface builder in Xcode 10.3 and while clicking on report bug and checking the log.txt file I found out that fails to open simulator. However I am not...

brew postgresql-upgrade-database fails on migrating and upgrading data

I've just sit down to my work, forgetting that I've upgraded brew in the 2020 – so of course I have a postgresql problem. The last version I had was 12.x. Now I have 13.1 installed: $ brew info...

Can't run Jupyter notebooks over Anaconda on Mac M1

I have a problem with loading Jupyter notebook from my Anaconda Navigator on M1 Mac. When I try to launch jupyter notebook I get this error : The application cannot be opened for an unexpected...

Why does app crash on iOS 14 when setting UIDatePicker preferredDatePickerStyle

The problem: User reports iOS crashes when calling datePicker.preferredDatePickerStyle = ... in Swift or [self.datePicker setPreferredDatePickerStyle:UIDatePickerStyleInline] in Objective-C The...

Cannot start jenkins-lts on mac using homebrew

I am trying to install/run jenkins on a mac machine using homebrew. This is what I did brew install jenkins-lts On running this command. I see that jenkins-lts is installed and I see this...

How to install and start MySQL 5.7 on macOS BigSur (Apple Silicon) with Homebrew?

I need a specific version of MySQL (5.7) to be installed on my MacBook with M1. I'm trying to do that with Homebrew. brew install [email protected] The output: We've installed your MySQL database without...

Flutter iOS App Crashing in App Store Review but not on Testflight devices

I have developed an app with Flutter and it is currently on the App Store, however, for over a week I have been trying to submit an app update and keep getting the response from the review team...

"GPU process isn't usable. Goodbye."

I'm experimenting with building a Windows and Mac OS app using Electron and have hit a snag. In short, if I try to run the application directly with Electron on Mac OS Big Sur (as opposed to...

Mac Big Sur MariaDB will not run

MariaDB has worked fine but is now failing to run on boot up. I have uninstalled and it then reinstalled it and this does not fix anything. Here is the output from mysql.server.start mysql.server...

Android Studio crashes in Mac OS Monterey Beta 6

So I recently updated my MacBook Air M1 chip to the latest version of Mac OS Monterey and suddenly my Android Studio started crashing because of which I can't connect my emulator or use Flutter...

Crash -[CTTelephonyNetworkInfo updateRat:descriptor:]

Recently my Crashlytics & Apple crash logs received many crashes with -[CTTelephonyNetworkInfo updateRat:descriptor:] crash without much other information. iOS 15 spuriously not encounter this...

MAMP PRO crashes on launch (Monterey 12.0.1)

Not sure if it's the fault of the new system since I have seen others successfully run mamp pro from MacRumors. And I have tried to give full disk access via system preference, also, I ran sudo...

Address already in use for puma-dev

Problem Whenever I try to run bundle exec puma -C config/puma.rb --port 5000 I keep getting bundler: failed to load command: puma...

xcode 13.1 crash while project loading

I am trying to open a project made in Xcode 12 using Xcode 13.1 and I get crash. In Xcode 12 it opens without problems Log shown below. Can you help me ? Thank you. P.S. I found that the problem...

iOS app crashes with EXC_BREAKPOINT (SIGTRAP) in AppDelegate.applicationWillResignActive

I have an app with very strange crashes that I have been unable to reproduce. I see these crashes in Xcode Organizer and in AppStore connect but not in crash tools (I tried Sentry and Bugsnag). As...

App crashes, but only on iOS 14, and only if installed via MDM

We're experiencing an extremely bizarre crash in our iOS/iPadOS app. Some major changes in our latest release: Built with Xcode 13.0 on Big Sur 11.6 Dropped support for iOS 13 Updated Firebase to...

Getting Code Signature Invalid when opening signed electron app

I'm dealing with this issue for almost two weeks. When I build my electron app in a DMG file, everything works perfect, but when I try to build the app in pkg format to upload to AppStore, I get...