EzDevInfo.com

osx-el-capitan interview questions

Top osx-el-capitan frequently asked interview questions

OS X El Capitan stuck on Beta without Software Update

I have an issue with OS X El Capitan.

I just noticed in "About this Mac" that my version is "10.11 Beta (15A279b)" but in Software Update I have no option to upgrade to GM.

Should I just download the GM and perform an upgrade or would I have to wipe my entire system?

I have to upgrade since It's not possible uploading new iOS / OSX apps to the App Store with a Beta.

Thanks :)


Source: (StackOverflow)

How do you disable the window switch animation when switching spaces with Mission Control?

In Snow Leopard, I had the window switch animation disabled when I quick-key between spaces. Now that it's Mission Control in Lion, there's this long animation during which all my desktop icons disappear and I can't use anything. I'd really like to disable this, but the old fix doesn't appear to work.

Does anyone know how to disable this needless animation in OS X Lion or later?


Source: (StackOverflow)

Advertisements

Missing /usr/include in OS X El Capitan

I was trying to build an app which depends on PJSIP lib which should have some headers in /usr/include. But there is no /usr/include folder, and I can't create one even my account has administrator rights.

How can be include folder, activated/created/restore ?


Source: (StackOverflow)

Getting the error "There was an error in iCloud Preferences"

I keep getting this error:

enter image description here

Not sure how to fix it. I tried moving the MobileMe.plist file from the preferences but still get this.

Ive saved the log file specifically for the iCloud error:

