美好的一天,
My Swift App在模拟器中运行良好,但在我的物理IPAD上它在启动后立即崩溃。我在Ipad的iOS 7和8上测试过它。这似乎与Swift标准库有关?哦,是的,我确实删除了应用程序并重新启用它。
有人可以建议采取行动吗?
崩溃报告是: dyld:未找到符号:__TWPC10Foundation15NSFastGeneratorSs13GeneratorType 参考自:/private/var/mobile/Containers/Bundle/Application/083E8585-EBBF-43D5-B7D9-30544C689ED4/Client.app/Client 预计在:/private/var/mobile/Containers/Bundle/Application/083E8585-EBBF-43D5-B7D9-30544C689ED4/Client.app/Frameworks/libswiftFoundation.dylib in /private/var/mobile/Containers/Bundle/Application/083E8585-EBBF-43D5-B7D9-30544C689ED4/Client.app/Client
执行堆栈: 2。 dyld`dyld_fatal_error: 0x1200e5088:brk#3
1。 dyld`_dyld_start: 0x1200e5000:mov x28,sp 0x1200e5004:和sp,x28,#0xfffffffffffffff0 0x1200e5008:movz x0,#0 0x1200e500c:movz x1,#0 0x1200e5010:stp x1,x0,[sp,# - 16]! 0x1200e5014:mov fp,sp 0x1200e5018:sub sp,sp,#16 0x1200e501c:ldr x0,[x28] 0x1200e5020:ldr x1,[x28,#8] 0x1200e5024:添加x2,x28,#16 0x1200e5028:adrp x4,# - 4096 0x1200e502c:mov x4,x4 0x1200e5030:adrp x3,#163840 0x1200e5034:ldr x3,[x3,#880] 0x1200e5038:sub x3,x4,x3 0x1200e503c:mov x5,sp 0x1200e5040:bl 0x4c 0x1200e5044:mov x16,x0 0x1200e5048:ldr x1,[sp] 0x1200e504c:cmp x1,#0 0x1200e5050:b.ne 0xc 0x1200e5054:添加sp,x28,#8 0x1200e5058:br x16 0x1200e505c:mov lr,x1 0x1200e5060:ldr x0,[x28,#8] 0x1200e5064:添加x1,x28,#16 0x1200e5068:添加x2,x1,x0,lsl#3 0x1200e506c:添加x2,x2,#8 0x1200e5070:mov x3,x2 0x1200e5074:ldr x4,[x3] 0x1200e5078:添加x3,x3,#8 0x1200e507c:cmp x4,#0 0x1200e5080:b.ne 0xfffffffffffffff4 0x1200e5084:br x16
答案 0 :(得分:1)
感谢@possen ..他建议: 您可以尝试一个干净的构建命令-shift-option-k
完美无缺。非常赞赏!!!