React Native app stuck on blank white screen with iOS simulator - react-native-ios

I built my application with the Facebook login feature for iOS last week.
I don't know why but when I opened my app today I get this strange error.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/alan2305/dougo/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/jschelpers.build/Objects-normal/x86_64/JSCWrapper.o /Users/alan2305/dougo/node_modules/react-native/ReactCommon/jschelpers/JSCWrapper.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/alan2305/dougo/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/jschelpers.build/Objects-normal/x86_64/Value.o /Users/alan2305/dougo/node_modules/react-native/ReactCommon/jschelpers/Value.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/alan2305/dougo/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/jschelpers.build/Objects-normal/x86_64/JSCHelpers.o /Users/alan2305/dougo/node_modules/react-native/ReactCommon/jschelpers/JSCHelpers.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/alan2305/dougo/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/jschelpers.build/Objects-normal/x86_64/Unicode.o /Users/alan2305/dougo/node_modules/react-native/ReactCommon/jschelpers/Unicode.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(4 failures)
Installing build/Build/Products/Debug-iphonesimulator/dougo.app
An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=1):
This app could not be installed at this time.
Underlying error (domain=MIInstallerErrorDomain, code=4):
Failed to chmod /Users/alan2305/Library/Developer/CoreSimulator/Devices/27A18B40-AF2B-4FDF-A98C-796B1E53CC7B/data/Library/Caches/com.apple.containermanagerd/Bundle/Application/535974D3-D4A0-4EB1-AEE1-F7CBC7107F9B/dougo.app/dougo : No such file or directory
Launching org.reactjs.native.example.dougo
org.reactjs.native.example.dougo: 54919
Not able to find the solution to fix this please help.
here is my terminal error image
here is my XCode error image

Related

vscode crashes on Arch linux when opening file/folder

Installation vscode
I'm running Arch Linux (Manjaro) and installed vscode with:
sudo pacman -S code
but then a simple .NET core program resulted in
--------------------------------------------------------------------------------
You may only use the Microsoft .NET Core Debugger (clrdbg) with Visual Studio
Code, Visual Studio or Visual Studio for Mac software to help you develop and
test your applications.
--------------------------------------------------------------------------------
It seems like the official Microsoft build should be obtained via the snap store:
sudo snap install code --classic
And the program looks normal. I can install plug-ins, create a new file et cetera.
Problem
However, I cannot open any files or projects. Doing so results in vscode crashing. I read that code --disable-gpu could solve this problem, but doesn't do so for me.
Any ideas
what may cause this crash?
or how to get the pacman vscode working?
Logs
$ code --verbose
Gtk-Message: 22:59:19.805: Failed to load module "canberra-gtk-module"
Gtk-Message: 22:59:19.805: Failed to load module "canberra-gtk-module"
(code:33833): GdkPixbuf-WARNING **: 22:59:19.817: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory
This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
[33863:1104/225919.911481:ERROR:appcenter_api.cc(52)] expecting appcenter url prefix
[main 2020-11-04T21:59:19.960Z] Sending env to running instance...
[main 2020-11-04T21:59:20.041Z] Sent env to running instance. Terminating...
[main 2020-11-04T21:59:20.041Z] Lifecycle#kill()
where the recommended gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache results in bash: /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache: No such file or directory
I'm running Arch Linux (Manjaro) and installed vscode with:
sudo pacman -S code
but then a simple .NET core program resulted in
--------------------------------------------------------------------------------
You may only use the Microsoft .NET Core Debugger (clrdbg) with Visual Studio
Code, Visual Studio or Visual Studio for Mac software to help you develop and
test your applications.
--------------------------------------------------------------------------------
I had the same issue trying to get the debugger to work and I spent hours on finding the reason for this. What I found out is that the debugger only works with officially signed Microsoft binaries of VSCode. So you have to make a distinction here:
The package code contains the open source version of visual studio code, a build wich anyone can make using the provided sources by Microsoft. The program which you get here is therefore not signed by MS!
The package visual-studio-code-bin provided by the AUR contains a officially signed version by MS. If you use this package, the debugger works as expected.
I do not know wether snap - which I personally never used at all - provides this kind of package, so I can not tell anything about that, but using the said package from the user repository solved the problem for me reliably.
Try this one (which I installed just yesterday under the recent manjaro distribution and it worked fine) and see if this solves your problem with opening files and folders.

The system cannot find the file specified ionic build issue

Here when I build same application with Ubuntu machine is working well wheather building same code apk to windows PC giving above titled error.
here is the image.

xbuild throws an error dont know how to handle globalsection

My app in (perfectly working on windows 10 64bit on .NET 4.6) does not compile on linux. I followed a guide that states to run xbuild /p:VbcToolExe=vbnc.exe NAME.sln
That gave this error:
home/icbosk/Desktop/WindowsApp1/watch.sln: warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring.
Then it fails.
I don't know how to do make this work on linux.
Here is the full output with diagnostics:
https://pastebin.com/WB5p9Zsi

Visual Studio Code Segmentation Fault on Debian

I downloaded and extracted VS Code in a Debian x64 VM and tried to run it. It complained about missing glibc libraries (I have 2.13, it needs 2.15). I followed these steps to get Ubuntu DEBs. Using those, VS Code throws a segmentation fault when I run it. gdb tells me:
linux_test_for_tracefork: waitpid: unexpected status 11.
Why won't Visual Studio Code run for me in my Debian VM?
Updating to Debian 8 fixed this problem.

Haskell Program Crashes with GUI but not CLI

I'm trying to build a Haskell program (Hets) with Fedora 18. The program compiles fine and it has two options at startup: with GUI or with CLI. If I start it with the CLI then it works fine. If I try to start it with the GUI, I get a white sqaure on screen and then it crashes with this error in the console:
hets: fd:10: hFlush: resource vanished (Broken pipe)
I've built and run the same program on Ubuntu 13.04 so I don't think it's the source code but possibly a library issue on Fedora 18.
Could someone suggest why this might happen?
TIA,
Keith
Update: I've copied the binary over from Ubuntu (where it works) to Fedora and I get the same error message.

Resources