4/26/16 4:21:39.714 PM  com.apple.preferences.icloud.remoteservice[1315]    Failed to connect (_signInButton) outlet from (iCloudPref) to (NSButton): missing setter or instance variable
4/26/16 4:21:39.714 PM  com.apple.preferences.icloud.remoteservice[1315]    Failed to connect (_signInSpinner) outlet from (iCloudPref) to (NSProgressIndicator): missing setter or instance variable
4/26/16 4:21:39.715 PM  com.apple.preferences.icloud.remoteservice[1315]    Could not connect action, target class iCloudPref does not respond to -signinPressed:
4/26/16 4:21:39.800 PM  com.apple.preferences.icloud.remoteservice[1315]    Additional Logging , array retured in signedInAccounts is (
    " -- uid: 23E78709-2529-493E-A80A-17F8E3BABAB8; loginName: user@me.com; provider: com.apple.account.icloud; parent: (null)\n\taccount ID: user@me.com - com.apple.account.icloud - \n\tprovider attrs: {\n    IADSIDKey = 146390864;\n    \"com.apple.InternetAccounts.loginName\" = \"user@me.com\";\n    \"com.apple.InternetAccounts.provider\" = \"com.apple.account.icloud\";\n    fullName = \"Full Name\";\n}"
)
4/26/16 4:21:41.891 PM  com.apple.preferences.icloud.remoteservice[1315]    [AOSAccounts] :  [MMCopyMeCardImageFromiCloud]  : error from _AOSAccountRetrieveMeCardImage Error Domain=AOSErrorDomain Code=1000 "(null)" UserInfo={HttpStatusCode=404, DialogInfo={
    DialogType = Unknown;
}}
4/26/16 4:21:42.061 PM  com.apple.preferences.icloud.remoteservice[1315]    [AOSAccounts] :  [MMCopyMeCardImageFromiCloud]  : error from _AOSAccountRetrieveMeCardImage Error Domain=AOSErrorDomain Code=1000 "(null)" UserInfo={HttpStatusCode=404, DialogInfo={
    DialogType = Unknown;
}}
4/26/16 4:21:42.256 PM  com.apple.preferences.icloud.remoteservice[1315]    [AOSAccounts] :  [MMCopyMeCardImageFromiCloud]  : error from _AOSAccountRetrieveMeCardImage Error Domain=AOSErrorDomain Code=1000 "(null)" UserInfo={HttpStatusCode=404, DialogInfo={
    DialogType = Unknown;
}}
4/26/16 4:21:42.290 PM  com.apple.preferences.icloud.remoteservice[1315]    Failed to connect (_iconBadgeView) outlet from (IACastleServiceRow) to (NSImageView): missing setter or instance variable
4/26/16 4:21:42.350 PM  com.apple.preferences.icloud.remoteservice[1315]    [AOSAccounts] : [iCloudConfigurationDelegate] -[iCloudConfigurationDelegate completeSetupWithResponse:account:handler:] : Saving iCloud Account with username user@me.com 23E78709-2529-493E-A80A-17F8E3BABAB8
4/26/16 4:21:42.654 PM  com.apple.preferences.icloud.remoteservice[1315]    Migration of type ValidateCredentials already in progress
4/26/16 4:21:42.704 PM  com.apple.preferences.icloud.remoteservice[1315]    ValidateCredentials start
4/26/16 4:21:42.704 PM  com.apple.preferences.icloud.remoteservice[1315]      running ValidateCredentials step LogStatus
4/26/16 4:21:42.731 PM  com.apple.preferences.icloud.remoteservice[1315]    Master identity:  BAT: old-identity 
4/26/16 4:21:42.753 PM  com.apple.preferences.icloud.remoteservice[1315]    KeychainGetICDPStatus: keychain: -25300
4/26/16 4:21:42.753 PM  com.apple.preferences.icloud.remoteservice[1315]    KeychainGetICDPStatus: status: off
4/26/16 4:21:42.753 PM  com.apple.preferences.icloud.remoteservice[1315]    Local iCDP status is 0
4/26/16 4:21:42.753 PM  com.apple.preferences.icloud.remoteservice[1315]      running ValidateCredentials step PreCheckKeychain
4/26/16 4:21:42.766 PM  com.apple.preferences.icloud.remoteservice[1315]     SecOSStatusWith error:[-25299] Error Domain=NSOSStatusErrorDomain Code=-25299 "duplicate item O,genp,0DC4BAEB,S,ak,appleaccount,0,desc,invi,acct,svce,gena,musr,20160426232142.764685Z,75C3AAAC" (errKCDuplicateItem / errSecDuplicateItem:  / The item already exists.) UserInfo={NSDescription=duplicate item O,genp,0DC4BAEB,S,ak,appleaccount,0,desc,invi,acct,svce,gena,musr,20160426232142.764685Z,75C3AAAC}
4/26/16 4:21:42.779 PM  com.apple.preferences.icloud.remoteservice[1315]      running ValidateCredentials step FixupKeychainItems
4/26/16 4:21:42.803 PM  com.apple.preferences.icloud.remoteservice[1315]     SecOSStatusWith error:[-25299] Error Domain=NSOSStatusErrorDomain Code=-25299 "duplicate item O,genp,0DC4BAEB,S,ak,appleaccount,0,desc,invi,acct,svce,gena,musr,20160426232142.802161Z,B5BBC74F" (errKCDuplicateItem / errSecDuplicateItem:  / The item already exists.) UserInfo={NSDescription=duplicate item O,genp,0DC4BAEB,S,ak,appleaccount,0,desc,invi,acct,svce,gena,musr,20160426232142.802161Z,B5BBC74F}
4/26/16 4:21:43.027 PM  com.apple.preferences.icloud.remoteservice[1315]      running ValidateCredentials step FetchMetaData
4/26/16 4:21:43.043 PM  com.apple.preferences.icloud.remoteservice[1315]     SecOSStatusWith error:[-25299] Error Domain=NSOSStatusErrorDomain Code=-25299 "duplicate item O,genp,0DC4BAEB,S,ak,appleaccount,0,desc,invi,acct,svce,gena,musr,20160426232143.04167Z,3AE70A56" (errKCDuplicateItem / errSecDuplicateItem:  / The item already exists.) UserInfo={NSDescription=duplicate item O,genp,0DC4BAEB,S,ak,appleaccount,0,desc,invi,acct,svce,gena,musr,20160426232143.04167Z,3AE70A56}
4/26/16 4:21:44.370 PM  com.apple.preferences.icloud.remoteservice[1315]    Could not find image named 'iCloudDrive'.
4/26/16 4:21:44.622 PM  com.apple.preferences.icloud.remoteservice[1315]    revealElementForKey iCloud
4/26/16 4:21:44.624 PM  com.apple.preferences.icloud.remoteservice[1315]    An uncaught exception was raised
4/26/16 4:21:44.624 PM  com.apple.preferences.icloud.remoteservice[1315]    *** -[__NSArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 0]
4/26/16 4:21:44.624 PM  com.apple.preferences.icloud.remoteservice[1315]    (
    0   CoreFoundation                      0x00007fff96abd4f2 __exceptionPreprocess + 178
    1   libobjc.A.dylib                     0x00007fff8a053f7e objc_exception_throw + 48
    2   CoreFoundation                      0x00007fff969dd134 -[__NSArrayI objectAtIndex:] + 164
    3   iCloudPref                          0x00000001011b69a5 iCloudPref + 10661
    4   libdispatch.dylib                   0x00007fff8ca4f93d _dispatch_call_block_and_release + 12
    5   libdispatch.dylib                   0x00007fff8ca4440b _dispatch_client_callout + 8
    6   libdispatch.dylib                   0x00007fff8ca57c1c _dispatch_main_queue_callback_4CF + 1685
    7   CoreFoundation                      0x00007fff96a729e9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
    8   CoreFoundation                      0x00007fff96a318dd __CFRunLoopRun + 1949
    9   CoreFoundation                      0x00007fff96a30ed8 CFRunLoopRunSpecific + 296
    10  HIToolbox                           0x00007fff932e4935 RunCurrentEventLoopInMode + 235
    11  HIToolbox                           0x00007fff932e476f ReceiveNextEventCommon + 432
    12  HIToolbox                           0x00007fff932e45af _BlockUntilNextEventMatchingListInModeWithFilter + 71
    13  AppKit                              0x00007fff8da68efa _DPSNextEvent + 1067
    14  AppKit                              0x00007fff8da6832a -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
    15  ViewBridge                          0x00007fff8be2ab21 -[NSViewServiceApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 73
    16  AppKit                              0x00007fff8da5ce84 -[NSApplication run] + 682
    17  AppKit                              0x00007fff8da2646c NSApplicationMain + 1176
    18  libxpc.dylib                        0x00007fff9897245e _xpc_objc_main + 793
    19  libxpc.dylib                        0x00007fff98970e8a xpc_main + 494
    20  ViewBridge                          0x00007fff8be50683 xpc_connection_handler + 0
    21  ViewBridge                          0x00007fff8be2e9d9 NSViewServiceApplicationMain + 2818
    22  PreferencePanes                     0x00007fff854c95c1 PreferencePaneMain + 168
    23  com.apple.preferences.icloud.remoteservice 0x0000000100dccd24 main + 37
    24  libdyld.dylib                       0x00007fff8fc935ad start + 1
    25  ???                                 0x0000000000000001 0x0 + 1
)
4/26/16 4:21:44.634 PM  com.apple.xpc.launchd[1]    (com.apple.preferences.icloud.remoteservice[1315]) Service exited due to signal: Illegal instruction: 4
4/26/16 4:21:45.736 PM  ReportCrash[1345]   Saved crash report for com.apple.preferences.icloud.remoteservice[1315] version 316 (479) to /Users/doronkatz/Library/Logs/DiagnosticReports/com.apple.preferences.icloud.remoteservice_2016-04-26-162145_Dorons-MacBook-Pro.crash


Source: (StackOverflow)

Add more than two windows in SplitView macOS

Is there any workaround that enables adding more than two windows in the SplitView introduced in El Capitan?


Source: (StackOverflow)

Thunderbird Unified Inbox doesn't work for all accounts

I use Thunderbird as email client on my Mac (El Capitan 10.11). The Unified inbox doesn't work for two accounts. The sent folder is unified however.

Total 10 accounts

  • 4 Gmail, all pop, of which 3 unified (inbox and sent)
  • 5 provider accounts, all pop, 4 unified inboxes, 5 unified sent folders
  • 1 provider account, imap, not unified (and that's OK)

How can I get all accounts to appear in the unified inbox?


Source: (StackOverflow)

Mac: 3 monitor setup: My desktop set keep switching places between monitors

Situation:

I have a MacBook pro MacBook Pro (Retina, 15-inch, Mid 2014)

And have 2 External Monitors ASUS VS247 Display connected via thunderbolt.

On each monitor, I have multiple Desktops/Spaces open.

Problem:

When I wake my mac from sleep, sometimes, it switches the recognition of the monitors and all the Desktops/Spaces from Monitor2 are now on Monitor3 and all Desktops/Spaces from Monitor3 are on Monitor2.

The main monitor (the one on the laptop) always stays the same.

This happens on an average once every month. I was unable to find a specific cause for this to happen.

I have my thunderbolt cables and ports color-coded. So, I am definitely not switching the cables around.

More info:

This is how my mission control settings look like.

[NO] Automatically rearrange spaces based on most recent use?
[Yes] When switching to an application, switch to a Space with open windows for the application.
[No] Group windows by application.
[Yes] Displays have separate Spaces.

Does anyone else have the same issue? If so is there a fix?


Source: (StackOverflow)

Unresponsive mouse and keyboard on login screen (macbook pro 2015)

When I boot the laptop from shutdown state (not resuming or awakening), it quickly goes to the login screen as normal but the mouse and keyboard seem unresponsive, but not completely:

Every like 5-7 seconds I'm able to enter a keystroke or move the mouse. Using those time windows I'm able to enter the password and successful login.

Once I login, the laptop works perfectly fine and stable.

This is the log I recorded today when it happened again: http://pastebin.com/zaDp9xg9

It happens every time I fully reboot or shutdown the laptop, don't have any problems with suspension and awakening.

If I reboot resetting the PRAM, the problem doesn't appear until the next shutdown reboot. So what I usually do is reset the PRAM every time I boot.

I reinstalled the OS from scratch and the issue is still there. I also use FileVault.

Have anybody experienced a similar issue? Do you see anything strange in the log?

Thanks


Source: (StackOverflow)

How to get KeePass running on Mac?

I've searched around, and so far I haven't found any helpful information, so I decided to ask here!

I am running Mac OS X 10.11.1, I have downloaded and installed Mono 4.2.1, and I am trying to run KeePass 2.31. I tried following the instructions here, but when I try to run mono Keepass.exe, KeePass tries to open, but quits and reports the following error messages:

System.NotImplementedException: The method or operation is not implemented.
  at System.Windows.Forms.XplatUICarbon.get_SmallIconSize () <0x6e94698 + 0x0001f> in <filename unknown>:0 
  at System.Windows.Forms.XplatUI.get_SmallIconSize () <0x6e94660 + 0x0001d> in <filename unknown>:0 
  at System.Windows.Forms.SystemInformation.get_SmallIconSize () <0x6e94628 + 0x00013> in <filename unknown>:0 
  at KeePass.Forms.MainForm.UpdateUIState (Boolean bSetModified, System.Windows.Forms.Control cOptFocus) <0x6e90f80 + 0x003bb> in <filename unknown>:0 
  at KeePass.Forms.MainForm.UpdateUIState (Boolean bSetModified) <0x6e90f58 + 0x00023> in <filename unknown>:0 
  at KeePass.Forms.MainForm.OnFormLoad (System.Object sender, System.EventArgs e) <0x6e2ee20 + 0x02f4b> in <filename unknown>:0 
  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) <0x6e2e5d8 + 0x00062> in <filename unknown>:0 
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) <0x6e2e3a0 + 0x00080> in <filename unknown>:0 

