Amazon EMR tutorial example doesn't compile with ant - ant

I am trying to do the tutorial of Amazon EMR (Elastic MapReduce) https://www.youtube.com/embed/ZSu8N2PoVbM?rel=0&hd=1;autoplay=1
I downloaded the tutorial example http://elasticmapreduce.s3.amazonaws.com/training/wikipedia-lab.tgz, which counts the number of bigrams in a collection of wikipedia documents. I get stuck a the very beginning:
2. Build the job jar
[On your dev machine]
% ant clean job
This will create the wikipedia-ngrams-job.jar Hadoop job jar
file in your build sub-directory. If you have Hadoop installed on
your development machine, you can try running it locally via:
% hadoop jar build/wikipedia-ngrams-job.jar -inputfile src/test/resources/enwiki-split.xml -outputdir build/test
This will generate text output files in build/test/raw-counts and build/test/sorted-counts.
To view the results, you can dump the output (these are text files), e.g.
% cat build/test/sorted-counts/part-r-00000
Here is the terminal output:
> ant clean job
Buildfile: /Users/jfk/work/data/aws_s3/wikipedia-lab/build.xml
clean:
[echo] cleaning wikipedia-ngrams
mvn-init:
[artifact:dependencies] [WARNING] POM for 'org.codehaus.janino:janino:pom:2.5.16:compile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project org.codehaus.janino:janino at /Users/jfk/.m2/repository/org/codehaus/janino/janino/2.5.16/janino-2.5.16.pom
[...]
compile:
[mkdir] Created dir: /Users/jfk/work/data/aws_s3/wikipedia-lab/build/classes-main
[javac] Compiling 14 source files to /Users/jfk/work/data/aws_s3/wikipedia-lab/build/classes-main
[javac] error: error reading /Users/jfk/.m2/repository/org/codehaus/janino/janino/2.5.16/janino-2.5.16.jar; cannot read zip file
[javac] /Users/jfk/work/data/aws_s3/wikipedia-lab/src/main/java/com/amazon/aws/training/emr/wikipedia/NgramsJobOptions.java:9: package org.apache.commons.lang.builder does not exist
[javac] import org.apache.commons.lang.builder.ReflectionToStringBuilder;
[javac] ^
[javac] /Users/jfk/work/data/aws_s3/wikipedia-lab/src/main/java/com/amazon/aws/training/emr/wikipedia/NgramsJobOptions.java:10: package org.apache.commons.lang.builder does not exist
[javac] import org.apache.commons.lang.builder.ToStringStyle;
[javac] ^
[javac] /Users/jfk/work/data/aws_s3/wikipedia-lab/src/main/java/com/scaleunlimited/wikipedia/ProcessXmlOptions.java:3: package org.apache.commons.lang.builder does not exist
[javac] import org.apache.commons.lang.builder.ReflectionToStringBuilder;
[javac] ^
[javac] /Users/jfk/work/data/aws_s3/wikipedia-lab/src/main/java/com/scaleunlimited/wikipedia/ProcessXmlOptions.java:4: package org.apache.commons.lang.builder does not exist
[javac] import org.apache.commons.lang.builder.ToStringStyle;
[javac] ^
[javac] /Users/jfk/work/data/aws_s3/wikipedia-lab/src/main/java/com/scaleunlimited/wikipedia/SplitXmlOptions.java:3: package org.apache.commons.lang.builder does not exist
[javac] import org.apache.commons.lang.builder.ReflectionToStringBuilder;
[javac] ^
[javac] /Users/jfk/work/data/aws_s3/wikipedia-lab/src/main/java/com/scaleunlimited/wikipedia/SplitXmlOptions.java:4: package org.apache.commons.lang.builder does not exist
[javac] import org.apache.commons.lang.builder.ToStringStyle;
[javac] ^
[javac] /Users/jfk/work/data/aws_s3/wikipedia-lab/src/main/java/com/scaleunlimited/wikipedia/SplitXmlTool.java:17: package org.apache.commons.io does not exist
[javac] import org.apache.commons.io.IOUtils;
[javac] ^
[javac] /Users/jfk/work/data/aws_s3/wikipedia-lab/src/main/java/com/amazon/aws/training/emr/wikipedia/NgramsJobOptions.java:84: cannot find symbol
[javac] symbol : variable ToStringStyle
[javac] location: class com.amazon.aws.training.emr.wikipedia.NgramsJobOptions
[javac] return ReflectionToStringBuilder.toString(this, ToStringStyle.MULTI_LINE_STYLE);
[javac] ^
[javac] /Users/jfk/work/data/aws_s3/wikipedia-lab/src/main/java/com/amazon/aws/training/emr/wikipedia/NgramsJobOptions.java:84: cannot find symbol
[javac] symbol : variable ReflectionToStringBuilder
[javac] location: class com.amazon.aws.training.emr.wikipedia.NgramsJobOptions
[javac] return ReflectionToStringBuilder.toString(this, ToStringStyle.MULTI_LINE_STYLE);
[javac] ^
[javac] /Users/jfk/work/data/aws_s3/wikipedia-lab/src/main/java/com/scaleunlimited/wikipedia/ProcessXmlOptions.java:41: cannot find symbol
[javac] symbol : variable ToStringStyle
[javac] location: class com.scaleunlimited.wikipedia.ProcessXmlOptions
[javac] return ReflectionToStringBuilder.toString(this, ToStringStyle.MULTI_LINE_STYLE);
[javac] ^
[javac] /Users/jfk/work/data/aws_s3/wikipedia-lab/src/main/java/com/scaleunlimited/wikipedia/ProcessXmlOptions.java:41: cannot find symbol
[javac] symbol : variable ReflectionToStringBuilder
[javac] location: class com.scaleunlimited.wikipedia.ProcessXmlOptions
[javac] return ReflectionToStringBuilder.toString(this, ToStringStyle.MULTI_LINE_STYLE);
[javac] ^
[javac] /Users/jfk/work/data/aws_s3/wikipedia-lab/src/main/java/com/scaleunlimited/wikipedia/SplitXmlOptions.java:52: cannot find symbol
[javac] symbol : variable ToStringStyle
[javac] location: class com.scaleunlimited.wikipedia.SplitXmlOptions
[javac] return ReflectionToStringBuilder.toString(this, ToStringStyle.MULTI_LINE_STYLE);
[javac] ^
[javac] /Users/jfk/work/data/aws_s3/wikipedia-lab/src/main/java/com/scaleunlimited/wikipedia/SplitXmlOptions.java:52: cannot find symbol
[javac] symbol : variable ReflectionToStringBuilder
[javac] location: class com.scaleunlimited.wikipedia.SplitXmlOptions
[javac] return ReflectionToStringBuilder.toString(this, ToStringStyle.MULTI_LINE_STYLE);
[javac] ^
[javac] /Users/jfk/work/data/aws_s3/wikipedia-lab/src/main/java/com/scaleunlimited/wikipedia/SplitXmlTool.java:128: cannot find symbol
[javac] symbol : variable IOUtils
[javac] location: class com.scaleunlimited.wikipedia.SplitXmlTool
[javac] InputStream is = IOUtils.toInputStream(xml, "UTF-8");
[javac] ^
[javac] Note: /Users/jfk/work/data/aws_s3/wikipedia-lab/src/main/java/com/scaleunlimited/wikipedia/ProcessXmlTool.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 15 errors
BUILD FAILED
/Users/jfk/work/data/aws_s3/wikipedia-lab/build.xml:70: Compile failed; see the compiler error output for details.
Total time: 2 seconds
Any help is welcome.

