IOS Exception 1(RangeText="[SKTexture]()")
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]()")的更多相关文章
- iOS安全攻防(二十三):Objective-C代码混淆
		iOS安全攻防(二十三):Objective-C代码混淆 class-dump能够非常方便的导出程序头文件,不仅让攻击者了解了程序结构方便逆向,还让着急赶进度时写出的欠完好的程序给同行留下笑柄. 所以 ... 
- IOS软件国际化(本地化Localizable)
		IOS软件国际化(本地化Localizable) iPhone是支持语言最多的手机,它支持各国语言及中国少数名族如蒙古等语言,这也是好多少数名族都用苹果的原因.在这一点上我们自主品牌还是要多学习学习. ... 
- 判断IOS静态库(.a文件)是否支持模拟器和真机运行
		判断IOS静态库(.a文件)是否支持模拟器和真机运行 在mac终端下,进入到.a文件目录下,然后输入: lipo -info libMyAlertView.a Architectures in the ... 
- ios基础篇(二十七)—— Json解析
		一.什么是Json JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式.它基于ECMAScript的一个子集. JSON采用完全独立于语言的文本格式,但是也使 ... 
- ios https适配(单向验证)
		版权声明:本文为博主原创文章,未经博主允许不得转载. https是http+tls.是在http和tcp之间添加了一层ssl加密验证,ssl将http发送的信息在将要发到传输层时进行了加密,同样数据从 ... 
- ios基础篇(十六)——UIWebView的基本使用
		UIWebView是内置的浏览器控件,可以用它来浏览网页.打开文档等.UIWebView是一个混合体,具体的功能控件内置的,实现一些基本的功能.UIWebView可以查看Html网页,pdf文件,do ... 
- 蓝牙4.0BLE cc2540 cc2541 ios OAD课程(空中固件升级)[原版的,多图]
		蓝牙4.0BLE cc2540 cc2541 ios OAD课程(件) 为阿莫单片机论坛 www.AmoMcu.com 原创.仅仅公布于csdn博客, 如需转载,请注明出处,谢谢! ... 
- iOS安全攻防(十八):数据保护API
		数据保护API 题外话 开篇先扯几句题外话,许多朋友都问我怎么不写防啊,我确实有点犹豫.hackers总是想象如果自己是开发者会怎么写,然后才能找到入手点.同理,开发者们也要想象自己是hackers会 ... 
- 直接拿来用!最火的iOS开源项目(一~三)
		结束了GitHub平台上“最受欢迎的Android开源项目”系列盘点之后,我们正式迎来了“GitHub上最受欢迎的iOS开源项目”系列盘点.今天,我们将介绍20个在GitHub上非常受开发者欢迎的iO ... 
随机推荐
- nodemon 基本配置与使用
			在开发环境下,往往需要一个工具来自动重启项目工程,之前接触过 python 的 supervisor,现在写 node 的时候发现 supervisior 在很多地方都有他的身影,node 也有一个 ... 
- 【SPOJ Query on a tree 】 (树链剖分)
			http://acm.hust.edu.cn/vjudge/problem/13013 题意: 有一棵N个节点的树(1<=N<=10000),N-1条边,边的编号为1~N-1,每条边有一个 ... 
- WebService的网络协议
			SOAP协议.XML-RPC以及Hessian 是WebService的主要传输(编码)协议 SOAP即简单对象访问协议(Simple Object Access Protocol),它是用于交换XM ... 
- [Atcoder Grand Contest 004] Tutorial
			Link: AGC004 传送门 A: …… #include <bits/stdc++.h> using namespace std; long long a,b,c; int main ... 
- BZOJ 3083 遥远的国度(树链剖分+线段树)
			[题目链接] http://www.lydsy.com/JudgeOnline/problem.php?id=3083 [题目大意] 链修改,子树最小值查询和换根操作 [题解] 树链剖分练习题. [代 ... 
- python基础之闭包函数与装饰器
			闭包函数: 什么是闭包函数: 闭指的是定义在一个函数内部 包指的是该函数包含对外部作用域(非全局作用域)名字的引用 def counter(): n=0 def incr(): nonlocal n ... 
- 安装Xampp-配置appche,mysql运行环境遇到的坑
			用php编写的web应用程序,需运行在php的web容器中,其中apache server是一个针对php web容器,它是apache下的开源项目.通常要运行一个web程序,我们还需要安装数据库软件 ... 
- friend ---- public and private
			I mean the difference between: class A{public: friend class B;};and class A{private: //or nothing as ... 
- 基于t-io的MI工具实现
			原文:https://my.oschina.net/u/2984386/blog/1630300 背景介绍 t-io是一款国产开源的网络编程框架,主要是特点:简单,易上手,AIP封装通俗易懂,适合一般 ... 
- Android 卡顿优化 4 布局优化实际技巧
			今天分享一些layout布局书写中的一些技巧,希望看过之后你也一样可以写出性价比高的布局.我个人的目标是用最少的View写出一样效果的布局.因为我相信View的数量减少伴随着的就是层级的减少.从而达到 ... 