According to Mono, "Windows.Forms is part of a standard Mono installation." I'm not sure where to go from here now, since I downloaded the latest version of Mono and none of the documents/guides are helping. I would appreciate your help! Thanks.

UPDATE:

As suggested in the comments, I've updated XQuartz and now when I run mono KeePass.exe, I get the following errors:

System.NotImplementedException: The method or operation is not implemented.
  at System.Windows.Forms.XplatUICarbon.get_SmallIconSize () <0x702b118 + 0x0001f> in <filename unknown>:0 
  at System.Windows.Forms.XplatUI.get_SmallIconSize () <0x702b0e0 + 0x0001d> in <filename unknown>:0 
  at System.Windows.Forms.SystemInformation.get_SmallIconSize () <0x702b0a8 + 0x00013> in <filename unknown>:0 
  at KeePass.Forms.MainForm.UpdateUIState (Boolean bSetModified, System.Windows.Forms.Control cOptFocus) <0x70073f8 + 0x003bb> in <filename unknown>:0 
  at KeePass.Forms.MainForm.UpdateUIState (Boolean bSetModified) <0x70073d0 + 0x00023> in <filename unknown>:0 
  at KeePass.Forms.MainForm.OnFormLoad (System.Object sender, System.EventArgs e) <0x6fba000 + 0x02f4b> in <filename unknown>:0 
  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) <0x6f186a0 + 0x00062> in <filename unknown>:0 
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) <0x6f18468 + 0x00080> in <filename unknown>:0 