Deleting the .m2/repository directory
and then executing mvn clean install helped me

Related

Missing sources for clang compilation with gcc-arm-none-eabi toolchain

I do clang --target=arm-unknown-none-eabi compilation and lld linking with the toolchain (STL headers and libraries) from
https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.07/gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2?rev=4dd88ffd827940cbaf365c6f507680c6&hash=25DCA60D08717550548BB15E83726B31
without problems, but when I want to install the toolchain via apt-get
and run the build process I got following warnings
...
[32/32] Linking CXX executable bin/test.out
llvm-objdump: warning: 'test.out': failed to find source /build/newlib-pB30de/newlib-3.3.0/build_nano/arm-none-eabi/thumb/v7e-m+fp/hard/newlib/libc/stdlib/../../../../../../../../newlib/libc/stdlib/atexit.c
llvm-objdump: warning: 'test.out': failed to find source /build/newlib-pB30de/newlib-3.3.0/build_nano/arm-none-eabi/thumb/v7e-m+fp/hard/newlib/libc/stdlib/../../../../../../../../newlib/libc/stdlib/__atexit.c
llvm-objdump: warning: 'test.out': failed to find source /build/libstdc++-arm-none-eabi-gDiE7C/libstdc++-arm-none-eabi-17/build_nano/thumb/v7e-m+fp/hard/libstdc++/libsupc++/../../../../../../src/libstdc++-v3/libsupc++/del_op.cc
llvm-objdump: warning: 'test.out': failed to find source /build/newlib-pB30de/newlib-3.3.0/build_nano/arm-none-eabi/thumb/v7e-m+fp/hard/newlib/libc/stdlib/../../../../../../../../newlib/libc/stdlib/malloc.c
llvm-objdump: warning: 'test.out': failed to find source /build/newlib-pB30de/newlib-3.3.0/build_nano/arm-none-eabi/thumb/v7e-m+fp/hard/newlib/libc/stdlib/../../../../../../../../newlib/libc/stdlib/nano-mallocr.c
llvm-objdump: warning: 'test.out': failed to find source /build/newlib-pB30de/newlib-3.3.0/build_nano/arm-none-eabi/thumb/v7e-m+fp/hard/newlib/libc/stdlib/../../../../../../../../newlib/libc/stdlib/mlock.c
llvm-objdump: warning: 'test.out': failed to find source /build/newlib-pB30de/newlib-3.3.0/build_nano/arm-none-eabi/thumb/v7e-m+fp/hard/newlib/libc/reent/../../../../../../../../newlib/libc/reent/sbrkr.c
llvm-objdump: warning: 'test.out': failed to find source /build/newlib-pB30de/newlib-3.3.0/build/arm-none-eabi/thumb/v7e-m+fp/hard/libgloss/libnosys/../../../../../../../libgloss/libnosys/sbrk.c
llvm-objdump: warning: 'test.out': failed to find source /build/newlib-pB30de/newlib-3.3.0/build_nano/arm-none-eabi/thumb/v7e-m+fp/hard/newlib/libc/machine/arm/../../../../../../../../../newlib/libc/machine/arm/aeabi_memmove-thumb2.S
llvm-objdump: warning: 'test.out': failed to find source /build/newlib-pB30de/newlib-3.3.0/build_nano/arm-none-eabi/thumb/v7e-m+fp/hard/newlib/libc/machine/arm/../../../../../../../../../newlib/libc/machine/arm/aeabi_memcpy.c
llvm-objdump: warning: 'test.out': failed to find source /build/newlib-pB30de/newlib-3.3.0/build_nano/arm-none-eabi/thumb/v7e-m+fp/hard/newlib/libc/machine/arm/../../../../../../../../../newlib/libc/machine/arm/memcpy-armv7m.S
llvm-objdump: warning: 'test.out': failed to find source /build/newlib-pB30de/newlib-3.3.0/build_nano/arm-none-eabi/thumb/v7e-m+fp/hard/newlib/libc/machine/arm/../../../../../../../../../newlib/libc/machine/arm/aeabi_memclr.c
llvm-objdump: warning: 'test.out': failed to find source /build/newlib-pB30de/newlib-3.3.0/build_nano/arm-none-eabi/thumb/v7e-m+fp/hard/newlib/libc/machine/arm/../../../../../../../../../newlib/libc/machine/arm/aeabi_memset-thumb2.S
Can I ignore this warnings or is there any way to solve this (e.g., by installing an additional/missing library or a dedicated llvm-objdump options)?
Note: Compared to Ubuntu20.04 there is no libnewlib-nano-arm-none-eabi available for Ubuntu22.04
E: Unable to locate package libnewlib-nano-arm-none-eabi
Thanks for the help

