When I start new iOS/Mac application (Cocoa->Swift language) I always get error "Error building target GetLinkerCommand: Relational operator Less is not supported."
My system - Mac OS 10.11.2, Xcode 7.2
Android apps on Swift run ok.
upd.
Fire version is PRE-RELEASE (BETA) 8.2.89.19.09 built 12-22-2015
mh
(marc hoffman)
January 7, 2016, 9:25pm
2
Which version of fire are you using? An older beta by any chance?
Fire version is PRE-RELEASE (BETA) 8.2.89.19.09 built 12-22-2015
mh
(marc hoffman)
January 8, 2016, 1:23pm
4
Strange. can you set the build log verbosity to Detailed or Debug and post the full log? Also, what version of Mono are you using? the embedded one, or an external?
mh
(marc hoffman)
January 10, 2016, 6:47pm
6
Very curious.
Can you try locating RemObjects.Oxygene.Nougat.targets
inside Fire, and replace these lines
<NougatLinkerOptions Condition="'$(TargetSDKType)'=='OS X' and '$(TargetSDKVersion)' < '10.11'">$(NougatLinkerOptions) "{developer}/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_macosx.a" -lcrt1.10.6.o</NougatLinkerOptions>
<NougatLinkerOptions Condition="'$(TargetSDKType)'=='iOS' and '$(TargetSDKVersion)' < '9.0'" >$(NougatLinkerOptions) -lcrt1.3.1.o</NougatLinkerOptions>
<NougatLinkerOptions Condition="'$(TargetSDKType)'=='iOS Simulator' and '$(TargetSDKVersion)' < '9.0'" >$(NougatLinkerOptions) -lcrt1.o</NougatLinkerOptions>
<NougatLinkerOptions Condition="'$(TargetSDKType)'=='OS X' and '$(TargetSDKVersion)' >= '10.11'">$(NougatLinkerOptions) "{developer}/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/{findbestmatching}/lib/darwin/libclang_rt.osx.a"</NougatLinkerOptions>
<NougatLinkerOptions Condition="'$(TargetSDKType)'=='iOS' and '$(TargetSDKVersion)' >= '9.0'" >$(NougatLinkerOptions) "{developer}/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/{findbestmatching}/lib/darwin/libclang_rt.ios.a"</NougatLinkerOptions>
<NougatLinkerOptions Condition="'$(TargetSDKType)'=='iOS Simulator' and '$(TargetSDKVersion)' >= '9.0'" >$(NougatLinkerOptions) "{developer}/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/{findbestmatching}/lib/darwin/libclang_rt.ios.a"</NougatLinkerOptions>
with these:
<NougatLinkerOptions Condition="'$(TargetSDKType)'=='OS X'">$(NougatLinkerOptions) "{developer}/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/{findbestmatching}/lib/darwin/libclang_rt.osx.a"</NougatLinkerOptions>
<NougatLinkerOptions Condition="'$(TargetSDKType)'=='iOS'" >$(NougatLinkerOptions) "{developer}/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/{findbestmatching}/lib/darwin/libclang_rt.ios.a"</NougatLinkerOptions>
<NougatLinkerOptions Condition="'$(TargetSDKType)'=='iOS Simulator'" >$(NougatLinkerOptions) "{developer}/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/{findbestmatching}/lib/darwin/libclang_rt.ios.a"</NougatLinkerOptions>
and see if that works around the issue? It seems for some reason your version of Mono/MSBuild doesn’t like the “<
” and “>=
” operators, there. Which is odd, because they work fine, here.
mh
(marc hoffman)
January 10, 2016, 6:49pm
7
Even more weird, if I’m search for "Relational operator Less is not supported"
online, with quotes, i literally fid only one single hit. This thread.
It doesn’t work for me(
I try reinstall Mono and Fire, install Mono version from 3.10 to 4.2.1, but nothing has changes(
mh
(marc hoffman)
January 11, 2016, 1:16pm
9
So you get the same error even after changing the .targets
file as suggested?
mh
(marc hoffman)
January 11, 2016, 3:21pm
11
That’s odd, it’s failing on something you removed from the file; this makes no sense. :(.
mh
(marc hoffman)
January 11, 2016, 3:37pm
12
Are you by any chance on a locale where “,” is the decimal symbol, not “.”? if so, that might give us some indication too help narrow this down…
Yes, in my locale default decimal symbol is “,”.
mh
(marc hoffman)
January 11, 2016, 4:07pm
14
Ok, that’s starting to make sense now. as a workaround, can you remove these lines from your target as well? I missed those yesterday:
<PropertyGroup Condition="'$(OutputType)'=='Extension' and '$(IsWatchKitExtension)'!='True' and '$(TargetSDKVersion)' < '9.0'">
<NougatLinkerOptions>$(NougatLinkerOptions) $(SDKPath)/System/Library/PrivateFrameworks/PlugInKit.framework/PlugInKit</NougatLinkerOptions>
</PropertyGroup>
That’s also don’t work for me((
mh
(marc hoffman)
January 11, 2016, 10:01pm
16
Do you have any occurrences of <
or >
left in the .target file now?
No, & lt; or & gt; not in .target file.
I change my OSX system language to English and all work ok.
It’s very strange)))
1 Like
mh
(marc hoffman)
January 13, 2016, 5:11pm
19
I’m guessing you must have overlooked one <
or ‘>’ in the target. In any case, now that we narrowed this issue down, we will address this for the next beta build.