macos-high-sierra

Codesign returned errSecInternalComponent in High Sierra

与世无争的帅哥 提交于 2019-12-17 16:57:18
问题 I tried to codesign using: /usr/bin/codesign -f -s $IDENTITY --keychain $KEYCHAIN --entitlements $ENTITLEMENTS Payload/Test.app But I get an errSecInternalComponent error. 回答1: I too got the same error from code signing. It seems to be mostly bcoz of keychain access. It is not just enough that keychain has to be in unlocked state as suggested in most of the post. I did the following steps to resolve this. Let the Login (or wherever your code signing identity is present) Keychain be in Locked

Uninstall all the packages installed using pip by a user on macOS High Sierra

╄→尐↘猪︶ㄣ 提交于 2019-12-11 15:17:27
问题 By mistake I installed packages in the global environment using pip. I was wondering if its a good idea to uninstall the already existing Python on the OS using the instructions provided here, and re-install it using homebrew using the instructions provided over here? Or is there any way to get rid of all packages and their dependency I installed using pip. I'm using Python 2.7.10 on macOS High Sierra. EDIT: Problem with a suggested approach: As suggested by CloC in the comments section, I

subject: cannot codesign system certificate for gdb in keychain access in Mac OS X High Sierra

本小妞迷上赌 提交于 2019-12-11 14:41:13
问题 I'm trying to use gdb on Mac OSX High Sierra. I installed version 8.01 using brew (the latest version 8.1 actually has a separate, unrelated error), and am having trouble with the codesign step. I'm following the instructions at the page suggested by brew. In Keychain Access, I create a certificate, using the "codesign" option, and overriding defaults, and click through until it asks for the location of the certificate, for which I select "keychain: system". However, immediately afterwards I

macOS 10.13 EXEC_BAD_ACCESS caused by subclassing NSTableView or NSScrollView

核能气质少年 提交于 2019-12-11 14:13:24
问题 I'm facing a rather odd problem. With subclassing some NSViews, NSTableView and NSScrollView to be specific. Situation : I'm working on a quite old (ca. 7 year) project for macOS. The codebase is about 50% objc and 50% swift 3.2 and uses XIB files for the individual views. The application runs smoothly on 10.10 - 10.12 but it crashes on 10.13 pretty much instantly. The backtrace shows the following: * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address

Phusion Passenger 5.1.12 + OSX 10.13 + Server 5.4

烂漫一生 提交于 2019-12-11 09:44:55
问题 I've been having problems with Phusion Passenger since upgrading to 10.13. I've read several articles about the root cause of this issue (most of which are over my head, quite frankly) but I was under the impression that Passenger 5.1.12 was supposed to solve this problem. Nevertheless, it has not for me and Apache crashes with the following log entry: httpd[31444]: objc[31444]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot

Delphi FMX OSX Segmentation Fault 11

陌路散爱 提交于 2019-12-11 09:33:40
问题 There are a number of Segmentation Fault 11 posts, but none seem to answer my question: I've posted the code for the simple test application previously, but is provided for completeness. Windows 10, Delphi 10.2.3 with OSX High Sierra 10.13.6 and Xcode 9.4.1. The HOST: unit uDylibTest1; interface uses System.SysUtils, System.Types, System.Diagnostics, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMX.Platform, FMX

How to post a Quartz Event after Swift application launch?

孤者浪人 提交于 2019-12-11 07:41:40
问题 I am writing a simple Cocoa app that will be launched from AppleScript just to post a Quartz Event to another app. There is no need for a user interface so I deleted the window from the Interface Builder and the outlet to it from the Application Delegate. I call a private method postClickEvent() from the method applicationDidFinishLaunching(_:). I initialize leftMouseDown and leftMouseUp CGEvents with nil mouseEventSource at mouseCursorPosition (x: 0, y: 0) and post them at location

MacOS High Sierra 10.13.6, python3.7 installation Install Certificate.command results in SSLError

☆樱花仙子☆ 提交于 2019-12-11 06:02:28
问题 After installing python 3.7 from python.org, running the Install Certificate.command resulted in the below error. Please, can you provide some guidance? Why does Install Certificate.command result in error? [Some background] Tried to install python via anaconda, brew and python.org, even installing version 3.6.6, hoping I could get one of them to work. Each installation resulted in ssl certification errors when I tried to install a package. See further below for example error from current

Valgrind/R is not working: “Fatal error: cannot create 'R_TempDir'”

怎甘沉沦 提交于 2019-12-10 16:24:17
问题 First of all, I'm not really skilled with these kind of stuff, so I may write stupid question, please be kind ;-) I have an R code that call a c++ code. Unfortunately, there is a problem with my code, probably memory not mapped, and i would like to use valgrind to try to understand where the error is. I already use it a couple of years ago, but now it seems to not work. When I lunch the following command R -d valgrind I get this output ==69495== Memcheck, a memory error detector ==69495==

Can't install Helper, “Puck”, from HockeyApp for Mac

时间秒杀一切 提交于 2019-12-10 15:36:06
问题 Using High Sierra on a Mac, I am unable to install Puck from HockeyApp for Mac (version 2.0.21) with the provided instructions. When I choose "Install" from the "Preferences -> General" tab, the button turns gray, or disabled, I am prompted for my account's password and then... nothing. Puck is not installed in the /usr/local/bin directory as is suggested. My user account is an admin account. I am using the correct password. I have ownership and full write permissions to /usr/local/bin . I