Unhandled Exception:
System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
  at System.Drawing.GDIPlus.CheckStatus (Status status) <0x57e9d58 + 0x0016b> in <filename unknown>:0 
  at System.Drawing.StringFormat.set_Alignment (StringAlignment value) <0x57eaa48 + 0x00033> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.StringFormat:set_Alignment (System.Drawing.StringAlignment)
  at System.Windows.Forms.ColumnHeader.CalcColumnHeader () <0x6ff2280 + 0x00093> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ColumnHeader:CalcColumnHeader ()
  at System.Windows.Forms.ListView.LayoutHeader () <0x6effa58 + 0x000af> in <filename unknown>:0 
  at System.Windows.Forms.ListView.LayoutDetails () <0x6eff478 + 0x0007b> in <filename unknown>:0 
  at System.Windows.Forms.ListView.CalculateListView (ListViewAlignment align) <0x6efd1c8 + 0x00057> in <filename unknown>:0 
  at System.Windows.Forms.ListView.Redraw (Boolean recalculate) <0x6efd150 + 0x0004f> in <filename unknown>:0 
  at System.Windows.Forms.ListView.ListView_SizeChanged (System.Object sender, System.EventArgs e) <0x6efd120 + 0x0001b> in <filename unknown>:0 
  at System.Windows.Forms.Control.OnSizeChanged (System.EventArgs e) <0x6830a28 + 0x0006f> in <filename unknown>:0 
  at System.Windows.Forms.Control.UpdateBounds (Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight) <0x6830590 + 0x001e8> in <filename unknown>:0 
  at System.Windows.Forms.Control.UpdateBounds (Int32 x, Int32 y, Int32 width, Int32 height) <0x683bfc8 + 0x000e3> in <filename unknown>:0 
  at System.Windows.Forms.Control.SetBoundsCoreInternal (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) <0x683bb38 + 0x0034b> in <filename unknown>:0 
  at System.Windows.Forms.Control.SetBoundsCore (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) <0x683baf8 + 0x00036> in <filename unknown>:0 
  at System.Windows.Forms.Control.SetBoundsInternal (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) <0x68361c0 + 0x001ae> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:SetBoundsInternal (int,int,int,int,System.Windows.Forms.BoundsSpecified)
  at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren (System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls) <0x68314b0 + 0x00467> in <filename unknown>:0 
  at System.Windows.Forms.Layout.DefaultLayout.Layout (System.Object container, System.Windows.Forms.LayoutEventArgs args) <0x6831230 + 0x000cb> in <filename unknown>:0 
  at System.Windows.Forms.Control.OnLayout (System.Windows.Forms.LayoutEventArgs levent) <0x6830fe8 + 0x00128> in <filename unknown>:0 
  at System.Windows.Forms.ScrollableControl.OnLayout (System.Windows.Forms.LayoutEventArgs levent) <0x6847de0 + 0x0004b> in <filename unknown>:0 
  at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) <0x6830bb8 + 0x0022b> in <filename unknown>:0 
  at System.Windows.Forms.Control.PerformLayout () <0x6840ff8 + 0x00023> in <filename unknown>:0 
  at System.Windows.Forms.Control.ResumeLayout (Boolean performLayout) <0x68411d0 + 0x002a7> in <filename unknown>:0 
  at System.Windows.Forms.Control.ResumeLayout () <0x68411b0 + 0x0001b> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:ResumeLayout ()
  at System.Windows.Forms.SplitContainer.UpdateLayout () <0x69df630 + 0x00ba3> in <filename unknown>:0 
  at System.Windows.Forms.SplitContainer.OnLayout (System.Windows.Forms.LayoutEventArgs e) <0x69df5e8 + 0x00013> in <filename unknown>:0 
  at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) <0x6830bb8 + 0x0022b> in <filename unknown>:0 
  at System.Windows.Forms.Control.OnResizeInternal (System.EventArgs e) <0x6830b28 + 0x0001f> in <filename unknown>:0 
  at System.Windows.Forms.Control.OnResize (System.EventArgs e) <0x6830b08 + 0x0001a> in <filename unknown>:0 
  at System.Windows.Forms.Control.OnSizeChanged (System.EventArgs e) <0x6830a28 + 0x00025> in <filename unknown>:0 
  at System.Windows.Forms.Control.UpdateBounds (Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight) <0x6830590 + 0x001e8> in <filename unknown>:0 
  at System.Windows.Forms.Control.UpdateBounds (Int32 x, Int32 y, Int32 width, Int32 height) <0x683bfc8 + 0x000e3> in <filename unknown>:0 
  at System.Windows.Forms.Control.SetBoundsCoreInternal (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) <0x683bb38 + 0x0034b> in <filename unknown>:0 
  at System.Windows.Forms.Control.SetBoundsCore (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) <0x683baf8 + 0x00036> in <filename unknown>:0 
  at System.Windows.Forms.SplitContainer.SetBoundsCore (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) <0x6a10c88 + 0x00033> in <filename unknown>:0 
  at System.Windows.Forms.Control.SetBoundsInternal (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) <0x68361c0 + 0x001ae> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:SetBoundsInternal (int,int,int,int,System.Windows.Forms.BoundsSpecified)
  at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren (System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls) <0x68314b0 + 0x00467> in <filename unknown>:0 
  at System.Windows.Forms.Layout.DefaultLayout.Layout (System.Object container, System.Windows.Forms.LayoutEventArgs args) <0x6831230 + 0x000cb> in <filename unknown>:0 
  at System.Windows.Forms.Control.OnLayout (System.Windows.Forms.LayoutEventArgs levent) <0x6830fe8 + 0x00128> in <filename unknown>:0 
  at System.Windows.Forms.ScrollableControl.OnLayout (System.Windows.Forms.LayoutEventArgs levent) <0x6847de0 + 0x0004b> in <filename unknown>:0 
  at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) <0x6830bb8 + 0x0022b> in <filename unknown>:0 
  at System.Windows.Forms.Control.PerformLayout () <0x6840ff8 + 0x00023> in <filename unknown>:0 
  at System.Windows.Forms.Control.ResumeLayout (Boolean performLayout) <0x68411d0 + 0x002a7> in <filename unknown>:0 
  at System.Windows.Forms.Control.ResumeLayout () <0x68411b0 + 0x0001b> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:ResumeLayout ()
  at System.Windows.Forms.SplitContainer.UpdateLayout () <0x69df630 + 0x00b93> in <filename unknown>:0 
  at System.Windows.Forms.SplitContainer.OnLayout (System.Windows.Forms.LayoutEventArgs e) <0x69df5e8 + 0x00013> in <filename unknown>:0 
  at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) <0x6830bb8 + 0x0022b> in <filename unknown>:0 
  at System.Windows.Forms.Control.OnResizeInternal (System.EventArgs e) <0x6830b28 + 0x0001f> in <filename unknown>:0 
  at System.Windows.Forms.Control.OnResize (System.EventArgs e) <0x6830b08 + 0x0001a> in <filename unknown>:0 
  at System.Windows.Forms.Control.OnSizeChanged (System.EventArgs e) <0x6830a28 + 0x00025> in <filename unknown>:0 
  at System.Windows.Forms.Control.UpdateBounds (Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight) <0x6830590 + 0x001e8> in <filename unknown>:0 
  at System.Windows.Forms.Control.UpdateBounds (Int32 x, Int32 y, Int32 width, Int32 height) <0x683bfc8 + 0x000e3> in <filename unknown>:0 
  at System.Windows.Forms.Control.SetBoundsCoreInternal (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) <0x683bb38 + 0x0034b> in <filename unknown>:0 
  at System.Windows.Forms.Control.SetBoundsCore (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) <0x683baf8 + 0x00036> in <filename unknown>:0 
  at System.Windows.Forms.SplitContainer.SetBoundsCore (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) <0x6a10c88 + 0x00033> in <filename unknown>:0 
  at System.Windows.Forms.Control.SetBoundsInternal (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) <0x68361c0 + 0x000da> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:SetBoundsInternal (int,int,int,int,System.Windows.Forms.BoundsSpecified)
  at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren (System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls) <0x68314b0 + 0x00467> in <filename unknown>:0 
  at System.Windows.Forms.Layout.DefaultLayout.Layout (System.Object container, System.Windows.Forms.LayoutEventArgs args) <0x6831230 + 0x000cb> in <filename unknown>:0 
  at System.Windows.Forms.Control.OnLayout (System.Windows.Forms.LayoutEventArgs levent) <0x6830fe8 + 0x00128> in <filename unknown>:0 
  at System.Windows.Forms.ScrollableControl.OnLayout (System.Windows.Forms.LayoutEventArgs levent) <0x6847de0 + 0x0004b> in <filename unknown>:0 
  at System.Windows.Forms.ContainerControl.OnLayout (System.Windows.Forms.LayoutEventArgs e) <0x69e02c8 + 0x00017> in <filename unknown>:0 
  at System.Windows.Forms.Form.OnLayout (System.Windows.Forms.LayoutEventArgs levent) <0x6f06de0 + 0x00027> in <filename unknown>:0 
  at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) <0x6830bb8 + 0x0022b> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:PerformLayout (System.Windows.Forms.Control,string)
  at System.Windows.Forms.Control+ControlCollection.Remove (System.Windows.Forms.Control value) <0x6ff35e8 + 0x00067> in <filename unknown>:0 
  at System.Windows.Forms.Form+ControlCollection.Remove (System.Windows.Forms.Control value) <0x7069830 + 0x00113> in <filename unknown>:0 
  at System.Windows.Forms.Form.RemoveOwnedForm (System.Windows.Forms.Form ownedForm) <0x7069808 + 0x00020> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:RemoveOwnedForm (System.Windows.Forms.Form)
  at System.Windows.Forms.Form.set_Owner (System.Windows.Forms.Form value) <0x702ec50 + 0x00037> in <filename unknown>:0 
  at System.Windows.Forms.Form.Dispose (Boolean disposing) <0x702e968 + 0x0012f> in <filename unknown>:0 
  at System.ComponentModel.Component.Finalize () <0x6a0d5d8 + 0x00018> in <filename unknown>:0 

