swift - iOS 9 Command failed due to signal: Segmentation fault: 11 -


i upgraded xcode 7. , code working fine on 6.3 , ios 8.4 not compile segmentation fault.

i using stephencelis library of sqlite. seems causing problem.

i appreciate help, ideas. below last part of error msg:

  1. while type-checking getter columnnames @ /users/luben/downloads/sqlite.swift-master/sqlite/query.swift:740:22
  2. while type-checking declaration 0x7fbab3ee2d68 @ /users/luben/downloads/sqlite.swift-master/sqlite/query.swift:740:51
  3. while type-checking expression @ [/users/luben/downloads/sqlite.swift-master/sqlite/query.swift:740:51 - line:774:7] rangetext="{ var (columnnames, idx) = (string: int, 0) column: each in self.query.columns ?? [expression(literal: "*")] { let pair = each.expression.sql.characters.split { $0 == "." }.map { string($0) } let (tablename, column) = (pair.count > 1 ? pair.first : nil, pair.last!)

        func expandglob(namespace: bool) -> query -> void {         return { table in             var query = query(table.database, table.tablename.unaliased)             if let columns = table.columns { query.columns = columns  }             var names = query.selectstatement.columnnames.map { quote(identifier: $0) }             if namespace { names = names.map { "\(table.tablename.sql).\($0)" } }             name in names { columnnames[name] = idx++ }         }     }      if column == "*" {         let tables = [self.query.select(*)] + self.query.joins.map { $0.table }         if let tablename = tablename {             table in tables {                 if table.tablename.sql == tablename {                     expandglob(true)(table)                     continue column                 }             }             assertionfailure("no such table: \(tablename)")         }         tables.map(expandglob(self.query.joins.count > 0))         continue     }      columnnames[each.expression.sql] = idx++ } return columnnames 

    }()"

the sqlite.swift project on github provides swift 2 branch. solves problem.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -