CompileSwift normal x86_64 com.apple.xcode.tools.swift.compiler

cd /Users/Rubert/workspaces/Panda

export PATH="/Applications/Xcode6-Beta2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode6-Beta2.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"

/Applications/Xcode6-Beta2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -target x86_64-apple-ios8.0 -module-name Panda -O0 -sdk /Applications/Xcode6-Beta2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -g -module-cache-path /Users/Rubert/Library/Developer/Xcode/DerivedData/ModuleCache -I /Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Products/Debug-iphonesimulator -F /Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Products/Debug-iphonesimulator -c -j8 /Users/Rubert/workspaces/Panda/Panda/GameScene.swift /Users/Rubert/workspaces/Panda/Panda/GameViewController.swift /Users/Rubert/workspaces/Panda/Panda/Panda.swift /Users/Rubert/workspaces/Panda/Panda/AppDelegate.swift -output-file-map /Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/Objects-normal/x86_64/Panda-OutputFileMap.json -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/Objects-normal/x86_64/Panda.swiftmodule -Xcc -iquote -Xcc /Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/Panda-generated-files.hmap -Xcc -I/Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/Panda-own-target-headers.hmap -Xcc -I/Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/Panda-all-target-headers.hmap -Xcc -iquote -Xcc /Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/Panda-project-headers.hmap -Xcc -I/Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Products/Debug-iphonesimulator/include -Xcc -I/Applications/Xcode6-Beta2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -Xcc -I/Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/DerivedSources/x86_64 -Xcc -I/Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/DerivedSources -Xcc -DDEBUG=1 -emit-objc-header -emit-objc-header-path /Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/Objects-normal/x86_64/Panda-Swift.h

0  swift                    0x000000010dc5ae08 llvm::sys::PrintStackTrace(__sFILE*) + 40

1  swift                    0x000000010dc5b2f4 SignalHandler(int) + 452

2  libsystem_platform.dylib 0x00007fff834105aa _sigtramp + 26

3  libsystem_platform.dylib 0x00007fff52be1420 _sigtramp + 3481079440

4  swift                    0x000000010de1f552 (anonymous namespace)::ConstraintWalker::walkToExprPost(swift::Expr*) + 162

5  swift                    0x000000010df0d0d5 (anonymous namespace)::Traversal::visit(swift::Expr*) + 3621

6  swift                    0x000000010df0a0e5 swift::Expr::walk(swift::ASTWalker&) + 53

7  swift                    0x000000010de1b4b0 swift::constraints::ConstraintSystem::generateConstraints(swift::Expr*) + 96

8  swift                    0x000000010de4d6af swift::TypeChecker::typeCheckExpression(swift::Expr*&, swift::DeclContext*, swift::Type, swift::Type, bool, swift::FreeTypeVariableBinding, swift::ExprTypeCheckListener*) + 479

9  swift                    0x000000010de51352 swift::TypeChecker::typeCheckBinding(swift::PatternBindingDecl*) + 162

10 swift                    0x000000010de5d1c2 validatePatternBindingDecl(swift::TypeChecker&, swift::PatternBindingDecl*) + 562

11 swift                    0x000000010de67626 swift::ASTVisitor<(anonymous namespace)::DeclChecker, void, void, void, void, void, void>::visit(swift::Decl*) + 214

12 swift                    0x000000010de68677 swift::ASTVisitor<(anonymous namespace)::DeclChecker, void, void, void, void, void, void>::visit(swift::Decl*) + 4391

13 swift                    0x000000010de5b360 swift::TypeChecker::typeCheckDecl(swift::Decl*, bool) + 112

14 swift                    0x000000010de47008 swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, unsigned int) + 1256

15 swift                    0x000000010d245300 swift::CompilerInstance::performSema() + 2224

16 swift                    0x000000010d01edcd frontend_main(llvm::ArrayRef<char const*>, char const*, void*) + 1885

17 swift                    0x000000010d01e65d main + 1533

18 libdyld.dylib            0x00007fff873bb5fd start + 1

Stack dump:

0. Program arguments: /Applications/Xcode6-Beta2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Users/Rubert/workspaces/Panda/Panda/GameScene.swift /Users/Rubert/workspaces/Panda/Panda/GameViewController.swift -primary-file /Users/Rubert/workspaces/Panda/Panda/Panda.swift /Users/Rubert/workspaces/Panda/Panda/AppDelegate.swift -enable-objc-attr-requires-objc-module -target x86_64-apple-ios8.0 -module-name Panda -sdk /Applications/Xcode6-Beta2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -I /Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Products/Debug-iphonesimulator -F /Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Products/Debug-iphonesimulator -g -module-cache-path /Users/Rubert/Library/Developer/Xcode/DerivedData/ModuleCache -Xcc -iquote -Xcc /Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/Panda-generated-files.hmap -Xcc -I/Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/Panda-own-target-headers.hmap -Xcc -I/Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/Panda-all-target-headers.hmap -Xcc -iquote -Xcc /Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/Panda-project-headers.hmap -Xcc -I/Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Products/Debug-iphonesimulator/include -Xcc -I/Applications/Xcode6-Beta2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -Xcc -I/Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/DerivedSources/x86_64 -Xcc -I/Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/DerivedSources -Xcc -DDEBUG=1 -emit-module-doc-path /Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/Objects-normal/x86_64/Panda~partial.swiftdoc -O0 -emit-module-path /Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/Objects-normal/x86_64/Panda~partial.swiftmodule -serialize-diagnostics-path /Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/Objects-normal/x86_64/Panda.dia -emit-dependencies-path /Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/Objects-normal/x86_64/Panda.d -o /Users/Rubert/Library/Developer/Xcode/DerivedData/Panda-aetklgxwmjigljcubujctlqprrdl/Build/Intermediates/Panda.build/Debug-iphonesimulator/Panda.build/Objects-normal/x86_64/Panda.o

1. While type-checking 'Panda' at /Users/Rubert/workspaces/Panda/Panda/Panda.swift:11:1

2. While type-checking expression at [/Users/Rubert/workspaces/Panda/Panda/Panda.swift:13:21 - line:13:33] RangeText="[SKTexture]()"

<unknown>:0: error: unable to execute command: Segmentation fault: 11

<unknown>:0: error: swift frontend command failed due to signal (use -v to see invocation)

Command /Applications/Xcode6-Beta2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift failed with exit code 254

在swift语言中,看到有人是这样定义数组var  array ="[SKTexture]()", 但是这样写会抛这样的错误,如果这样写就好了。var array = SKTexture[](),就可以了

IOS Exception 1(RangeText="[SKTexture]()")的更多相关文章

  1. iOS安全攻防(二十三):Objective-C代码混淆

    iOS安全攻防(二十三):Objective-C代码混淆 class-dump能够非常方便的导出程序头文件,不仅让攻击者了解了程序结构方便逆向,还让着急赶进度时写出的欠完好的程序给同行留下笑柄. 所以 ...

  2. IOS软件国际化(本地化Localizable)

    IOS软件国际化(本地化Localizable) iPhone是支持语言最多的手机,它支持各国语言及中国少数名族如蒙古等语言,这也是好多少数名族都用苹果的原因.在这一点上我们自主品牌还是要多学习学习. ...

  3. 判断IOS静态库(.a文件)是否支持模拟器和真机运行

    判断IOS静态库(.a文件)是否支持模拟器和真机运行 在mac终端下,进入到.a文件目录下,然后输入: lipo -info libMyAlertView.a Architectures in the ...

  4. ios基础篇(二十七)—— Json解析

    一.什么是Json JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式.它基于ECMAScript的一个子集. JSON采用完全独立于语言的文本格式,但是也使 ...

  5. ios https适配(单向验证)

    版权声明:本文为博主原创文章,未经博主允许不得转载. https是http+tls.是在http和tcp之间添加了一层ssl加密验证,ssl将http发送的信息在将要发到传输层时进行了加密,同样数据从 ...

  6. ios基础篇(十六)——UIWebView的基本使用

    UIWebView是内置的浏览器控件,可以用它来浏览网页.打开文档等.UIWebView是一个混合体,具体的功能控件内置的,实现一些基本的功能.UIWebView可以查看Html网页,pdf文件,do ...

  7. 蓝牙4.0BLE cc2540 cc2541 ios OAD课程(空中固件升级)[原版的,多图]

           蓝牙4.0BLE cc2540 cc2541 ios OAD课程(件) 为阿莫单片机论坛  www.AmoMcu.com 原创.仅仅公布于csdn博客, 如需转载,请注明出处,谢谢!   ...

  8. iOS安全攻防(十八):数据保护API

    数据保护API 题外话 开篇先扯几句题外话,许多朋友都问我怎么不写防啊,我确实有点犹豫.hackers总是想象如果自己是开发者会怎么写,然后才能找到入手点.同理,开发者们也要想象自己是hackers会 ...

  9. 直接拿来用!最火的iOS开源项目(一~三)

    结束了GitHub平台上“最受欢迎的Android开源项目”系列盘点之后,我们正式迎来了“GitHub上最受欢迎的iOS开源项目”系列盘点.今天,我们将介绍20个在GitHub上非常受开发者欢迎的iO ...

随机推荐

  1. 36、Flask实战第36天:客户端权限验证

    编辑cms_base.html <li><a href="#">{{ g.cms_user.username }}<span>[超级管理员]&l ...

  2. BZOJ 2697 特技飞行(贪心)

    [题目链接] http://www.lydsy.com/JudgeOnline/problem.php?id=2697 [题目大意] 神犇航空开展了一项载客特技飞行业务. 每次飞行长N个单位时间,每个 ...

  3. [Contest20170910]string

    给定一个由且仅由字符$'H','T'$构成的字符串$S$ 给定一个最初为空的字符串$T$,每次随机地在$T$的末尾添加$'H'$或者$'T'$ 问当$S$为$T$的后缀时,在末尾添加字符的期望次数 妙 ...

  4. 【线性基】hdu3949 XOR

    给你n个数,问你将它们取任意多个异或起来以后,所能得到的第K小值? 求出线性基来以后,化成简化线性基,然后把K二进制拆分,第i位是1就取上第i小的简化线性基即可.注意:倘若原本的n个数两两线性无关,也 ...

  5. java 的环境搭建

    java.JDK 的搭建__本人是在360里下载的.也可以去其它的网站. java.jdk官网地址下载: https://download.oracle.com 二.也可以下载地址:http://do ...

  6. c99柔性数组

    变长结构体 struct test { int nSize; char data[]; // 或者 char data[0];但建议使用 char data[]; 注意:c98 时不支持柔性数组,其仅 ...

  7. jsp ajax实例讲解

    下面介绍JSP前台表单内容通过Ajax异步提交到后台Servlet进行校验(校验方式多种,包括提取数据库信息,校验用户名是否重复等),异步在JSP表单页面显示校验结果信息的基本过程. 一.说明: 1. ...

  8. #iOS问题记录#UITableView加载后直接滑动倒最底部

    类似QQ的聊天框,当进入聊天框,直接滑动倒最底部: 需要先将以他变了view滚动倒底部,再来移动NSIndexPath, 代码如下: -(void) doForceScrollToBottom { d ...

  9. Android关于JSON数据解析

    一.什么是json json(Javascript Object Notation)是一种轻量级的数据交换格式,相比于xml这种数据交换格式来说,因为解析xml比较的复杂,而且需要编写大段的代码,所以 ...

  10. Mac OS X 11年9个版本的历经变化

    本月苹果将发布OS X 10.8 Mountain Lion,是Mac OS X系统在其11年生命长河中的第9个版本.2001年,刚从鬼门关爬回来的苹果决定在OS X上做一个赌注,因为他们已经浪费了1 ...