carthage update is not work Task failed with exit code 65: - carthage

I try to use carthage update on xcode 8.3.1 to add the octokit, but when I excute the command carthage update, the terminal shows this error:
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Users/xuliner/Downloads/octokit.objc-54474a6947342ddedb4f3dc37ca6e54c050d92bf/Carthage/Checkouts/Nimble/Nimble.xcodeproj -scheme Nimble-iOS -configuration Release -derivedDataPath /Users/xuliner/Library/Caches/org.carthage.CarthageKit/DerivedData/Nimble/v3.2.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/vn/c9ppdjg12rn8pj5r093g8_tr0000gn/T/carthage-xcodebuild.qEGXw6.log
I open the build log and it shows:
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
How can I fix that?

Related

Why do I get exit code 1 after yarn installs without any message?

I have a project, production. It used to work, today after entering yarn installs the project starts rebuild, and I get:
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[0] yarn install && yarn build exited with code 1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I tried deleting node_modules or running yarn cache or yarn upgrade, but all to no avail. not even a message on what the error is. Framework: Nextjs

Unable to install yfinance

The package will not install.
In the command prompt I entered, 'pip install yfinance'
C:\Users\gam19\AppData\Local\Temp\xmlXPathInitw4g8q0z6.c(1): fatal error C1083: Cannot open include file: 'libxml/xpath.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX86\\x86\\cl.exe' failed with exit code 2
*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
*********************************************************************************
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> lxml
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
You can download the wheel from https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml and install it (E.g. pip install lxml‑4.9.0‑cp311‑cp311‑win_amd64.whl). Trying pip install yfinance might work after that.

Connecting Firebase to an React Native App that's using Expo

I am currently trying to connect Firebase to my React Native app that uses Expo. Im currently using this guide: https://docs.expo.io/guides/using-firebase/?fbclid=IwAR0c7g8a-005utr_ROomb_k3ptlAHel3kq004AtFbNkV9iWREeapzR0Dabg and it lead me to the github "Firebase JS SDK". I downloaded the whole github repo (https://github.com/firebase/firebase-js-sdk) and like tried following the instructions on the github such as downloading node, yarn, and java but I am confused on what to do next with the downloaded repo. I have tried running the command "npm install" to try and install the dependencies but I get this error:
npm WARN deprecated tslint#6.1.2: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information.
npm WARN deprecated request#2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated request#2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated core-js#2.6.11: core-js#<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js#3.
npm WARN deprecated resolve-url#0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix#0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated chokidar#2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated mkdirp-promise#5.0.1: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.
npm WARN deprecated fsevents#1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm ERR! Unexpected end of JSON input while parsing near '...cMP/3jKIr36/huSPHVVgD'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Ban-Jian\AppData\Roaming\npm-cache\_logs\2020-05-19T23_15_25_175Z-debug.log
And when I run the command: "yarn build" I get this error:
lerna ERR! yarn run build exited 2 in '#firebase/firestore'
lerna ERR! yarn run build stdout:
$ tsc -m es2015 --moduleResolution node scripts/*.ts
error TS6053: File 'scripts/*.ts' not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! yarn run build stderr:
error Command failed with exit code 2.
lerna ERR! yarn run build exited 2 in '#firebase/firestore'
lerna WARN complete Waiting for 4 child processes to exit. CTRL-C to exit immediately.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I guess my question is: How do I properly set up the SDK I downloaded from the github?

Error while building Qt Creator Plugin

I tried to create Qt Creator Plugin by following https://doc-snapshots.qt.io/qtcreator-extending/first-plugin.html , but I failed to build with a link error
ld: library not found for -lCore_debug
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [../qt5/build_creator/bin/Qt Creator.app/Contents/PlugIns/libMyPlugin_debug.dylib] Error 1
21:58:13: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project myplugin (kit: Qt 5.5.0 (clang_64))
When executing step "Make"
Please anybody let me know what's wrong with me.
Thanks,
I solved it by deleting _debug keyword in {my plugin project}/qtcreatorplugin/qtcreator.pri
I think it is a bug because we don't need to *_debug library to debug own plugin. But I am not sure my solution don't happen any other problems.
Anyway, I was able to build and run on debug mode.

Error when releasing an atmosphere package for meteor

When I try the command :
mrt release https://github.com/f...
I obtain this error :
Adding tag and pushing repo
/usr/local/lib/node_modules/meteorite/lib/utils/git.js:37
throw "Command exited: " + error;
^
Command exited: Error: spawn ENOENT
I tryed to reinstall everything (git, meteor, mrt...). Not a clue ;(
You should provide the local path of your package at the command-line, not the repository URL:
mrt release ./

Resources