- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我在 Mavericks 10.9.1/Xcode 5.0/iOS Simulator 7.0.1/SpriteKit 中开发的任何应用程序似乎都能正常启动,但一旦加载完应用程序就会立即关闭。
这甚至发生在我在 Xcode 中开始的新项目中,使用基本的“Hello, World!”模板。
在一个新项目上使用基本的 SpriteKit 模板,我在没有修改代码的情况下在 iOS 模拟器中启动时收到以下错误:
更新#1:我还想指出,在强制进入主屏幕后,iOS 模拟器(Safari、 map 等)上的所有其他标准应用程序都正常运行,暗示它可能只是代码本身。但是,考虑到这种情况直接发生在默认 Xcode 5.0.2 安装的全新项目上,我对原因一头雾水。
系统日志:
Marker - Feb 14, 2014, 2:07:00 PM
Feb 14 14:07:02 My-Mac-Pro.local SpringBoard[530] <Warning>: LICreateIconForImage passed NULL CGImageRef image
Feb 14 14:07:02 My-Mac-Pro com.apple.iphonesimulator.launchd.581ea05d[518] (UIKitApplication:MY.TestTestTest[0x871c][577]) <Warning>: Service exited with abnormal code: 1
Feb 14 14:07:02 My-Mac-Pro.local backboardd[520] <Warning>: Application 'UIKitApplication:MY.TestTestTest[0x871c]' exited abnormally with exit status 1
控制台日志:
LLVM ERROR: Cannot select: 0xa4092b0: v16i8 = X86ISD::PSHUFB 0xa407bb8, 0xa408118 [ID=695]
0xa407bb8: v16i8 = llvm.x86.sse2.packuswb.128 0xa407b30, 0xa407a20, 0xa407aa8 [ORD=1594] [ID=694]
0xa407b30: i32 = TargetConstant<2543> [ORD=1594] [ID=37]
0xa407a20: v8i16 = llvm.x86.sse2.packssdw.128 0xa407998, 0xa407448, 0xa4075e0 [ORD=1592] [ID=693]
0xa407998: i32 = TargetConstant<2541> [ORD=1592] [ID=36]
0xa407448: v4i32 = llvm.x86.sse2.cvttps2dq 0xabe63e0, 0xa4073c0 [ORD=1582] [ID=691]
0xabe63e0: i32 = TargetConstant<2528> [ORD=1151] [ID=25]
0xa4073c0: v4f32 = fadd 0xa407338, 0xb3e70e8 [ORD=1581] [ID=688]
0xa407338: v4f32 = fmul 0xa406cc8, 0xa407e60 [ORD=1580] [ID=685]
0xa406cc8: v4f32 = llvm.x86.sse.min.ps 0xa3f4d78, 0xa406c40, 0xabf75e0 [ORD=1567] [ID=682]
0xa3f4d78: i32 = TargetConstant<2700> [ORD=1480] [ID=35]
0xa406c40: v4f32 = llvm.x86.sse.max.ps 0xa3f4b58, 0xa406bb8, 0xa407ee8 [ORD=1566] [ID=679]
0xa3f4b58: i32 = TargetConstant<2698> [ORD=1479] [ID=34]
0xa406bb8: v4f32,ch = load 0xa406b30, 0xabe62d0, 0xb3e4208<LD16[%604](tbaa=!"omnipotent char")> [ORD=1565] [ID=675]
0xabe62d0: i32 = FrameIndex<1> [ORD=978] [ID=4]
0xb3e4208: i32 = undef [ORD=977] [ID=3]
0xa407ee8: v4f32 = bitcast 0xa4072b0 [ID=120]
0xa4072b0: v4i32 = BUILD_VECTOR 0xa407228, 0xa407228, 0xa407228, 0xa407228 [ID=100]
0xabf75e0: v4f32,ch = load 0x975facc, 0xa3f6118, 0xb3e4208<LD16[ConstantPool]> [ID=132]
0xa3f6118: i32 = add 0xb3e6978, 0xabf7f70 [ID=121]
0xb3e6978: i32 = X86ISD::GlobalBaseReg [ID=64]
0xabf7f70: i32 = X86ISD::Wrapper 0xabe58a8 [ID=101]
0xb3e4208: i32 = undef [ORD=977] [ID=3]
0xa407e60: v4f32,ch = load 0x975facc, 0xa408090, 0xb3e4208<LD16[ConstantPool]> [ID=135]
0xa408090: i32 = add 0xb3e6978, 0xa407f70 [ID=124]
0xb3e6978: i32 = X86ISD::GlobalBaseReg [ID=64]
0xa407f70: i32 = X86ISD::Wrapper 0xa3f4be0 [ID=104]
0xa3f4be0: i32 = TargetConstantPool<<4 x float> <float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02>> 0 [TF=2] [ID=67]
0xb3e4208: i32 = undef [ORD=977] [ID=3]
0xb3e70e8: v4f32,ch = load 0x975facc, 0xa3f6338, 0xb3e4208<LD16[ConstantPool]> [ID=133]
0xa3f6338: i32 = add 0xb3e6978, 0xb3e43a0 [ID=122]
0xb3e6978: i32 = X86ISD::GlobalBaseReg [ID=64]
0xb3e43a0: i32 = X86ISD::Wrapper 0xabe61c0 [ID=102]
0xabe61c0: i32 = TargetConstantPool<<4 x float> <float 5.000000e-01, float 5.000000e-01, float 5.000000e-01, float 5.000000e-01>> 0 [TF=2] [ID=65]
0xb3e4208: i32 = undef [ORD=977] [ID=3]
0xa4075e0: v4i32 = llvm.x86.sse2.cvttps2dq 0xabe63e0, 0xa407558 [ORD=1585] [ID=690]
0xabe63e0: i32 = TargetConstant<2528> [ORD=1151] [ID=25]
0xa407558: v4f32 = fadd 0xa4074d0, 0xb3e70e8 [ORD=1584] [ID=687]
0xa4074d0: v4f32 = fmul 0xa406e60, 0xa407e60 [ORD=1583] [ID=684]
0xa406e60: v4f32 = llvm.x86.sse.min.ps 0xa3f4d78, 0xa406dd8, 0xabf75e0 [ORD=1571] [ID=681]
0xa3f4d78: i32 = TargetConstant<2700> [ORD=1480] [ID=35]
0xa406dd8: v4f32 = llvm.x86.sse.max.ps 0xa3f4b58, 0xa406d50, 0xa407ee8 [ORD=1570] [ID=677]
0xa3f4b58: i32 = TargetConstant<2698> [ORD=1479] [ID=34]
0xa406d50: v4f32,ch = load 0xa406b30, 0xa405d50, 0xb3e4208<LD16[%608](tbaa=!"omnipotent char")> [ORD=1569] [ID=674]
0xa405d50: i32 = add 0xabe62d0, 0xb3dc798 [ORD=1465] [ID=73]
0xb3e4208: i32 = undef [ORD=977] [ID=3]
0xa407ee8: v4f32 = bitcast 0xa4072b0 [ID=120]
0xa4072b0: v4i32 = BUILD_VECTOR 0xa407228, 0xa407228, 0xa407228, 0xa407228 [ID=100]
0xabf75e0: v4f32,ch = load 0x975facc, 0xa3f6118, 0xb3e4208<LD16[ConstantPool]> [ID=132]
0xa3f6118: i32 = add 0xb3e6978, 0xabf7f70 [ID=121]
0xb3e6978: i32 = X86ISD::GlobalBaseReg [ID=64]
0xabf7f70: i32 = X86ISD::Wrapper 0xabe58a8 [ID=101]
0xb3e4208: i32 = undef [ORD=977] [ID=3]
0xa407e60: v4f32,ch = load 0x975facc, 0xa408090, 0xb3e4208<LD16[ConstantPool]> [ID=135]
0xa408090: i32 = add 0xb3e6978, 0xa407f70 [ID=124]
0xb3e6978: i32 = X86ISD::GlobalBaseReg [ID=64]
0xa407f70: i32 = X86ISD::Wrapper 0xa3f4be0 [ID=104]
0xa3f4be0: i32 = TargetConstantPool<<4 x float> <float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02>> 0 [TF=2] [ID=67]
0xb3e4208: i32 = undef [ORD=977] [ID=3]
0xb3e70e8: v4f32,ch = load 0x975facc, 0xa3f6338, 0xb3e4208<LD16[ConstantPool]> [ID=133]
0xa3f6338: i32 = add 0xb3e6978, 0xb3e43a0 [ID=122]
0xb3e6978: i32 = X86ISD::GlobalBaseReg [ID=64]
0xb3e43a0: i32 = X86ISD::Wrapper 0xabe61c0 [ID=102]
0xabe61c0: i32 = TargetConstantPool<<4 x float> <float 5.000000e-01, float 5.000000e-01, float 5.000000e-01, float 5.000000e-01>> 0 [TF=2] [ID=65]
0xb3e4208: i32 = undef [ORD=977] [ID=3]
0xa407aa8: v8i16 = llvm.x86.sse2.packssdw.128 0xa407998, 0xa407778, 0xa407910 [ORD=1593] [ID=692]
0xa407998: i32 = TargetConstant<2541> [ORD=1592] [ID=36]
0xa407778: v4i32 = llvm.x86.sse2.cvttps2dq 0xabe63e0, 0xa4076f0 [ORD=1588] [ID=689]
0xabe63e0: i32 = TargetConstant<2528> [ORD=1151] [ID=25]
0xa4076f0: v4f32 = fadd 0xa407668, 0xb3e70e8 [ORD=1587] [ID=686]
0xa407668: v4f32 = fmul 0xa407008, 0xa407e60 [ORD=1586] [ID=683]
0xa407008: v4f32 = llvm.x86.sse.min.ps 0xa3f4d78, 0xa406f70, 0xabf75e0 [ORD=1575] [ID=680]
0xa3f4d78: i32 = TargetConstant<2700> [ORD=1480] [ID=35]
0xa406f70: v4f32 = llvm.x86.sse.max.ps 0xa3f4b58, 0xa406ee8, 0xa407ee8 [ORD=1574] [ID=676]
0xa3f4b58: i32 = TargetConstant<2698> [ORD=1479] [ID=34]
0xa406ee8: v4f32,ch = load 0xa406b30, 0xa405e60, 0xb3e4208<LD16[%612](tbaa=!"omnipotent char")> [ORD=1573] [ID=673]
0xa405e60: i32 = add 0xabe62d0, 0xabe3fa0 [ORD=1467] [ID=75]
0xb3e4208: i32 = undef [ORD=977] [ID=3]
0xa407ee8: v4f32 = bitcast 0xa4072b0 [ID=120]
0xa4072b0: v4i32 = BUILD_VECTOR 0xa407228, 0xa407228, 0xa407228, 0xa407228 [ID=100]
0xabf75e0: v4f32,ch = load 0x975facc, 0xa3f6118, 0xb3e4208<LD16[ConstantPool]> [ID=132]
0xa3f6118: i32 = add 0xb3e6978, 0xabf7f70 [ID=121]
0xb3e6978: i32 = X86ISD::GlobalBaseReg [ID=64]
0xabf7f70: i32 = X86ISD::Wrapper 0xabe58a8 [ID=101]
0xb3e4208: i32 = undef [ORD=977] [ID=3]
0xa407e60: v4f32,ch = load 0x975facc, 0xa408090, 0xb3e4208<LD16[ConstantPool]> [ID=135]
0xa408090: i32 = add 0xb3e6978, 0xa407f70 [ID=124]
0xb3e6978: i32 = X86ISD::GlobalBaseReg [ID=64]
0xa407f70: i32 = X86ISD::Wrapper 0xa3f4be0 [ID=104]
0xa3f4be0: i32 = TargetConstantPool<<4 x float> <float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02>> 0 [TF=2] [ID=67]
0xb3e4208: i32 = undef [ORD=977] [ID=3]
0xb3e70e8: v4f32,ch = load 0x975facc, 0xa3f6338, 0xb3e4208<LD16[ConstantPool]> [ID=133]
0xa3f6338: i32 = add 0xb3e6978, 0xb3e43a0 [ID=122]
0xb3e6978: i32 = X86ISD::GlobalBaseReg [ID=64]
0xb3e43a0: i32 = X86ISD::Wrapper 0xabe61c0 [ID=102]
0xabe61c0: i32 = TargetConstantPool<<4 x float> <float 5.000000e-01, float 5.000000e-01, float 5.000000e-01, float 5.000000e-01>> 0 [TF=2] [ID=65]
0xb3e4208: i32 = undef [ORD=977] [ID=3]
0xa407910: v4i32 = llvm.x86.sse2.cvttps2dq 0xabe63e0, 0xa407888 [ORD=1591] [ID=672]
0xabe63e0: i32 = TargetConstant<2528> [ORD=1151] [ID=25]
0xa407888: v4f32 = fadd 0xa407800, 0xb3e70e8 [ORD=1590] [ID=670]
0xa407800: v4f32 = fmul 0xa4071a0, 0xa407e60 [ORD=1589] [ID=668]
0xa4071a0: v4f32 = llvm.x86.sse.min.ps 0xa3f4d78, 0xa407118, 0xabf75e0 [ORD=1579] [ID=666]
0xa3f4d78: i32 = TargetConstant<2700> [ORD=1480] [ID=35]
0xa407118: v4f32 = llvm.x86.sse.max.ps 0xa3f4b58, 0xa406888, 0xa407ee8 [ORD=1578] [ID=664]
0xa3f4b58: i32 = TargetConstant<2698> [ORD=1479] [ID=34]
0xa406888: v4f32 = fadd 0xa406800, 0xa3f5460 [ORD=1555] [ID=660]
0xa406800: v4f32 = fmul 0xa3f6dd8, 0xa406448 [ORD=1554] [ID=656]
0xa3f5460: v4f32 = llvm.x86.sse.min.ps 0xa3f4d78, 0xa3f53d8, 0xabf75e0 [ORD=1495] [ID=616]
0xa407ee8: v4f32 = bitcast 0xa4072b0 [ID=120]
0xa4072b0: v4i32 = BUILD_VECTOR 0xa407228, 0xa407228, 0xa407228, 0xa407228 [ID=100]
0xabf75e0: v4f32,ch = load 0x975facc, 0xa3f6118, 0xb3e4208<LD16[ConstantPool]> [ID=132]
0xa3f6118: i32 = add 0xb3e6978, 0xabf7f70 [ID=121]
0xb3e6978: i32 = X86ISD::GlobalBaseReg [ID=64]
0xabf7f70: i32 = X86ISD::Wrapper 0xabe58a8 [ID=101]
0xb3e4208: i32 = undef [ORD=977] [ID=3]
0xa407e60: v4f32,ch = load 0x975facc, 0xa408090, 0xb3e4208<LD16[ConstantPool]> [ID=135]
0xa408090: i32 = add 0xb3e6978, 0xa407f70 [ID=124]
0xb3e6978: i32 = X86ISD::GlobalBaseReg [ID=64]
0xa407f70: i32 = X86ISD::Wrapper 0xa3f4be0 [ID=104]
0xa3f4be0: i32 = TargetConstantPool<<4 x float> <float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02>> 0 [TF=2] [ID=67]
0xb3e4208: i32 = undef [ORD=977] [ID=3]
0xb3e70e8: v4f32,ch = load 0x975facc, 0xa3f6338, 0xb3e4208<LD16[ConstantPool]> [ID=133]
0xa3f6338: i32 = add 0xb3e6978, 0xb3e43a0 [ID=122]
0xb3e6978: i32 = X86ISD::GlobalBaseReg [ID=64]
0xb3e43a0: i32 = X86ISD::Wrapper 0xabe61c0 [ID=102]
0xabe61c0: i32 = TargetConstantPool<<4 x float> <float 5.000000e-01, float 5.000000e-01, float 5.000000e-01, float 5.000000e-01>> 0 [TF=2] [ID=65]
0xb3e4208: i32 = undef [ORD=977] [ID=3]
0xa408118: v16i8 = bitcast 0xa407d50 [ID=140]
0xa407d50: v2i64,ch = load 0x975facc, 0xa408228, 0xb3e4208<LD16[ConstantPool]> [ID=136]
0xa408228: i32 = add 0xb3e6978, 0xa4081a0 [ID=125]
0xb3e6978: i32 = X86ISD::GlobalBaseReg [ID=64]
0xa4081a0: i32 = X86ISD::Wrapper 0xb405660 [ID=105]
0xb405660: i32 = TargetConstantPool<<16 x i8> <i8 2, i8 1, i8 0, i8 3, i8 6, i8 5, i8 4, i8 7, i8 10, i8 9, i8 8, i8 11, i8 14, i8 13, i8 12, i8 15>> 0 [TF=2] [ID=68]
0xb3e4208: i32 = undef [ORD=977] [ID=3]
In function: gldLLVMFPTransform7
最佳答案
尝试更新到 Xcode 5.1(测试版非常稳定)并如上 - 重置 iOS 模拟器的内容设置。有时可能很挑剔。
关于iOS 应用程序启动然后立即在模拟器/xcode 中关闭,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21788799/
IO 设备如何知道属于它的内存中的值在memory mapped IO 中发生了变化? ? 例如,假设内存地址 0 专用于保存 VGA 设备的背景颜色。当我们更改 memory[0] 中的值时,VGA
我目前正在开发一个使用Facebook sdk登录(通过FBLoginView)的iOS应用。 一切正常,除了那些拥有较旧版本的facebook的人。 当他们按下“使用Facebook登录”按钮时,他
假设我有: this - is an - example - with some - dashesNSRange将使用`rangeOfString:@“-”拾取“-”的第一个实例,但是如果我只想要最后
Card.io SDK提供以下详细信息: 卡号,有效期,月份,年份,CVV和邮政编码。 如何从此SDK获取国家名称。 - (void)userDidProvideCreditCardInfo:(Car
iOS 应用程序如何从网络服务下载图片并在安装过程中将它们安装到用户的 iOS 设备上?可能吗? 最佳答案 您无法控制应用在用户设备上的安装,因此无法在安装过程中下载其他数据。 只需在安装后首次启动应
我曾经开发过一款企业版 iOS 产品,我们公司曾将其出售给大型企业,供他们的员工使用。 该应用程序通过 AppStore 提供,企业用户获得了公司特定的配置文件(包含应用程序配置文件)以启用他们有权使
我正在尝试将 Card.io SDK 集成到我的 iOS 应用程序中。我想为 CardIO ui 做一个简单的本地化,如更改取消按钮标题或“在此保留信用卡”提示文本。 我在 github 上找到了这个
我正在使用 CardIOView 和 CardIOViewDelegate 类,没有可以设置为 YES 的 BOOL 来扫描 collectCardholderName。我可以看到它在 CardIOP
我有一个集成了通话工具包的 voip 应用程序。每次我从我的 voip 应用程序调用时,都会在 native 电话应用程序中创建一个新的最近通话记录。我在 voip 应用程序中也有自定义联系人(电话应
iOS 应用程序如何知道应用程序打开时屏幕上是否已经有键盘?应用程序运行后,它可以接收键盘显示/隐藏通知。但是,如果应用程序在分屏模式下作为辅助应用程序打开,而主应用程序已经显示键盘,则辅助应用程序不
我在模拟器中收到以下错误: ImageIO: CGImageReadSessionGetCachedImageBlockData *** CGImageReadSessionGetCachedIm
如 Apple 文档所示,可以通过 EAAccessory Framework 与经过认证的配件(由 Apple 认证)进行通信。但是我有点困惑,因为一些帖子告诉我它也可以通过 CoreBluetoo
尽管现在的调试器已经很不错了,但有时找出应用程序中正在发生的事情的最好方法仍然是古老的 NSLog。当您连接到计算机时,这样做很容易; Xcode 会帮助弹出日志查看器面板,然后就可以了。当您不在办公
在我的 iOS 应用程序中,我定义了一些兴趣点。其中一些有一个 Kontakt.io 信标的名称,它绑定(bind)到一个特定的 PoI(我的意思是通常贴在信标标签上的名称)。现在我想在附近发现信标,
我正在为警报提示创建一个 trigger.io 插件。尝试从警报提示返回数据。这是我的代码: // Prompt + (void)show_prompt:(ForgeTask*)task{
您好,我是 Apple iOS 的新手。我阅读并搜索了很多关于推送通知的文章,但我没有发现任何关于 APNS 从 io4 到 ios 6 的新更新的信息。任何人都可以向我提供 APNS 如何在 ios
UITabBar 的高度似乎在 iOS 7 和 8/9/10/11 之间发生了变化。我发布这个问题是为了让其他人轻松找到答案。 那么:在 iPhone 和 iPad 上的 iOS 8/9/10/11
我想我可以针对不同的 iOS 版本使用不同的 Storyboard。 由于 UI 的差异,我将创建下一个 Storyboard: Main_iPhone.storyboard Main_iPad.st
我正在写一些东西,我将使用设备的 iTunes 库中的一部分音轨来覆盖 2 个视频的组合,例如: AVMutableComposition* mixComposition = [[AVMutableC
我创建了一个简单的 iOS 程序,可以顺利编译并在 iPad 模拟器上运行良好。当我告诉 XCode 4 使用我连接的 iPad 设备时,无法编译相同的程序。问题似乎是当我尝试使用附加的 iPad 时
我是一名优秀的程序员,十分优秀!