MacOS launches the wrong binary when clicking on .app
I developed a MacOS application that contains several binaries inside myapp.app/Contents/MacOS
I noticed that after a crash of my application, MacOS sometimes doesn't launch the correct binary. Even if the Info.plist is correctly pointing to the good one.
I found a trick to fix this, it is to move the Info.app to a different directory (let's say myapp.app/) and then move it back (myapp.app/Contents/).
It seems to me that this is a fallback of MacOS after detecting that an error occurred. I would like to understand this process and know how to force the execution of the correct binary or reset whatever cache MacOS keeps.
Any help will be greatly appreciated.
Thanks for your answer. Here are my comments.
I made sure that the problem doesn't come from me (no log in the mainApp, the setting has been correctly updated on disk, the setup is launched as "setup -psnXXXXXX" which means it is the binary started by the OS). Also, it did happen that clicking on the .app launched the other binary (Configuration) at startup which is impossible from my code.
I know where the crash is and I already fixed it. However some of my users are experiencing this behavior after other random crashes. I am working on fixing them all but in the meantime, there must be a way to avoid this buggy behavior.
Thanks again for your help trying to understand this.
Similar Messages
-
IPod Touch shows the wrong artwork when playing songs
Recently my iPod Touch has just decided to display all the wrong artwork when playing songs. For example I will be listening to Chris Brown and It will be showing a picture of a Jay-Z album. How do I fix this?!
I've read that all you have to do is 'uncheck "display album artwork" in the music preferences section when your iPod is connected and click "apply". Then sync your iPod.'.. however I manually add the songs onto my iPod so I can't uncheck the music option as it's already unchecked!
Please help, my iPod looks so ugly showing the wrong artwork lolFirst:
SOLUTION(FIX): Editing Song titles and...: Apple Support Communities
Then:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Unsync all music and resync
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device. -
I bought the iPhone 5 today. I have 2 apple IDs and I entered the wrong one when I set up the phone. How can I change it to the other one?
Start Over...
ERASE / Clear All Data
See Erase your device Here > http://support.apple.com/kb/HT4137
Go to Settings > General > Reset > Erase all content and settings -
Although all photos in my libraries are rotated to the correct orientation, random pictures still show up in the wrong position when viewed on Apple TV.
Any suggestions?silvergc
Thanks for your comments
Several of our iPhone users in the UK reported the problem this morning, and as the Apple fan in the office I've got the job of resolving the issue
The original Excel was an old .xls file, but I have saved it as a .xlsx and the problem still appears
I haven't spoken with our developer yet, but I assume he has created the Excel file using some programming tools rather that directly using Excel
In the meantime I have created a simply spreadsheet with 8 cells contain values
In the first 4 cells, I have formatted them using Currency, and have used the currencies USD, DEM, GBP and CHF
In the remaining cells I have formatted them using the Accounting option, using the same currencies
When I review the spreadsheet on the iPhone (or iPad), the first 4 remain the same yet the last four all show the £ symbol
I have now changed the Region Format of the iPhone to United States, and when viewing on the iPhone the bottom 4 values are now all showing the $ sign!
If I had created the spreadsheet I would have put the Currency code in a seperate cell and purely used a numeric format for the number, and there would be no issue. That might be the only solution
Yes, the Director has the full MS Excel app on his Windows 8 device, but I can't expect all of our clients to go and do the same, in business many of them will have the iPhone
We may have to change the way we produce the report because of Apple's failings here, and it's not the first time that we have had to change something because Apple devices can't display them properly
In business, submitting a potential job contract only for the recipient to get the wrong idea of the costs is a major concern -
I put the wrong birthdate when registering my daughters new iPod Touch. It didn't let me establish a new account because the birthdate was too young. When I went to correct it, it continued the lock her new registration out. Now I can't successfully register her on iTunes with her correct birth year.
i just opened my ipad, started my apple account/I.D. and realized I put the wrong e mail. I was having trouble correcting my I.D on the Ipad so I went to my laptop and make the proper changes/slash e mail address I wanted for my apple ID. I got back to my ipad and try to download an app I can't because I have to sign in my apple account and I can't because it still has the irrelivant I.D/email address..
So, i did what you said.. went to setting>app store> tapped on my e mail.. it asked me to sign in (with my invalid emails address showing). I signed in with the password I had created. It said "incorrect".. I went to reset password. I reset password, tried to sign in and it says again "unvalid password".. this is getting irritating. I have been asking and no one knows what to do. -
Im having trouble with error 13019 I have read the previous discussions about this matter and have tried to do them except for the fact that under the music tab when clicking on my ipod every thing is frozen. It s not my comp. and i dont wish to restore. Please help!
If you are wondering why you are not getting any responses, it is because you have vented a complaint without any details that make any sense or give anyone something to work on.
If you want help, I suggest actually detailing what has happened, with versions of software etc. Anything that would let us assist.
As a start I am guessing that you have not really got the hang of "How it all works". Firstly download the Pages09_UserGuide.pdf from under the Help menu. Read that and view the Video Tutorials in the same place. A good addition would be the iWork 09 Missing manual book and something to help you learn how to use your Mac.
If there are specific tasks you need help with:
http://www.freeforum101.com/iworktipsntrick/index.php?mforum=iworktipsntrick
Is a good resource.
Peter -
Itunes 11.4.0.18 crashing when clicking on app store
Itunes is getting crash when clicked on app store. I tried to get some information for this crash and got the above message in debugging mode. Please fix this if required but i am unable to open app store.Click here and follow the instructions to change the iTunes Store country.
(97125) -
I used the wrong year when creating an account, now it tells me im to young no matter what year i use?
Have you tried just exiting the setup and try trying later?
-
Mail shows in the doc, but when clicked or doubled clicked does not open on the desktop, HELP !
Try restarting your Mac.
Open Termimal (Applications/Utilities/Terminal)Try entering this command: killall Dock, and then hit enter
Try dragging the Mail icon out of the dock, then let it disappear in a puff of smoke. Then from Applications/Mail try dragging the Mail icon back into the dock, and see if it works.
Does Mail open otherwise? Like if you try opening it from your Applications folder?if it doesn't:
Boot into your recovery partition (restart, hold down ⌘R until you see the Apple logo), and use Disk Utility to repair your hard drive. Repair permissions too while you're there. OS X: About OS X Recovery
if that doesn't work: reinstall Mavericks over your current installation.
Message was edited by: arthur -
use to have a + on the right of the tab that when clicked, opens a new tab. what happened to this?
greghcrash wrote:
It Would be great to have keys on the onscreen keyboard.
Such as a computer keyboard.
With BACKSPACE, TAB WITH SETTINGS, DELETE, TYPE OF TYPE, BOLD TYPE, UNDERLINE ETC....
I HAVE A KEYBOARD COVER AND IF I NEED TO USE CERTAIN KEYS I HAVE TO SWITCH TO MY KEYBOARD CASE AND THAT IS VERY INCONVENIENT.
IT IS ALSO A TIME WASTER.
When you installed iOS 8 did you read about the new features? Applications can create custom keyboards…
http://www.imore.com/custom-keyboards-ios-8-explained
You need to look for an app that has a custom keyboard with the features you require, I suggest you find one without CAPSLOCK
greghcrash wrote:
IT IS ALSO AGGRAVATING WHEN TYPING AND IT AUTOMATICALLY CHANGES THE WORDS THAT YOU WANT TO USE.
THANK YOU FOR YOUR TIME
Again you need to look at how to manage the device - these settings can be turned off already & you can edit the 'suggestions' too.
Settings > General > Keyboards > turn Auto-Correction Off.
Sadly you cannot disable autocorrect temporarily, so it's all or nothing. -
Apple Bluetooth keyboard shows the wrong letters when pressed
Hi,
My apple bluetooth keyboard shows the wrong letters when I write on it. If I press "c", the letter "d" shows on the screen instead. The bottom row of letters mimicks the row just above. I've tried unpairing and paring the keyboard again with my computer and my ipad. Same error. Tried resetting the pram and the smc and it still doesn't work. Changed the batteries in the keyboard and no change. I've removed some plist file (com.apple.BezelService) and its lock file like someone recommended in a youtube video. I've also checked the keyboard settings and can't find anything that seems weird.
Does anyone have a suggestion on how to fix it or do I have to buy a new keyboard?
/AndreasBefore you buy a new one, take it to an Apple store (if one is near you) and have them look at it.
Barry -
How can I change the install location when installing an App (i.e. Lightroom) from Creative Cloud?
Rolfjuelg I am sorry but Lightroom does not support custom installation locations through the Creative Cloud. You can find more details at Lightroom and Creative Cloud FAQ.
-
Why my apps are not transferring from PC to iPhone 5? When I connected to PC the icon shows when I select apps it show 'will install' but it never show on iPhone, I re installed iTunes, deleted all apps and downloaded again but its not working pls help.
Next time an app update gets stuck try a reset. Press and hold both the home and power buttons for10-15 seconds till the Apple logo appears. Then release both buttons. Wait till your iPad starts on it's own. Try now. Also YouTube is still available. If you can't find it the the app store go to the bottom of the app store page and tap purchased. All your deleted apps will be listed and you can reinstall YouTube from there.
-
When i synced my new iphone to my pc i clicked the wrong button - instead of restoring it from my old phone's last backup i clicked set up as new iphne - now it appears all my old texts and my notes have gone. Any ideas how I can get them back?
When you plug it into iTunes - it will show on the left side of the screen. Right click on it, and you will have a list of restores to use. Pick the one you want, and it will pull all of that data. It worked on mine...
-
Firefox loads website in the wrong tab when I click a link and change tabs.
In Firefox when I open a new tab and type in a webpage or click on the homepage button, then change to anoter tab while I wait for it to load, it will load the site in the tab I've switched to instead of the tab that I initially put the address in. This is annoying as it replaces whatever I was working on when it incorrectly loads the new page in the wrong tab. I have a fairly slow internet connection through my phone's hotspot, so it can take a long time to load pages, which is why I try to load something in one tab while working on another.
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
*Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
*Do NOT click the Reset button on the Safe Mode start window
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
Maybe you are looking for
-
After I updated my Ipad2 to IOS5 my calendar lost all appointments. After re-entering a couple of appointments it froze. After getting it going again, the calendar will not populate an end date for the current day and consequently I can't save the
-
Here is the error report Process: iPhoto [427] Path: /Applications/iPhoto.app/Contents/MacOS/iPhoto Identifier: com.apple.iPhoto Version: 9.3.2 (9.3.2) Build Info: iPhotoProject-670063000000000~2 App Item ID:
-
Photoshop "SAVE AS" problems!!!!!!!
When I finish with my project and I want to save it it won't let me. A box pops up and says "Could not save a copy as ....... because write access was not granted". How the heck do I grant access for the computer to allow me to save my work??????????
-
I started out by setting up under my itunes account. When I tried the facetiming my iphone with my sons new ipod it said that I was calling even though I set it up in his name. Also, I don't know how to try to face time him. How do I add him as a
-
Popularity Trends Report - Zero Hits and Zero Unique Users
Popularity Trends Report - Zero Hits and Zero Unique Users. Search Service is working and returning results for generic look-ups. I have read numerous postings on this subject, but non that define a step-by-step trouble shooting method such as what