Source: (StackOverflow)

cfprefsd using > 90% CPU - any way to find out what program is using it?

In the last few weeks I've noticed my macbookpro (mid-2014, core i7, retina 16Gb RAM, el capitan patched to latest) running quite hot and looking at the CPU usage it seems it's cfprefsd that's doing the damage with over 90%.

I'm aware cfprefsd is just covering up for some other process but I don't know how to go about finding out. Anyone have any ideas?


Source: (StackOverflow)

OS X - How to get simple launchd daemon working on Yosemite and El Capitan

I am no stranger to launchd on OS X. I've created several daemons in the past, last with Mountain Lion Mavericks.

However, I seem to be struggling to get the most simplest of plists working on Mavericks and El Capitan. Initially, I copied my plist that runs Tomcat and modified it to get WebSphere Liberty Profile running at startup. After seeing some errors, I decided to try the following example plist from Apple's own [site][1]. The following doesn't even run:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

    <key>Label</key>
    <string>com.example.hello</string>

    <key>ProgramArguments</key>
    <array>
        <string>hello</string>
        <string>world</string>
    </array>

    <key>KeepAlive</key>
    <true/>

</dict>

Whenever I place the plist file in /Library/LaunchDaemons and then load the plist, I see the following errors in Console:

10/5/15 11:52:44.868 AM com.apple.xpc.launchd[1]: (com.example.hello) This service is defined to be constantly running and is inherently inefficient.

10/5/15 11:52:44.869 AM com.apple.xpc.launchd[1]: (com.example.hello[66956]) Service could not initialize: 15A284: xpcproxy + 12644 [1472][19011403-4854-3CCD-9FCF-49C36302EB40]: 0x2

10/5/15 11:52:44.870 AM com.apple.xpc.launchd[1]: (com.example.hello) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

And that's it as far as output. I've tried writing to a StandardOutput and StandardError log, but the log files are empty.

Being as I'm seeing this situation occur on both Yosemite and El Capitan, I thought that it must be something with permissions:

-rw-r--r-- 1 root wheel 418 Oct 5 11:52 helloworld.plist

However, I've tried running the daemon with permissions set to 644 and 755, but I still see the same Console error.

Am I overlooking something?


Source: (StackOverflow)

"Email address or key ID cannot be matched to a valid, not expired OpenPGP key" in Enigmail after moving to a new computer/account

When I write a new email in Thunderbird while signing the mail using Enigmail, I get an error message:

Enigmail Alert

Encrypt draft messages on saving

The email address or key ID 'john@hotmail.com' cannot be matched to a valid, not expired OpenPGP key. Please ensure that you have a valid OpenPGP key, and that your account settings point to that key.

This account has an OpenPGP private and public key. Recently I started over with a clean account, and had to recreate the Thunderbird profile. I imported the private keys to sign outgoing emails, which works.

