xcode-command-line-tools

macOS Big Sur python3 cannot import numpy due to polyfit error

最后都变了- 提交于 2021-02-08 20:49:46
问题 update from Jan 2021: I performed a clean install of Big Sur in Jan 2021, and upgrade pip to latest version using python3 -m pip install --upgrade pip --user , and installed numpy without issues, and without the error message below. original question from Nov 2020 I'm using macOS big sur on 2019 macbook pro. I'm able to install numpy using python3 -m pip install numpy --user . Note I do not have brew; I'm just using the python3 from the Xcode command line tools. I've seen this error reported

How to get the path to the current MacOSX SDK when only Command Line Tools are installed?

断了今生、忘了曾经 提交于 2021-02-07 08:27:56
问题 We are trying to locate the current platform SDK used by some of our OSX machines (10.11). On those machines, only the Command Line Tools are installed , not the full blown Xcode app. Looking up on SO, we were able to find the command xcrun --show-sdk-path , which prints out an empty line. On the other hand, xcrun --show-sdk-version correctly shows 10.11 . Is there a way to locate the path to the SDK used by our compilation tasks ? 回答1: How about xcode-select --print-path The man page says:

Installing Xcode command line tools

给你一囗甜甜゛ 提交于 2019-12-31 10:44:24
问题 I performed a fresh install of macOS Mojave 10.14. Immediately after that I installed Xcode Version 10.0 (10A255) from the Mac App Store. Now, I wish to install Homebrew which requires Xcode command line tools to be installed. My understanding is that installing Xcode also installs the command line tools. Or not? As per this answer, I checked if the command line tools are installed by running: xcode-select -p which printed the path for the Developer directory as follows: /Applications/Xcode

Installing Xcode 8 on pre-installed Xcode 7.3.1 [Using multiple version]

▼魔方 西西 提交于 2019-12-12 03:06:55
问题 Hi I am currently using Xcode 7.3.1 on macOS Sierra . Due to the issue ERROR ITMS 90167 . I can't upload my archive using Xcode 7.3.1 . So, It's time to upgrade Xcode 8 . But, unfortunately, I can't use Xcode 8 to Develop application due to migration problem on my previous project which was big. All I want is built in Application Loader from Xcode 8 . And I need to do some migration on Xcode 8 while I am developing my current app from 7.3.1 And I did download Xcode 8 from Developer Program =>

How to downgrade command line tools MacOS

我的未来我决定 提交于 2019-12-08 16:27:30
问题 I got a dynamic linker error with the __clock_gettime symbol so I did what this post said Missing symbol when installing ruby-2.3.0 on OS X 10.11.6 by RVM (i.e. xcode-select --install ) and now I am getting loader errors that say that libraries were built for a newer OS version than the one I am currently running on, I dont want to upgrade my OS to the newer (Sierra) version though, is there a way you can downgrade the command line tools to an older version (10.11?) 回答1: It's unclear which

How to build Xcode project from the command line?

旧城冷巷雨未停 提交于 2019-12-04 11:04:15
问题 I've tried reading the Xcode Tools documentation Apple provides, so that I can use the Terminal to build a .app file and run the resulting app on the Simulator. Essentially what I want to do is do the same thing as Cmd + R does on Xcode. So far I've attempted to build my .xcodeproj like this: xcodebuild -configuration Debug build However, when I install & run it on the Simulator I get an app w/ a black screen: // Boot device xcrun simctl boot "iPhone 7" // Install app xcrun simctl install

Pass deep link into iOS Simulator

主宰稳场 提交于 2019-12-03 15:44:01
问题 I would like to find an easier way to call deep links in the iOS simulator. On Android you can use ADB to pipe links into the simulator by using the console. Is there a similar way or a workaround to do that with the latest iOS simulator? Best Regards and thank you very much! 回答1: You can type this into your Terminal : xcrun simctl openurl booted <INSERT_URL_HERE> You can even share documents using the builtin Share Extension from the Finder to the iOS Simulator. 来源: https://stackoverflow.com

How to update Xcode Command Line Tools?

前提是你 提交于 2019-12-03 12:19:50
问题 I am trying to update Command line tools on my mac osx. ~ softwareupdate --list Software Update Tool Copyright 2002-2015 Apple Inc. Finding available software Software Update found the following new or updated software: * Command Line Tools (macOS El Capitan version 10.11) for Xcode-8.2 Command Line Tools (macOS El Capitan version 10.11) for Xcode (8.2), 150374K [recommended] * iTunesX-12.5.5 iTunes (12.5.5), 263476K [recommended] But when I run the update command, I get this error:

How to build Xcode project from the command line?

北慕城南 提交于 2019-12-03 07:04:59
I've tried reading the Xcode Tools documentation Apple provides, so that I can use the Terminal to build a .app file and run the resulting app on the Simulator. Essentially what I want to do is do the same thing as Cmd + R does on Xcode. So far I've attempted to build my .xcodeproj like this: xcodebuild -configuration Debug build However, when I install & run it on the Simulator I get an app w/ a black screen: // Boot device xcrun simctl boot "iPhone 7" // Install app xcrun simctl install "iPhone 7" "/Users/.../MyApp/build/Debug-iphoneos/MyApp.app" // Open simulator open /Applications/Xcode

Pass deep link into iOS Simulator

China☆狼群 提交于 2019-12-03 04:21:26
I would like to find an easier way to call deep links in the iOS simulator. On Android you can use ADB to pipe links into the simulator by using the console. Is there a similar way or a workaround to do that with the latest iOS simulator? Best Regards and thank you very much! You can type this into your Terminal : xcrun simctl openurl booted <INSERT_URL_HERE> You can even share documents using the builtin Share Extension from the Finder to the iOS Simulator. 来源: https://stackoverflow.com/questions/46670298/pass-deep-link-into-ios-simulator