How to build Beanshell with ANT?

I have a task: to build this project I have a project git clone --depth 1 --branch 2.0b6 https://github.com/beanshell/beanshell.gitfrom sources whit JDK11 or report that sources are broken or report that they are incompatible with JDK 11. For that I have change build.xml to <javac target="1.8" then ran ant
And got the following error:
compile:
[javac] /home/katya/tmp_work/beanshell/build.xml:176: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 48 source files to /home/katya/tmp_work/beanshell/classes
[javac]
[javac] WARNING
[javac]
[javac] The -source switch defaults to 9 in JDK 9.
[javac] If you specify -target 1.8 you now must also specify -source 1.8.
[javac] Ant will implicitly add -source 1.8 for you. Please change your build file.
[javac] warning: [options] bootstrap class path not set in conjunction with -source 8
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/AWTDemoApplet.java:30: warning: [deprecation] Applet in java.applet has been deprecated
[javac] import java.applet.Applet;
[javac] ^
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/AWTRemoteApplet.java:30: warning: [deprecation] Applet in java.applet has been deprecated
[javac] import java.applet.Applet;
[javac] ^
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/AWTConsole.java:122: warning: [deprecation] getModifiers() in InputEvent has been deprecated
[javac] type( e.getKeyCode(), e.getKeyChar(), e.getModifiers() );
[javac] ^
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/AWTConsole.java:146: warning: [deprecation] CTRL_MASK in InputEvent has been deprecated
[javac] if ( (modifiers & InputEvent.CTRL_MASK) > 0 ) {
[javac] ^
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/AWTConsole.java:173: warning: [deprecation] CTRL_MASK in InputEvent has been deprecated
[javac] if ( (modifiers & InputEvent.CTRL_MASK) > 0 ) {
[javac] ^
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/AWTConsole.java:217: warning: TextComponentPeer is internal proprietary API and may be removed in a future release
[javac] ((java.awt.peer.TextComponentPeer)getPeer()).setCaretPosition(
[javac] ^
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/AWTConsole.java:217: error: cannot find symbol
[javac] ((java.awt.peer.TextComponentPeer)getPeer()).setCaretPosition(
[javac] ^
[javac] symbol: method getPeer()
[javac] location: class AWTConsole
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/AWTDemoApplet.java:38: warning: [deprecation] Applet in java.applet has been deprecated
[javac] public class AWTDemoApplet extends Applet
[javac] ^
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/AWTRemoteApplet.java:39: warning: [deprecation] Applet in java.applet has been deprecated
[javac] public class AWTRemoteApplet extends Applet
[javac] ^
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/JConsole.java:227: warning: [deprecation] getModifiers() in InputEvent has been deprecated
[javac] if ( (e.getModifiers() & InputEvent.CTRL_MASK) > 0 ) {
[javac] ^
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/JConsole.java:227: warning: [deprecation] CTRL_MASK in InputEvent has been deprecated
[javac] if ( (e.getModifiers() & InputEvent.CTRL_MASK) > 0 ) {
[javac] ^
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/JConsole.java:263: warning: [deprecation] getModifiers() in InputEvent has been deprecated
[javac] if (( (e.getModifiers() & InputEvent.CTRL_MASK) > 0 )
[javac] ^
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/JConsole.java:263: warning: [deprecation] CTRL_MASK in InputEvent has been deprecated
[javac] if (( (e.getModifiers() & InputEvent.CTRL_MASK) > 0 )
[javac] ^
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/JConsole.java:281: warning: [deprecation] getModifiers() in InputEvent has been deprecated
[javac] (e.getModifiers() &
[javac] ^
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/JConsole.java:282: warning: [deprecation] CTRL_MASK in InputEvent has been deprecated
[javac] (InputEvent.CTRL_MASK
[javac] ^
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/JConsole.java:283: warning: [deprecation] ALT_MASK in InputEvent has been deprecated
[javac] | InputEvent.ALT_MASK | InputEvent.META_MASK)) == 0 )
[javac] ^
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/JConsole.java:283: warning: [deprecation] META_MASK in InputEvent has been deprecated
[javac] | InputEvent.ALT_MASK | InputEvent.META_MASK)) == 0 )
[javac] ^
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/JDemoApplet.java:38: warning: [deprecation] JApplet in javax.swing has been deprecated
[javac] public class JDemoApplet extends JApplet
[javac] ^
[javac] /home/katya/tmp_work/beanshell/src/bsh/util/JRemoteApplet.java:39: warning: [deprecation] JApplet in javax.swing has been deprecated
[javac] public class JRemoteApplet extends JApplet
[javac] ^
[javac] /home/katya/tmp_work/beanshell/tests/src/InterfaceImpl.java:5: warning: [deprecation] Integer(int) in Integer has been deprecated
[javac] public Integer getInteger() { return new Integer(5); }
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
[javac] 20 warnings
in the same time it is impossible to build this project with Maven. Could you tell me how to build beanshell version 2.0b6 with JDK 11 ?

MT5210 Native linking failed - Cannot build xamarin.ios (forms) app

EDIT (22/06-21): I went thru all my nugets one by one and found that the extra mtouch args. comes from the Xamarin.Firebase.iOS nugets. Someone over there has made the lib. so that it append some global mtouch flags. (the current stable version appends "-ObjC -lc++ -lsqlite3 -lz")
Since it dont seem to help to open an issue over there i must somehow make my lib. work with those flags. great...
I have a weird problem with building a ios forms app.
We have made a dll of a native library (openCV2) with some functions we need.
we have made a PoC that builds and runs just fine, but when we take it to the "real" app it cant build.
right before the build fails i see in the log:
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch #/Users/xxx/Library/Caches/Xamarin/mtbs/builds/xxx.iOS/xxxx/obj/iPhone/Debug/device-builds/iphone11.2-14.6/response-file.rsp -v -v -v -v --gcc_flags=-ObjC
while on the PoC app the same line is:
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch #/Users/xxx/Library/Caches/Xamarin/mtbs/builds/xxx.iOS/xxxx/obj/iPhone/Debug/device-builds/iphone11.2-14.6/response-file.rsp
i know the "-v -v -v -v" is from my additional mtouch args. but no where (that i can find) is the gcc_flags set and i cant find a way to remove it.
what i have tried with no luck:
linking Foundation framework in the additional mtouch args. linking
Foundation framework in the LinkWithAttribues.cs file in the binding
project none, sdk-only and all linking. looked at diffrenses in the
project files made all the changes i can think of in the LinkWith
file eg. linker flags, smart linking c++ and the like. tried with and
w/o this linker flag L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/ -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -Wl,-rpath -Wl,#executable_path/Frameworks
made sure the code in the implementation and PoC is 100% the same
made the iOS build options 100% the same in project and PoC
installed the xamarin.swift nuget
tried both 4.8 and 5.0 xamarin forms
im running
vs for mac 8.10 (for binding project)
vs2019 16.10.1 (for app building)
xamarin.ios 14.19 on both
does anyone have a idea on what is going wrong here?
Im at the end of my rope, any help or ideas on where to look would be greatly appricieted.
here is the complete "failing" build log:
1> /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch #/Users/appteam/Library/Caches/Xamarin/mtbs/builds/xxx.iOS/xxx/obj/iPhone/Debug/device-builds/iphone11.2-14.6/response-file.rsp -v -v -v -v --gcc_flags=-ObjC
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): warning : Could not find or use auto-linked library 'swiftObjectiveC'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): warning : Could not find or use auto-linked library 'swiftCore'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): warning : Could not find or use auto-linked library 'swiftQuartzCore'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftObjectiveC'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftCore'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftQuartzCore'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftos'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftCoreGraphics'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftDarwin'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftCoreFoundation'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftCompatibility50'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftDispatch'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftAVFoundation'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftCoreMedia'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftAccelerate'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftFoundation'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftsimd'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftCompatibilityDynamicReplacements'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftCoreImage'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftCoreAudio'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftUIKit'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftCoreMIDI'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : warning: Could not find or use auto-linked library 'swiftMetal'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: (extension in Foundation):Foundation.DataProtocol.copyBytes(to: Swift.UnsafeMutableRawBufferPointer) -> Swift.Int. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: Foundation.__DataStorage.init(bytes: Swift.UnsafeRawPointer?, length: Swift.Int) -> Foundation.__DataStorage. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: type metadata accessor for Foundation.__DataStorage. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: type metadata accessor for Foundation.Data.RangeReference. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: Foundation.Data._bridgeToObjectiveC() -> __C.NSData. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: static Foundation.Data._unconditionallyBridgeFromObjectiveC(__C.NSData?) -> Foundation.Data. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: protocol conformance descriptor for Foundation.Data : Foundation.DataProtocol in Foundation. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: type metadata for Foundation.Data. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: associated type descriptor for Swift.Sequence.Element. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: associated type descriptor for Swift.IteratorProtocol.Element. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: associated type descriptor for Swift.Sequence.Iterator. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: associated type descriptor for Swift.RawRepresentable.RawValue. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: (extension in Foundation):Swift.Dictionary._bridgeToObjectiveC() -> __C.NSDictionary. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.Hashable._rawHashValue(seed: Swift.Int) -> Swift.Int. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.Hashable.hash(into: inout Swift.Hasher) -> (). Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.Hashable.hashValue.getter : Swift.Int. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: protocol descriptor for Swift.Hashable. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: base conformance descriptor for Swift.Hashable: Swift.Equatable. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: method descriptor for static Swift.Equatable.== infix(A, A) -> Swift.Bool. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: protocol descriptor for Swift.Equatable. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: (extension in Foundation):Swift.String._bridgeToObjectiveC() -> __C.NSString. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: static (extension in Foundation):Swift.String._unconditionallyBridgeFromObjectiveC(__C.NSString?) -> Swift.String. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: Swift.String.hash(into: inout Swift.Hasher) -> (). Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: Swift.String.write<A where A: Swift.TextOutputStream>(to: inout A) -> (). Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: type metadata for Swift.String. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: protocol witness table for Swift.String : Swift.Hashable in Swift. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.Sequence.makeIterator() -> A.Iterator. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.Sequence._copyContents(initializing: Swift.UnsafeMutableBufferPointer<A.Element>) -> (A.Iterator, Swift.Int). Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.Sequence.underestimatedCount.getter : Swift.Int. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.Sequence._copyToContiguousArray() -> Swift.ContiguousArray<A.Element>. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.Sequence._customContainsEquatableElement(A.Element) -> Swift.Bool?. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.Sequence.withContiguousStorageIfAvailable<A>((Swift.UnsafeBufferPointer<A.Element>) throws -> A1) throws -> A1?. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: associated conformance descriptor for Swift.Sequence.Swift.Sequence.Iterator: Swift.IteratorProtocol. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: protocol descriptor for Swift.Sequence. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: (extension in Swift):Swift.Sequence.withContiguousStorageIfAvailable<A>((Swift.UnsafeBufferPointer<A.Element>) throws -> A1) throws -> A1?. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.RawRepresentable.rawValue.getter : A.RawValue. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.RawRepresentable.init(rawValue: A.RawValue) -> A?. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: protocol descriptor for Swift.RawRepresentable. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: (extension in Foundation):Swift.Array._bridgeToObjectiveC() -> __C.NSArray. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: static (extension in Foundation):Swift.Array._unconditionallyBridgeFromObjectiveC(__C.NSArray?) -> [A]. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: static Swift.Array._allocateBufferUninitialized(minimumCapacity: Swift.Int) -> Swift._ArrayBuffer<A>. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: (extension in Foundation):Swift.Double._bridgeToObjectiveC() -> __C.NSNumber. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: static (extension in Foundation):Swift.Double._forceBridgeFromObjectiveC(_: __C.NSNumber, result: inout Swift.Double?) -> (). Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: type metadata for Swift.Double. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: type metadata for Swift.Float. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: Swift.Int.hashValue.getter : Swift.Int. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: type metadata for Swift.Int. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: protocol conformance descriptor for Swift.Int : Swift.BinaryInteger in Swift. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: method descriptor for Swift.IteratorProtocol.next() -> A.Element?. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: protocol descriptor for Swift.IteratorProtocol. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: (extension in Swift):Swift.BinaryInteger.description.getter : Swift.String. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: Swift._StringGuts.grow(Swift.Int) -> (). Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: type metadata accessor for Swift._ArrayBuffer. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: protocol conformance descriptor for Swift._ArrayBuffer<A> : Swift._ArrayBufferProtocol in Swift. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: Swift._CocoaArrayWrapper.endIndex.getter : Swift.Int. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: Swift._CocoaArrayWrapper.subscript.getter : (Swift.Int) -> Swift.AnyObject. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: static Swift._DictionaryStorage.allocate(capacity: Swift.Int) -> Swift._DictionaryStorage<A, B>. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: type metadata accessor for Swift._DictionaryStorage. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error MT5210: Native linking failed, undefined symbol: (extension in Swift):Swift._ArrayBufferProtocol._outlinedMakeUniqueBuffer(bufferCount: Swift.Int) -> (). Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
(... shortend ...)
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(380,3): error : linker command failed with exit code 1 (use -v to see invocation)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
Can you please check changing the Linker Behavior to "Link Framework SDKs only" :

xcodebuild error: action 'archive' is not implemented

xcodebuild archive -archivePath ${archive_path} -workspace ${workspace_path} -scheme ${scheme} -configuration ${configuration} -sdk iphoneos
warning: unhandled ProductType key IsUnitTest
warning: unhandled ProductType key IsUITest
warning: unhandled ProductType key IsUnitTest
warning: unhandled ProductType key IsUnitTest
warning: unhandled ProductType key IsUITest
warning: unhandled ProductType key IsUnitTest
error: cannot find base BuildSystem specification 'embedded-shared:com.apple.buildsettings.standard'
error: cannot find base ProductType specification 'embedded-shared:com.apple.product-type.framework'
error: cannot find base ProductType specification 'embedded-shared:com.apple.product-type.xpc-service'
error: cannot find base ProductType specification 'embedded:com.apple.product-type.pluginkit-plugin'
error: cannot find base BuildSystem specification 'embedded:com.apple.build-system.core'
error: cannot find base BuildSystem specification 'embedded:com.apple.build-system.native'
error: cannot find base Linker specification 'embedded:com.apple.pbx.linkers.ld'
error: cannot find base ProductType specification 'embedded-simulator:com.apple.product-type.pluginkit-plugin'
error: action 'archive' is not implemented
warning: export archive not implemented
E, [2017-04-12T17:52:04.100088 #11625] ERROR -- : File does not exist

Java errors when trying to compile a Red5 server sample

I'm trying to a build a Red5 server sample using the tutorial here. I have done all the things including adding red5.jar, commons-logging-1.1.1.jar but when i try to build the my own jar file using ant I get the following errors!
Buildfile: C:\Users\MediaStudio\workspace\Sample\build.xml
clean:
compile:
[javac] C:\Users\MediaStudio\workspace\Sample\build.xml:8: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 1 source file to C:\Users\MediaStudio\workspace\Sample\classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac] C:\Users\MediaStudio\workspace\Sample\src\org\xyz\Application.java:4: error: package org.apache.commons.logging does not exist
[javac] import org.apache.commons.logging.Log;
[javac] ^
[javac] C:\Users\MediaStudio\workspace\Sample\src\org\xyz\Application.java:5: error: package org.apache.commons.logging does not exist
[javac] import org.apache.commons.logging.LogFactory;
[javac] ^
[javac] C:\Users\MediaStudio\workspace\Sample\src\org\xyz\Application.java:6: error: package org.red5.server.adapter does not exist
[javac] import org.red5.server.adapter.ApplicationAdapter;
[javac] ^
[javac] C:\Users\MediaStudio\workspace\Sample\src\org\xyz\Application.java:7: error: package org.red5.server.api does not exist
[javac] import org.red5.server.api.IConnection;
[javac] ^
[javac] C:\Users\MediaStudio\workspace\Sample\src\org\xyz\Application.java:8: error: package org.red5.server.api does not exist
[javac] import org.red5.server.api.IScope;
[javac] ^
[javac] C:\Users\MediaStudio\workspace\Sample\src\org\xyz\Application.java:12: error: cannot find symbol
[javac] public class Application extends ApplicationAdapter{
[javac] ^
[javac] symbol: class ApplicationAdapter
[javac] C:\Users\MediaStudio\workspace\Sample\src\org\xyz\Application.java:14: error: cannot find symbol
[javac] private static final Log log = LogFactory.getLog(Application.class);
[javac] ^
[javac] symbol: class Log
[javac] location: class Application
[javac] C:\Users\MediaStudio\workspace\Sample\src\org\xyz\Application.java:17: error: cannot find symbol
[javac] public boolean appStart(IScope app){
[javac] ^
[javac] symbol: class IScope
[javac] location: class Application
[javac] C:\Users\MediaStudio\workspace\Sample\src\org\xyz\Application.java:26: error: cannot find symbol
[javac] public boolean roomStart(IScope room){
[javac] ^
[javac] symbol: class IScope
[javac] location: class Application
[javac] C:\Users\MediaStudio\workspace\Sample\src\org\xyz\Application.java:35: error: cannot find symbol
[javac] public boolean roomConnect(IConnection conn, Object params[]){
[javac] ^
[javac] symbol: class IConnection
[javac] location: class Application
[javac] C:\Users\MediaStudio\workspace\Sample\src\org\xyz\Application.java:44: error: cannot find symbol
[javac] public void roomDisconnect(IConnection conn){
[javac] ^
[javac] symbol: class IConnection
[javac] location: class Application
[javac] C:\Users\MediaStudio\workspace\Sample\src\org\xyz\Application.java:50: error: cannot find symbol
[javac] public void appDisconnect(IConnection conn){
[javac] ^
[javac] symbol: class IConnection
[javac] location: class Application
[javac] C:\Users\MediaStudio\workspace\Sample\src\org\xyz\Application.java:14: error: cannot find symbol
[javac] private static final Log log = LogFactory.getLog(Application.class);
[javac] ^
[javac] symbol: variable LogFactory
[javac] location: class Application
[javac] C:\Users\MediaStudio\workspace\Sample\src\org\xyz\Application.java:18: error: cannot find symbol
[javac] if(super.appStart(app) == false){
[javac] ^
[javac] symbol: variable super
[javac] location: class Application
[javac] C:\Users\MediaStudio\workspace\Sample\src\org\xyz\Application.java:27: error: cannot find symbol
[javac] if(super.roomStart(room) == false){
[javac] ^
[javac] symbol: variable super
[javac] location: class Application
[javac] C:\Users\MediaStudio\workspace\Sample\src\org\xyz\Application.java:36: error: cannot find symbol
[javac] if(super.roomConnect(conn, params) == false){
[javac] ^
[javac] symbol: variable super
[javac] location: class Application
[javac] C:\Users\MediaStudio\workspace\Sample\src\org\xyz\Application.java:45: error: cannot find symbol
[javac] super.roomDisconnect(conn);
[javac] ^
[javac] symbol: variable super
[javac] location: class Application
[javac] 17 errors
[javac] 1 warning
BUILD FAILED
C:\Users\MediaStudio\workspace\Sample\build.xml:8: Compile failed; see the compiler error output for details.
I'm using the classic version of Eclipse (not sure if it's important or not but!)
I solved this problem by adding the classpath attribute to the javac command inside the build file pointing to the right jar files like the line below:
classpath="${lib.dir}/red5.jar:${lib.dir}/commons-logging-1.1.1.jar"

Resources