Output for gpg -K, for one account. I have several keys, and all keys have this problem.

$ pgp -K
sec   4096R/XXXXXXXX 2013-11-09 [expires: 2018-10-11]
uid                  john@hotmail.com
ssb   4096R/YYYYYYYY 2013-11-09

For some reason saving mail doesn't work. I have no idea why.

Why can't Thunderbird save my signed emails? How can I fix this?


Source: (StackOverflow)

Prepare "Install OS X El Capitan.app" for Virtualbox

I'm following these steps to create a DMG file which can be used with VirtualBox. Unfortunately the same steps won't work for Install OS X El Capitan.app. The generated image is not bootable from Virtualbox and drops to an emergency EFI shell. How can I prepare Install OS X El Capitan.app to work with Virtualbox? Installing Yosemite as a VM and then upgrading works but I want to avoid this extra step and do a clean El Capitan install.


Source: (StackOverflow)

zlib is missing which break Haxe and pip on Mac OS X 10.11 (El Capitan)

I upgraded to El Capitan (version 10.11 Beta 7, build 15A263e) a few days ago. Aside from issues related to permissions, everything seemed to work fine. However, when I try to run some Haxe libraries, or use the Python package manager pip, I get errors related to zlib, which I'm not sure how to resolve.

The Haxe error occurs when I try to run haxelib run lime setup, and I get this:

