macos-sierra

Can I upload Xcode builds on macOS 10.12

拥有回忆 提交于 2019-12-18 12:27:22
问题 Will I be capable of submitting an app with Xcode 7.3.1 while on the macOS 10.12 beta? According to this post, it is possible to run Xcode 7 alongside macOS 10.12. 回答1: Yes, you can! But if you're tying to do this, you will find two problems. no .app file provided in bundle Build with Xcode 7.3.1 then upload using Xcode 8 [Beta]. This will allow you to upload the archive. When trying to submit to the store you will be faced with this error message: New apps and app updates must be built with

Apache giving 404 error after Mac OS sierra update

随声附和 提交于 2019-12-18 12:18:06
问题 I just updated to Mac OS 10.11 Sierra lately and classic web server is not working properly, or I should say that my home directory is not working Apache server is working at localhost as I get the 'It works' page, but localhost/~myuser is giving this message 'The requested URL /~myuser was not found on this server' I tried to follow this tuto but it is still not working Can someone help me? 回答1: What worked for me after upgrading from El Capitan to Sierra as well: 1) Uncommenting from /etc

macOS Swift: How to properly add application as Login Item

扶醉桌前 提交于 2019-12-18 11:56:38
问题 I have spent about one day (maybe a little more) on trying to add my application to Login Item in the order it starts up at macOS launch (user login). The first approach was the newest one; I check this tutorial on youtube: https://www.youtube.com/watch?v=2mmWEHUgEBo&t=660s So following this steps, I have done: Add new project inside my main project that I have named Launcher I am using Automatic Signing (as version of my Xcode) is different In Project Settings > Capabilities I toggled App

Repeated Popup: Xcode wants to access key “com.apple.dt.XcodeDeviceMonitor” in your keychain

孤者浪人 提交于 2019-12-18 10:17:45
问题 Starting in MacOS Sierra, I've started to get this popup periodically from XCode, even after pressing 'Always Allow'. I've tried deleting the "com.apple.dt.XcodeDeviceMonitor" item in Keychain. This regenerates the key, but doesn't fix the issue. It's an open discussion topic on the Apple forums, but no one seems to have a solution. 回答1: Posting this solution for Xcode 8 because no one else has: Open Keychain Access. Search for XcodeDeviceMonitor. Drag the item to the System Keychain on left.

Adding syntax coloring to Xcode for unknown file extension such as “.tcl”

半腔热情 提交于 2019-12-18 05:25:08
问题 I want to ask a question about Xcode syntax coloring (highlighting). I am working with files all the time .tcl files all the time and Xcode does not know extension and as default it opens them with "Generic" syntax coloring option. In this situation, "AppleScript" in the syntax coloring section will be very nice for files with .tcl extension to see all the colors for different things in the code. So, how can i add a new option for .tcl files or how can i change the "Generic" one which appears

What Does the python -v Command Do

别说谁变了你拦得住时间么 提交于 2019-12-17 20:59:30
问题 I recently reinstalled my macOS and I wanted to check the version of Python. I typed python -v into the terminal and I am not sure what this did? I am new to the terminal and python programming. Did I install new software on accident? Last login: Sun May 14 15:02:37 on ttys000 Matthews-MacBook-Pro:~ matthewkol$ python -v # installing zipimport hook import zipimport # builtin # installed zipimport hook # /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.pyc matches

How to install virtualenv by using pip in MacOS High Sierra?

核能气质少年 提交于 2019-12-14 03:33:55
问题 Command which i used to install virtualenv:- sudo pip install virtualenv Result:- The directory '/Users/apple/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/Users/apple/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the

Password field not visible on password protected pdf

限于喜欢 提交于 2019-12-13 17:14:46
问题 I am using PDF kit framework to display/Edit pdf files. Its broken badly on macOS 10.12. Sometimes password protected files do not display password field and sometimes password field is visible in normal file. 回答1: I am able to fix this using undocumented APIs. Its issue related to hide/unhide password view. /* From class dump of pdf kit @interface PDFPasswordViewController : NSViewController { NSTextField *_passwordField; NSTextField *_passwordPrompt; NSTextField *_passwordInstruction;

how to install RODBC on macOS Sierra 10.12.4

风格不统一 提交于 2019-12-13 12:41:57
问题 In R 3.4.0, install.packages('RODBC', type='source') fails on macOS 10.12.4. I also downloaded RODBC_1.3-15.tar.gz from CRAN and tried, R CMD INSTALL RODBC_1.3-15.tar.gz In both cases, I got "ODBC headers sql.h and sqlext.h not found". A discussion of this in Installation of RODBC/ROracle packages on OS X Mavericks says the following: To fix this, you need to download the latest version of iODBC (www.iodbc.org), and then unzip the file and set your header and library search paths to the

IPV6 Network tethering on MacOS Sierra

陌路散爱 提交于 2019-12-13 07:29:13
问题 I've been trying to follow provided guidelines for testing out IPV6 thethering, but i couldn't find the checkbox for NAT64 on MacOS Sierra. This is an image from Apple guidelines: And this is the same Sharing settings window on MacOS Sierra: Is there any other way to setup NAT64 network without the checkbox? 回答1: In System Preferences, you need to hold down the Option key while you click Sharing and then click Internet Sharing, and then release the Option key. You will then see the NAT64