brew update command failed on macos monterey - homebrew

I have a problem while updating homebrew. The error messages says,
Cask 'google-backup-and-sync' definition is invalid: invalid 'depends_on macos' value: unknown or unsupported macOS version: :mavericks. How to solve this problem? plz help.

Related

Homebrew doesn't work after update on macOS Big Sur 11.0.1

After homebrew upgrade, I got Error: Your Command Line Tools are too outdated.
My macOS version: Big Sur 11.0.1
My Xcode version: 12.4
And I don't want to upgrade my macOS, so I can't install new version Xcode, how can I use homebrew successful in my Mac?Or myabe revert homebrew to the previous version?
Have you simply tried to brew update-reset?
P.S. You must be more specific, write more details and what you tried to do to fix. Please read that.

App Store Connect Operation Error, "An error occurred while trying to start the iTMSTransporter"

While uploading build I am getting an issue: "An error occurred while trying to start the iTMSTransporter"
XCode Version: 11.2 (11B52)
Mac Version: Catalina 10.15.2 (19C57).
I have tried to re-add my developer account to xcode, nothing works. Please help, Thanks in advance.
Solution 1:
Open the terminal and run the following command:
cd ~
mv .itmstransporter/ .old_itmstransporter/
This will force iTunes to recreate a new ~/.itmstransporter folder.
Solution 2:
Check if any updates are pending or not either iTunes or MacOs
After an huge R & d I get to know that the xcode 11.2 can't be used to upload TestFlight build. This is an issue with xcode.

How to upgrade chromedriver version for appium?

I am getting the following error when attempting to run an Appium script on the Chrome Version 65:
selenium.common.exceptions.WebDriverException: Message: unknown error: call function result missing 'value'
(Session info: chrome=65.0.3325.109)
(Driver info: chromedriver=2.33.506106 (8a06c39c4582fbfbab6966dbb1c38a9173bfb1a2),platform=Mac OS X 10.13.4 x86_64)
I have found that the chromedriver version needs to be updated but I can't find a way to successfully do this.
So my question is how do I upgrade the chromedriver version to the latest version?
So first, with each update to Chromedriver there is an increase in the minimum supported version of Chrome => older devices are often unable to be automated with the bundled version.
So its not appium/chromdriver compatibility, its your device browser/ chromdriver versions compatibility check.
To check versions compatibility you go look here
When you figure out whats version works for you, run:
npm install appium --chromedriver_version="2.37"
This version supports Chrome v 64-66
The subjected issue can be resolved (In my case this works) if we pass the additional argument while starting the appium server in the local system.
CLI Command: appium --allow-insecure chromedriver_autodownload
The script will automatically search for the newest chromedriver version that supports the given browser/web view, download it (the hash sum is verified as well for the downloaded archive) and add to the chromedriverChromeMappingFile mapping.
For more details please refer to the official documentation of appium: Compatible chromedriver issue fixes options
Hope this helps!
Thanks.
Please download the latest chromedriver from here :
https://sites.google.com/a/chromium.org/chromedriver/downloads
Upgrade your appium server, appium java client to latest version.

Ionic CLI Build Error

I've been able to successfully using the Ionic CLI to build my iOS packages in the past, but I have a set of errors that I can't get rid of. The archive is succeeding, but I'm still having a few issues.
1) Even if I'm using the ionic build ios command, it's creating an archive package and not the build package.
2) I'm getting some IDEDistribution errors:
** ARCHIVE SUCCEEDED **
Non-system Ruby in use. This may cause packaging to fail.
If you use RVM, please run `rvm use system`.
If you use chruby, please run `chruby system`.
2017-03-15 10:00:54.132 xcodebuild[11254:474630] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/v9/dqmqkj455rjbmq4n9gg4dc4m0000gn/T/ExampleSQLite_2017-03-15_10-00-54.131.xcdistributionlogs'.
1.2.840.113635.100.1.61
Exported ExampleSQLite.xcarchive to: /Applications/XAMPP/xamppfiles/htdocs/dev/_ionic/ExampleSQLite/platforms/ios/build/device
** EXPORT SUCCEEDED **
This error occurs even after I've run the rvm use system command.
Is the archive setting something in XCode settings? If I try ionic build android it builds properly (meaning it doesn't archive, I get a BUILD SUCCEEDED message).
For reference, here is my system info:
Your system information:
Cordova CLI: 6.5.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.4
ios-deploy version: 1.9.1
ios-sim version: 5.0.4
OS: macOS Sierra
Node Version: v7.5.0
Xcode version: Xcode 8.2.1 Build version 8C1002
I've tried uninstalling and reinstalling XCode with no change.
Was getting the same error and in my case, it turned out that the problem was caused because I had my device plugged to the computer during the Cordova build.
I just unplugged it and works.
It turned out that I had two iOS Developer Keys in my Keychain Access which was causing the error. Once I deleted that one and tried to build, the error went away.
If you have the same issue, go to Keychain Access > Keys and look for ones that start with iOS Developer... if you have any duplicates installed just delete them and reinstall and you should be all set.
I was getting the same error and in my case, it turned out that the problem was caused because I had my device plugged to the computer during the Cordova build.
I just unplugged it and works.

Original error: Could not initialize ideviceinstaller;

I worked out an "Hello iOS" app by Xcode and can test it by Appium on iOS Simulator. However, I got the following error message when I tried to test the same app on a real iPhone/iPad device.
A new session could not be created. (Original error: Could not initialize ideviceinstaller; make sure it is installed and works on your system) (WARNING: The server did not provide any stacktrace information)
Here are my environment.
xcode: 7.0.1
mac os: version 10.11
appium version: 1.4.13
I tried this command "brew install --HEAD ideviceinstaller" but got another error message.
configure: error: in `/private/tmp/xz20151012-43217-o3pk5w/xz-5.2.1':
configure: error: cannot run C compiled programs.
Any solution for it? Thanks!
The problem is solved by running these commands:
cd /usr/local/Library
brew update
brew install ideviceinstaller
Have you enabled Enable UI Automation in device Developer settings panel?
This worked for me using this version 1.4.13
Run in Terminal app:
ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install)" <
/dev/null 2> /dev/null
press enter/return key. Wait for the command to finish.
Run:
brew install ideviceinstaller

Resources