Called from /usr/lib/haxe/std/neko/_std/haxe/zip/Compress.hx line 60
Uncaught exception - load.c(237) : Failed to load library : zlib.ndll (dlopen(zlib.ndll, 1): image not found)

When I try to run pip, which I installed via Homebrew, I get this:

Traceback (most recent call last):
File "/usr/local/bin/pip", line 9, in <module>
load_entry_point('pip==7.1.2', 'console_scripts', 'pip')()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 558, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2682, in load_entry_point
return ep.load()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2355, in load
return self.resolve()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2361, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/Library/Python/2.7/site-packages/pip/__init__.py", line 15, in <module>
from pip.vcs import git, mercurial, subversion, bazaar  # noqa
File "/Library/Python/2.7/site-packages/pip/vcs/mercurial.py", line 10, in <module>
from pip.download import path_to_url
File "/Library/Python/2.7/site-packages/pip/download.py", line 38, in <module>
from pip._vendor import requests, six
File "/Library/Python/2.7/site-packages/pip/_vendor/requests/__init__.py", line 58, in <module>
from . import utils
File "/Library/Python/2.7/site-packages/pip/_vendor/requests/utils.py", line 26, in <module>
from .compat import parse_http_list as _parse_list_header
File "/Library/Python/2.7/site-packages/pip/_vendor/requests/compat.py", line 7, in <module>
from .packages import chardet
File "/Library/Python/2.7/site-packages/pip/_vendor/requests/packages/__init__.py", line 3, in <module>
from . import urllib3
File "/Library/Python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/__init__.py", line 10, in <module>
from .connectionpool import (
File "/Library/Python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 38, in <module>
from .response import HTTPResponse
File "/Library/Python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/response.py", line 5, in <module>
import zlib
ImportError: No module named zlib

This is in addition to permissions errors with pip; I can't run pip without using sudo, but I think that's probably unrelated.

Any thoughts? I think that building the missing the zlib.ndll might fix the issue, but I don't know what the "right" way to do that is.


Source: (StackOverflow)

Are changes to El Capitan's SIP configuration file persistent?

If you toggle System Integrity Protection off to tweak some things, unload daemons, delete apps, etc., will those changes survive toggling SIP back on and re-launching the machine, or will the changes be reverted?

This review, based on OS 10.11 beta, suggests that deleting certain apps like Chess.app did not give the system any hiccups. But would this behavior be different for changing launch agents or launch daemons behavior? What about editing defaults? If one is accustomed to using "dotfiles," will those changes persist or will some of them revert?


Source: (StackOverflow)