ios – 升级到Xcode 7时的SQLITE:Segmentation Fault 11

ios – 升级到Xcode 7时的SQLITE:Segmentation Fault 11,第1张

概述我已更新到 Xcode 7. 当我尝试构建时,构建失败并显示“由于信号命令失败:分段错误:11”. 我删除了sqlite框架,然后重新加载SQLite(清理项目)并发生同样的错误. 同时删除foder / library / developer / xcode 在Xcode 6上完美运行. 有些人可以帮忙 错误 CompileSwiftSources normal arm64 com.apple. 我已更新到 Xcode 7.
当我尝试构建时,构建失败并显示“由于信号命令失败:分段错误:11”.
我删除了sqlite框架,然后重新加载sqlite(清理项目)并发生同样的错误.

同时删除foder / library / developer / xcode

在Xcode 6上完美运行.

有些人可以帮忙

错误

CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compilercd /Users/Jose/documents/MoBank/MoBank/DependencIEs/sqliteexport PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -whole-module-optimization -module-name sqlite -Onone -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk -target arm64-apple-ios8.0 -g -module-cache-path /Users/Jose/library/Developer/Xcode/DerivedData/ModuleCache -Xfrontend -serialize-deBUGging-options -application-extension -embed-bitcode-marker -enable-testing -I /Users/Jose/library/Developer/Xcode/DerivedData/MoBank-dhjycuvnfedturdcstfvosmlqogn/Build/Products/DeBUG-iphoneos -F /Users/Jose/library/Developer/Xcode/DerivedData/MoBank-dhjycuvnfedturdcstfvosmlqogn/Build/Products/DeBUG-iphoneos -F /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/Developer/library/Frameworks -c -num-threads 8 /Users/Jose/documents/MoBank/MoBank/DependencIEs/sqlite/sqlite/Database.swift /Users/Jose/documents/MoBank/MoBank/DependencIEs/sqlite/sqlite/Statement.swift /Users/Jose/documents/MoBank/MoBank/DependencIEs/sqlite/sqlite/Value.swift /Users/Jose/documents/MoBank/MoBank/DependencIEs/sqlite/sqlite/Expression.swift /Users/Jose/documents/MoBank/MoBank/DependencIEs/sqlite/sqlite/Functions.swift /Users/Jose/documents/MoBank/MoBank/DependencIEs/sqlite/sqlite/query.swift /Users/Jose/documents/MoBank/MoBank/DependencIEs/sqlite/sqlite/FTS.swift /Users/Jose/documents/MoBank/MoBank/DependencIEs/sqlite/sqlite/RTree.swift /Users/Jose/documents/MoBank/MoBank/DependencIEs/sqlite/sqlite/Schema.swift -output-file-map /Users/Jose/library/Developer/Xcode/DerivedData/MoBank-dhjycuvnfedturdcstfvosmlqogn/Build/Intermediates/sqlite.build/DeBUG-iphoneos/sqlite.build/Objects-normal/arm64/sqlite-OutputfileMap.Json -parseable-output -serialize-diagnostics -emit-dependencIEs -emit-module -emit-module-path /Users/Jose/library/Developer/Xcode/DerivedData/MoBank-dhjycuvnfedturdcstfvosmlqogn/Build/Intermediates/sqlite.build/DeBUG-iphoneos/sqlite.build/Objects-normal/arm64/sqlite.swiftmodule -Xcc -I/Users/Jose/library/Developer/Xcode/DerivedData/MoBank-dhjycuvnfedturdcstfvosmlqogn/Build/Intermediates/sqlite.build/DeBUG-iphoneos/sqlite.build/swift-overrIDes.hmap -Xcc -iquote -Xcc /Users/Jose/library/Developer/Xcode/DerivedData/MoBank-dhjycuvnfedturdcstfvosmlqogn/Build/Intermediates/sqlite.build/DeBUG-iphoneos/sqlite.build/sqlite-generated-files.hmap -Xcc -I/Users/Jose/library/Developer/Xcode/DerivedData/MoBank-dhjycuvnfedturdcstfvosmlqogn/Build/Intermediates/sqlite.build/DeBUG-iphoneos/sqlite.build/sqlite-own-target-headers.hmap -Xcc -I/Users/Jose/library/Developer/Xcode/DerivedData/MoBank-dhjycuvnfedturdcstfvosmlqogn/Build/Intermediates/sqlite.build/DeBUG-iphoneos/sqlite.build/sqlite-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/Jose/library/Developer/Xcode/DerivedData/MoBank-dhjycuvnfedturdcstfvosmlqogn/Build/Intermediates/sqlite.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/Jose/library/Developer/Xcode/DerivedData/MoBank-dhjycuvnfedturdcstfvosmlqogn/Build/Intermediates/sqlite.build/DeBUG-iphoneos/sqlite.build/sqlite-project-headers.hmap -Xcc -I/Users/Jose/library/Developer/Xcode/DerivedData/MoBank-dhjycuvnfedturdcstfvosmlqogn/Build/Products/DeBUG-iphoneos/include -Xcc -I/Users/Jose/library/Developer/Xcode/DerivedData/MoBank-dhjycuvnfedturdcstfvosmlqogn/Build/Intermediates/sqlite.build/DeBUG-iphoneos/sqlite.build/DerivedSources/arm64 -Xcc -I/Users/Jose/library/Developer/Xcode/DerivedData/MoBank-dhjycuvnfedturdcstfvosmlqogn/Build/Intermediates/sqlite.build/DeBUG-iphoneos/sqlite.build/DerivedSources -Xcc -DDEBUG=1 -emit-objc-header -emit-objc-header-path /Users/Jose/library/Developer/Xcode/DerivedData/MoBank-dhjycuvnfedturdcstfvosmlqogn/Build/Intermediates/sqlite.build/DeBUG-iphoneos/sqlite.build/Objects-normal/arm64/sqlite-Swift.h -import-underlying-module -Xcc -ivfsoverlay -Xcc /Users/Jose/library/Developer/Xcode/DerivedData/MoBank-dhjycuvnfedturdcstfvosmlqogn/Build/Intermediates/sqlite.build/DeBUG-iphoneos/sqlite.build/unextended-module-overlay.yaml -Xcc -working-directory/Users/Jose/documents/MoBank/MoBank/DependencIEs/sqlite

:0:错误:无法执行命令:分段错误:11
:0:错误:swift前端命令因信号失败(使用-v查看调用)

解决方法 >从以下位置下载sqlite项目:
https://github.com/stephencelis/SQLite.swift/tree/swift-2 >删除当前的sqlite.xcodeproject,并从下载中替换. >在链接框架和库以及嵌入式二进制文件中添加sqlite.framework >清洁和建造 总结

以上是内存溢出为你收集整理的ios – 升级到Xcode 7时的SQLITE:Segmentation Fault 11全部内容,希望文章能够帮你解决ios – 升级到Xcode 7时的SQLITE:Segmentation Fault 11所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1099943.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-28
下一篇 2022-05-28

发表评论

登录后才能评论

评论列表(0条)

保存