升级到Mojave后,我的rubymotion(6.1)应用无法编译。 我收到以下错误:
Class _TtCs18__stdlib_AtomicInt is implemented in both /usr/lib/swift/libswiftCore.dylib (0x7fffa61010c8) and /Applications/Xcode.app/Contents/Frameworks/libswiftCore.dylib (0x1072be158).
One of the two will be used. Which one is undefined.
Class _TtCs19__EmptyArrayStorage is implemented in both /usr/lib/swift/libswiftCore.dylib (0x7fffa60f31e0) and /Applications/Xcode.app/Contents/Frameworks/libswiftCore.dylib (0x1072b0268).
One of the two will be used. Which one is undefined.
...
"This copy of libswiftCore.dylib requires an OS version prior to 10.14.4"
答案 0 :(得分:1)
它是由Rubymotion家伙修复的。 使用更新的Rubymotion再次运行它,我收到一条错误消息,其中解释了如何做。
我必须跑步:
ith tab_1 as (
select 362 id, to_date('14/09/2015', 'dd/mm/yyyy') dat from dual union all
select 362 id, to_date('15/09/2015', 'dd/mm/yyyy') dat from dual union all
select 362 id, to_date('16/09/2015', 'dd/mm/yyyy') dat from dual union all
select 362 id, to_date('05/10/2016', 'dd/mm/yyyy') dat from dual union all
select 362 id, to_date('06/10/2016', 'dd/mm/yyyy') dat from dual union all
select 362 id, to_date('07/10/2016', 'dd/mm/yyyy') dat from dual union all
select 362 id, to_date('08/10/2016', 'dd/mm/yyyy') dat from dual union all
select 362 id, to_date('23/10/2016', 'dd/mm/yyyy') dat from dual union all
select 362 id, to_date('24/10/2016', 'dd/mm/yyyy') dat from dual union all
select 362 id, to_date('25/10/2016', 'dd/mm/yyyy') dat from dual union all
select 362 id, to_date('30/10/2019', 'dd/mm/yyyy') dat from dual
),
tab_2 as (
select 362 id, to_date('01/10/2016', 'dd/mm/yyyy') dat from dual union all
select 362 id, to_date('07/10/2016', 'dd/mm/yyyy') dat from dual union all
select 362 id, to_date('29/10/2016', 'dd/mm/yyyy') dat from dual
)
select
dat1_id,
dat2_dat,
dat2_dat
from (
select
tab_2.id dat1_id,
tab_2.dat dat1_dat,
tab_1.dat dat2_dat,
row_number() over (partition by tab_2.id, tab_2.dat order by abs(tab_2.dat - tab_1.dat) asc) rn
from
tab_2
inner join tab_1
on tab_2.id = tab_1.id
)
where rn = 1;