Swift error: abort trap: 6

report errors:

Error: abort trap: 6 when using the third party framework of Gaode map in swift project

resolvent:

In project settings, select build settings – & gt; swift compiler – code generation – & gt; optimization level

Set the optimization level to optimize for size [- osize]

Read More: