![]() Check that you have installed the latest version of Ruby.Make sure you have administrative privileges on your system.If you encounter an error while trying to install CocoaPods, try the following: So here are some common problems and troubleshooting steps for CocoaPods: CocoaPods Installation Failed Now, you might incur some issues as your project grows in complexity, and troubleshooting bugs can be tricky if you're new at this. This will ensure that your project continues to work as expected and that you can take advantage of any bug fixes and improvements in the latest version. If you're currently using an old version of CocoaPods in a project, it's best to upgrade to the latest version instead of uninstalling it. Note: You should only uninstall old versions of CocoaPods that you're no longer using. Repeat the last step for each old version of CocoaPods that you want to uninstall. Make sure to replace VERSION_NUMBER with the version number that you want to uninstall. Xcode 14.$ sudo gem uninstall cocoapods -v VERSION_NUMBER Xcode 9.4.1 is installed with all available simulators and SDKs.Ĭommand Line Tools are also installed. Rubies are built using RVM that is installed per-user. Ruby versions/implementations #ĭefault macOS Ruby (depends on macOS version) – You need to use sudo to install gems with this Ruby and you can also use the pre-compiled Ruby binaries we made available. Projects that may need one of those runtimes during the build. osx_image valueĮvery worker has at least one version of Go, Java, Python, Ruby and NodeJS to accommodate In practical terms, if your Mac build requires Java 8 and below, use xcode9.3 (or below) if your build requires Java 10Īnd later, use xcode9.4 (or later). ![]() ![]() MacOS images up to xcode9.3 can only switch up to Java 8, and images xcode9.4 and later can switch to Java 10 (if pre-installed) and later. While Mac jobs can test against multiple JDK versions using the jdk key, Note the pre-installed JDK version (OracleJDK) for each image in the table below. VMs running macOS 10.13 use HFS+, VMs running macOS 10.14 and newer use APFS. The Homebrew addon uses the Homebrew database on the build image by default, but can be configured to run brew update if needed. Manual Homebrew dependency scripts are error-prone, and we recommend against using them. The Homebrew addon correctly handles up-to-date, outdated, and missing packages. The Travis Homebrew addon is the simplest, fastest and most reliable way to install dependencies. Homebrew is installed and updated every time the virtual machines are updated. You can use another version of macOS (and Xcode) by specifying the corresponding osx_image key from the following table: osx_image value Travis CI uses macOS 10.13 and Xcode 9.4.1 by default. Travis CI also supports the Ubuntu Linux Environment, Windows Environment and FreeBSD Environment. To use our macOS build infrastructure, add the following to your. The environment available to test suites is known as the Travis CI
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |