error: Abort trap: 6 (in target ‘xx‘ from project ‘xx‘)

error: Abort trap: 6 (in target 'xx' from project 'xx')

解决方法:

项目设置里选择Build settings -> Swift Compiler - code generation -> Optimization Level

将Optimization Level设置为Optimize for Size [-Osize]

error: Abort trap: 6 (in target ‘xx‘ from project ‘xx‘)_第1张图片

你可能感兴趣的:(error: Abort trap: 6 (in target ‘xx‘ from project ‘xx‘))