I can not build VLCkit - objective-c

I am trying to build VLCkit with below instruction
https://wiki.videolan.org/VLCKit/
but I met an error which I do not understand as below
[[1;32minfo[0m] Preparing build dirs
Current branch master is up to date.
clang: error: no input files
clang: error: no input files
clang: error: no input files
[[1;32minfo[0m] Building tools
/Users/apple/01_workspace/02_video/VLCKit/buildVLCKit.sh: line 38: pushd: extras/tools: No such file or directory
Could you help me to explain what is this error, and how can I fix it?
I am using Mac OS Sierra version 10.12.6 and Xcode Version 8.3.3

Related

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

clang: error: no such file or directory: Objective-C

hello folks got stuck in this error.
clang: error: no such file or directory: '/Users/astutesol/Library/Developer/Xcode/DerivedData/Cricket_App-fhjgxyyxntnfoudotqonxggicgck/Build/Products/Debug-iphoneos/libCordova.a'
any suggestions please
Close Xcode and clear Derived data from (/Users/astutesol/Library/Developer/Xcode/DerivedData)
Now, open project clean->build. And try.

Titanium Hyperloop app does not compile due to too small libhyperloop.a lib file

I can't compile my titanium + hyperloop application. The compiler complains about the filesize of my libhyperloop.a, which is 2 bytes. Does this mean the file is corrupt, and does someone knows a workaround? I have inspected the file in both hyperloop 1.1.0 and 1.2.0 and both have the same file size.
ld: file too small (length=2) file '/Users/david/Projects/app/modules/iphone/hyperloop/1.1.0/libhyperloop.a' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can it be that my libhyperloop.a is corrupt? And does someone knows where to obtain a fully functional version of the hyperloop module?

OS X - 10.10.4 ld: symbol(s) not found for architecture x86_64

I am installing NS2 2.35 in my macbook having OS X 10.10.4. The Xcode which i have install is Xcode 6.4. While installing I am getting following error:
ld: symbol (s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [octlsh] Error 1
octl-1.14 make failed! Exiting...
From the following link I have downloaded NS2:
https://drive.google.com/file/d/0B7S255p3kFXNSGJCZ2YzUGJDVk0/view
Following steps I have use to install NS2:
Install Xcode
Unzip or untar ns-2.35 using the command "tar zxvf ns-allinone-2.35-xxx.tar.gz" (without quotes)
The ns-2.35 configuration files contains the path to xlibdir and xincdir, so you need not include the path for those directories.
kindly ensure that the path to xlibdir and xincdir are installed on your Mac OS(Xcode)
execute the command ./install inside the directory (~ns-allinone-2.35-xxx/) (use terminal to install) .
Once installed successfully, the path setting information will be provided to you. copy those informations and put it in a file called .profile or .bash_profile (please note that there is a dot in these files)
finally execute the command "source .profile" (wihtout quotes) and logout and login back.
After step 5 i.e. ./install i got above mentioned error.
Kindly help me to solve this problem.
clang: error: linker command failed with exit code 1
The version you got is my "Oct 2014 update" ns-allinone-2.35_gcc482.tar.gz, for gcc/g++ versions 4.6 .. 5.2 . Not clang, AFAIK.
Path´s : # cd ns-2.35/ && make install ; cd ../nam-1.15/ && make install
P.S. : There's a patch for OS X 10 → http://myns2work.blogspot.dk/2013/08/installing-ns-235-on-mountain-lion-and.html
Ref. Google, ns-allinone-2.35 with OS X 10 https://www.google.com/webhp?hl=all&gws_rd=ssl#hl=en&q=ns-allinone-2.35+with+OS+X+10

iOS Linker Command Failed using Core Plot Xcode 4.3.2

So I'm building an application with CorePlot, and when I tried to run it i got the following errors:
ld: warning: ignoring file /Users/tcbl/Library/Developer/Xcode/DerivedData/FaceTracker- chbhtqlxwipamtailjamrakmkpuy/Build/Products/Debug-iphoneos/libCorePlot-CocoaTouch.a,
file was built for archive which is not the architecture being linked (armv6)
ld: duplicate symbol _main in /Users/tcbl/Library/Developer/Xcode/DerivedData/FaceTracker-chbhtqlxwipamtailjamrakmkpuy/Build/Intermediates/FaceTracker.build/Debug-iphoneos/FaceTracker.build/Objects-normal/armv6/main-cocoatouch.o and /Users/tcbl/Library/Developer/Xcode/DerivedData/FaceTracker-chbhtqlxwipamtailjamrakmkpuy/Build/Intermediates/FaceTracker.build/Debug-iphoneos/FaceTracker.build/Objects-normal/armv6/main.o for architecture armv6
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I read somewhere that I need to add to other linker flags: -ObjC -all_load -lCorePlot But this doesn't seem to be anywhere in the project info or build settings, and I'm not sure if this even has anything to do with my error. Any help demystifying this would be much appreciated.
If you select your project and go to the Build Settings tab, you should find it listed under Linking. Make sure you have the advanced/complete view of the tab. The field you want to enter those under is "Other Linker Flags".
Hope that helps!