Shell Script Invocation error with Xcode 8 iosopendev - xcode8

I have created a blank project in Xcode 8.0 but compiling it gives error "Logos Tweak" project using Xcode 8.0 but it is giving me error
"Command /bin/sh failed with exit code 1
Do I have to include any other scripts/libraries to run/compile?

Related

Kotlin native; compilation failed: cannot run msys2-mingw-w64-x86_64-clang-llvm-lld-compiler_rt-8.0.1/bin/clang++

I use Windows 7 and followed Get started with Kotlin/Native using the command-line compiler, downloaded kotlin-native-windows-1.5.10.zip and added its bin to the PATH of system. But when I try kotlinc-native hello.kt -o hello, get this error:
error: compilation failed: Cannot run program "C:\Users\<user-name>\.konan\dependencies\msys2-mingw-w64-x86_64-clang-llvm-lld-compiler_rt-8.0.1/bin/clang++": CreateProcess error=193, %1 is not a valid Win32 application
What is the problem and how I can solve that?
Edit:
It seems the problem is caused by clang++.exewhich is in
C:\Users\<user-name>\.konan\dependencies\msys2-mingw-w64-x86_64-clang-llvm-lld-compiler_rt-8.0.1/bin/
because when I try to run it, I get this error:
clang++ is not a valid Win32 application

Xcode 10 fatal error: lipo: can't open input file

I'm building a static library in objective-c, in Xcode 9 I could build without problem but I'm blocked in Xcode 10.
Initially I had these two problems that I resolved with the answers below
Xcode 10 Error: Multiple commands produce
Xcode 10: unable to attach DB error
Now I have this lipo error, and I already tried the solution of adding arm64 to the valid architecture and build only valid architecture
build settings pictures
** BUILD SUCCEEDED **
fatal error: lipo: can't open input file: /Users/Alex/Library/Developer/Xcode/DerivedData/myNewLibrary-gvpwgkkoffdnkybybgkafnqwepcx/Build/Products/Debug-iphoneos/arm64/myNewLibrary/myNewLibrary (No such file or directory)
Command PhaseScriptExecution failed with a nonzero exit code
Anyone have idea how to resolve ? thanks

Red language not compiling for Android

I have a small GUI program in Red language that runs very well but is not compiling for Android. I am using following command on Debian Stable Linux (which successfully makes applications for Windows and for Mac):
$ wine red-063.exe -c -r -t Android-x86 myapp.r
But I get following error messages:
Target: Android-x86
Compiling to native code...
*** Warning: OS_TYPE macro in R/S is redefined
*** Compilation Error: invalid path value: image/encode
*** in file: %environment/codecs/png.red
*** in function: exec/ctx259~encode
*** at line: 1
*** near: [as cell! image/encode img where IMAGE_PNG]
I get same error messages if I use Android instead of Android-x86. Where is the problem?
GUI for Android is planned for 0.65

sencha build giving error stbuild exited with non-zero code : 7

I wanted to create .apk file of my sencha application so I executed below command
sencha package build packager.json
but when I executed above command,it generates error as given below.
'C:\Program' is not recognized as an internal or external command,operable program or batch file.
""D:/Android/AndroidSDKr15\tools\android" create project --target android-16 --name chartDemoApp --activity STActivity --path "../build/" --package triumphsys. mobility.chartDemoApp"
Could not run ant with error: 1
Failed to package application
[ERR] stbuild exited with non-zero code : 7
even I have attached my command prompt here and packager.json here.
please help me to resolve it.
I was able to solve the problem by uninstalling "C:\Program files\Sencha Cmd" and again re-installing it at "C:\Sencha" without any spaces in folder name. and it worked for me.

MonoTouch - Failed to compile interface file

I have a mini mac with Lion osx, I installed Xcode 4.3.2 from the app store, after which I downloaded the mono touch trial software. When I compile a brand new project using mono develop I get the below error:
Failed to compile interface file.
Building: 12 (Debug|iPhoneSimulator)
Building Solution 12
Building: 12 (Debug|iPhoneSimulator)
Performing main compilation...
/Developer/MonoTouch/usr/bin/smcs /noconfig "/out:/Users/aegonaegon/Projects/12/12/bin/iPhoneSimulator/Debug/12.exe" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" /nologo /warn:4 /debug:+ /debug:full /optimize- /codepage:utf8 "/define:DEBUG" /t:exe "/Users/aegonaegon/Projects/12/12/Main.cs" "/Users/aegonaegon/Projects/12/12/AppDelegate.cs" "/Users/aegonaegon/Projects/12/12/12ViewController.cs" "/Users/aegonaegon/Projects/12/12/12ViewController.designer.cs"
Compiling interface definitions
/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text "/Users/aegonaegon/Projects/12/12/12ViewController.xib" --compile "/Users/aegonaegon/Projects/12/12/bin/iPhoneSimulator/Debug/12.app/12ViewController.nib" --sdk "/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk"
/* com.apple.ibtool.errors */
Internal Error:
Description: Illegal invocation. Try 'man ibtool' for more information.
ibtool exited with code 1
Build complete -- 1 error, 0 warnings
---------------------- Done ----------------------
Build: 1 error, 0 warnings
I have un-installed xcode 4.32, mono develop and re-installed but to no success.
Any help on this issue will be helpful.
Thank you.
You might have an old ibtool in /Developer from a previous Xcode install. What does /Developer/usr/bin/ibtool --version show?
You can ensure you're using the latest ibtool by doing this:
sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer