I am developing an app on Flutter, but when I run to emulate it in the emulator IntelliJIdea gives me the following error:
Error output from CocoaPods:
↳
Ignoring bindex-0.5.0 because its extensions are not built. Try: gem pristine bindex --version 0.5.0
Ignoring bootsnap-1.3.1 because its extensions are not built. Try: gem pristine bootsnap --version 1.3.1
Ignoring byebug-10.0.2 because its extensions are not built. Try: gem pristine byebug --version 10.0.2
[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:
export LANG=en_US.UTF-8
[0m
Ignoring ffi-1.9.25 because its extensions are not built. Try: gem pristine ffi --version 1.9.25
Ignoring gem-wrappers-1.4.0 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.4.0
Ignoring msgpack-1.2.4 because its extensions are not built. Try: gem pristine msgpack --version 1.2.4
Ignoring puma-3.12.0 because its extensions are not built. Try: gem pristine puma --version 3.12.0
Ignoring sqlite3-1.3.13 because its extensions are not built. Try: gem pristine sqlite3 --version 1.3.13
[!] Automatically assigning platform `ios` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
Error running pod install
Error launching application on iPhone X.
Can anyone help with suggestions please?
Thanks
I was able to resolve this particular problem, by uncommenting use_frameworks in the Podfile.
Related
idf.py build consistently fails on my windows install of esp-idf, I installed it using the tools provided in espressif's documentation, here are the logs:
Logs
I tried reinstalling to no avail. Other than that I don't know what to do exactly since it always just worked when I used it on linux
As you are use old SDK version please re-clone new sdk and compile it will work fine.
I suggest you to use V4.4 as this sdk is more stable then V5
The React Native docs recommend installing Cocoapods with sudo gem install cocoapods, but I'm used to using Homebrew and have seen elsewhere that people install it with brew install cocoapods. When I try installing it with Homebrew, I get this warning:
Warning: Treating cocoapods as a formula. For the cask, use homebrew/cask/cocoapods
What I Want To Know:
What's the difference, if any, between installing Cocoapods with sudo gem install cocoapods and with brew install cocoapods
If I install it with Homebrew, should I install the regular package or the cask? What's the difference?
macOS comes with a pre-installed version of Ruby. If you try to install a gem through pre-installed Ruby, you've to use sudo by default witch is not a good practice.
Another option is to install CocoaPods in your user-level directory by following instructions available on the Sudo-less installation section.
I would suggest you install CocoaPods using brew. It's a little cleaner option and you can update it easier.
The cocoapods cask is for CocoaPads App and the formula is for the CLI only version.
Answers:
In general sudo is not good idea (not recommended). One should not do it, i.e. if your system get stolen and/or get compromised. Cocoapods comes from a trusted source, so people usually tend to install cocoapods gem on root level. Which is what essentially sudo does.
brew is package manager for macOS and brew cask takes it a bit further. It makes the process of installing and updating apps (like: Skype, Chorome) more elegant and smooth. On this question you can read short and comprehensive replies from bfontaine and cellepo.
I want to install clang-3.4 , opt-3.4 and llc-3.4 on my ubuntu 16.04.
I want specific version 3.4 only.
opt-3.4: It is LLVM optimizer.
llc-3.4: It is LLVM static compiler.
Running the installation command gives me error:
$ sudo apt-get install clang-3.4
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package clang-3.4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
clang-5.0:i386 clang-3.9:i386 clang-3.8:i386 clang:i386 clang-5.0 clang-3.9 clang-3.8 clang clang-4.0:i386 clang-4.0 clang-3.7:i386
clang-3.6:i386 clang-3.5:i386 clang-3.7 clang-3.6 clang-3.5
E: Package 'clang-3.4' has no installation candidate
How can I install the 3.4 version of packages?
EDIT:
Answers on how to port the project to a recent version of clang is also welcome.
I am a newcomer to gnome app building. I am trying to build polari app using gnome builder on Ubuntu 18.04. I am getting the following error
meson /home/yuvraj/Projects/polari . --prefix /app
The Meson build system
Version: 0.45.1
Source dir: /home/yuvraj/Projects/polari
Build dir: /home/yuvraj/.var/app/org.gnome.Builder/cache/gnome-builder/projects/Polari/builds/default-host-master
Build type: native build
Project name: polari
Native C compiler: cc (gcc 7.3.0 "cc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Program gjs found: YES (/usr/bin/gjs)
Program js60 found: NO
Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
Program appstream-util found: YES (/usr/bin/appstream-util)
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Native dependency gio-2.0 found: YES 2.56.3
Native dependency gtk+-3.0 found: YES 3.22.30
Native dependency telepathy-glib found: YES 0.24.1
Native dependency gobject-introspection-1.0 found: YES 1.56.1
Native dependency gjs-1.0 found: NO found '1.52.5' but need: '>= 1.53.90'
meson.build:40:0: ERROR: Invalid version of dependency, need 'gjs-1.0' ['>= 1.53.90'] found '1.52.5'.
I did try installing all the build dependencies, but still no help.
The build profile is default
and Runtime is host operating system
Found the solution accidentally. First of all internet connection must be good. Second the build profile must be that of the project not the default one. Third runtime must be org.gnome.Sdk, here the builder may crash sometimes but eventually will work.
I tried to use qicli provided in the Naoqi SDK 2.4.3.28 on MacOS (10.12) but it doesn't start:
dyld: Library not loaded: libboost_date_time.dylib
Referenced from: ..../naoqi-sdk-2.4.3.28-mac64/bin/./qicli
Reason: image not found
Abort trap: 6
Anyone knows how to solve this issue?
There are apparently some broken dependencies in the SDK's binaries.
Would you mind having a go at the script here on pastebin? It should fix the dependencies issue for the 2.4.3 SDK. You need to be either on El Capitan or Sierra, with either Xcode7 or Xcode8 installed.
The steps:
run the fix_naoqi.sh script, giving it the full path to naoqi-bin
(e.g. /bin/naoqi-bin)
install opencv using: brew install homebrew/science/opencv
try now
if any problem (you may have if you already installed another NAOqi SDK): export DYLD_LIBRARY_PATH=""
On Mac OS X, the rlink of NAOqi binaries is not performed properly, so you need to specify manually the DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH accordingly to your installation directory when running a binary:
DYLD_LIBRARY_PATH=<installation_directory>/lib DYLD_FRAMEWORK_PATH=<installation_directory> <installation_directory>/bin/qicli