该应用已成功构建到Google Play以及WebGL。我尝试在Unity中切换各种构建设置,这让我相信Xcode中存在错误。
我也得到了这些: dyld`dyld_fatal_error: - > 0x1200ed088< + 0>:brk#0x3
dyld`_dyld_start:
0x1200ed000 <+0>: mov x28, sp
0x1200ed004 <+4>: and sp, x28, #0xfffffffffffffff0
0x1200ed008 <+8>: movz x0, #0
0x1200ed00c <+12>: movz x1, #0
0x1200ed010 <+16>: stp x1, x0, [sp, #-16]!
0x1200ed014 <+20>: mov x29, sp
0x1200ed018 <+24>: sub sp, sp, #16 ; =16
0x1200ed01c <+28>: ldr x0, [x28]
0x1200ed020 <+32>: ldr x1, [x28, #8]
0x1200ed024 <+36>: add x2, x28, #16 ; =16
0x1200ed028 <+40>: adrp x4, -1
0x1200ed02c <+44>: add x4, x4, #0 ; =0
0x1200ed030 <+48>: adrp x3, 48
0x1200ed034 <+52>: ldr x3, [x3, #3320]
0x1200ed038 <+56>: sub x3, x4, x3
0x1200ed03c <+60>: mov x5, sp
0x1200ed040 <+64>: bl 0x1200ed08c ; dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*)
`-> 0x1200ed044 <+68>: mov x16, x0
0x1200ed048 <+72>: ldr x1, [sp]
0x1200ed04c <+76>: cmp x1, #0 ; =0
0x1200ed050 <+80>: b.ne 0x1200ed05c ; <+92>
0x1200ed054 <+84>: add sp, x28, #8 ; =8
0x1200ed058 <+88>: br x16
0x1200ed05c <+92>: mov x30, x1
0x1200ed060 <+96>: ldr x0, [x28, #8]
0x1200ed064 <+100>: add x1, x28, #16 ; =16
0x1200ed068 <+104>: add x2, x1, x0, lsl #3
0x1200ed06c <+108>: add x2, x2, #8 ; =8
0x1200ed070 <+112>: mov x3, x2
0x1200ed074 <+116>: ldr x4, [x3]
0x1200ed078 <+120>: add x3, x3, #8 ; =8
0x1200ed07c <+124>: cmp x4, #0 ; =0
0x1200ed080 <+128>: b.ne 0x1200ed074 ; <+116>
0x1200ed084 <+132>: br x16
任何想法是什么问题?我看到的所有教程和指南只是填写代码签名和所有这些,并启动项目就像没有错。
答案 0 :(得分:0)
您是否尝试使用&#34; Device SDK&#34;而不是&#34;模拟器SDK&#34;在玩家设置?我找到了答案here
答案 1 :(得分:0)
通过在iOS的Unity设置中将脚本后端从 Mono2x 更改为 IL2CPP 来解决此问题。还将架构设置为通用。不知道为什么会这样,但我不会抱怨。