Use of undeclared identifier 'UIUserInterfaceIdiomTV' - react-native

After installing fbsdk on my React-Native app, I got this error:
Use of undeclared identifier 'UIUserInterfaceIdiomTV'
This is in the file Pods > FBSDKCoreKit > FBSDKOrganicDeeplinkHelper.m
I got this even though I helped a friend doing exactly the same than me, and she didn't get it.
I tried to reinstall everything from scratch to check if the error didn't come from me not using the latest versions, but I still got this error.
A quick fix was to simply delete the case from the the switch (device.userInterfaceIdiom), but I hope someone met this error before or has an idea of where it could come from.
Thank you!

I had the same error. You can fix this error by updating Xcode to the last version, currently 7.3.1.

Related

"invalid version 0 on git_proxy_options" from libgit2: cause? fix? walk-around?

I'm getting this error "invalid version 0 on git_proxy_options" from libgit2. This did not happen until very recently (I have recompiled my code so it may be a version issue). I'm not using a proxy. Does anyone know anything about this? What causes this message? Is there anything I can do to stop the failure? Either a fix or or a work-around will do.
Specifically, I am using the Rust crate git2 version 0.13.23. I am doing a fetch that triggers the error. This is on Fedora 34 on x86_64. I have searched on this but there does not seem to be any matches that help.
git2 = {version="0.13.22", features = ["vendored-libgit2"]}
in Cargo.toml fixed the issue.
Interesting...
I had upgraded libgit2 to 1.3.0 from 1.1.1. That broke my existing cargo install, so I unpacked the previous libgit2.so.1.1 with a symlink to libgit2.so.1. That's when this error condition showed up. After thinking a bit I decided to symlink libgit2.so.1.3 to libgit2.so.1.1 and it built my new cargo version which linked to the new libgit2.so.1.3. Then I deleted my libgit2.so.1.1 stuff. Kinda weird, and usually you expect things not to work when it has been linked to a previous .so version.

iterator_adapter.hpp file not found

In our react-native app, we're using cocoapods. After the usual set up for a new computer, including cloning the repo, installing node_modules installing and updating pods, then launching the app, I get the dreaded message Print: Entry, ":CFBundleIdentifier", Does Not Exist.
The actual error is
fatal error: 'boost/iterator/iterator_adapter.hpp' file not found
#include <boost/iterator/iterator_adapter.hpp>
I looked on the RN issues page. I found this. None of the
suggested fixes worked for me.
No one in my department has been able to resolve this.
I've recloned the source and reloaded/updated the pods multiple times.
No one else but me is experiencing this issue including folks that joined with the department with me.
I have literally run out of ideas.
EDIT: I checked another app source I have and it appears that I should have a /third-party folder. It does not. I think that this is one of those wonky problems where the RN script doesn't complete. Any thoughts?
EDIT: After reinstalling pods and building the app in Xcode, I noticed a typo in the include statement in the BitIteratorDetail.h file. It reads:
#include <boost/iterator/iterator_adaptor.hpp>,
but the filename is actually iterator_adapter.hpp. However, correcting the typo did not resolve the problem. I still get a file not found error.

how to add dll files in monetdb?

I have installed "monetdb5" and i am getting the error,
"The program can't start because libmapi.dll is missing from your computer.Try reinstalling the program to fix this problem" when i tried to open "mclient.exe" and
"The program can't start because libmonetdb5.dll is missing from your computer.Try reinstalling the program to fix this problem" when i tried to open to "mserver5.exe".
I have reinstalled many times and still i am getting the same error.Could anyone suggest me the solution to solve this issue?
Could you please try with this installer and tell me whether that works? http://homepages.cwi.nl/~hannes/MonetDB5-SQL-Installer-64-20141211.msi

reasons and fixes for MSB8008 error

What can be the possible reasons of the MSB8008 error be and how to fix it?
For example a error message of this is:
error MSB8008: Specified platform toolset (v110) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
This error message is an indication for a version conflict of multiple msbuild evironments.
To fix this searching and using the absolute path of the right msbuild helped for me.

AIX 7.1 missing Xm/Xm.h header

I've written a sample c file which includes Xm/Xm.h. When compile it, I have the following error, "fatal error: Xm/Xm.h: No such file or directory"
I'm using AIX 7.1. What package do I need to install to fix this problem and where can I find it? I was not able to find anything online regarding this issue. Thank you.
I just got the same error message.
You need to install (with installp on Aix):
either openmotif (and openmotif-dev)
or lesstif2-dev (smaller then openmotif, and can be enough)
(as mentioned in this answer)