{"action":"created","issue":{"url":"https://api.github.com/repos/SnapKit/SnapKit/issues/90","labels_url":"https://api.github.com/repos/SnapKit/SnapKit/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/SnapKit/SnapKit/issues/90/comments","events_url":"https://api.github.com/repos/SnapKit/SnapKit/issues/90/events","html_url":"https://github.com/SnapKit/SnapKit/issues/90","id":73564066,"number":90,"title":"SnapKit 0.11 crashes at start on device with iOS 8.1.2","user":{"login":"slash7","id":195806,"avatar_url":"https://avatars.githubusercontent.com/u/195806?v=3","gravatar_id":"","url":"https://api.github.com/users/slash7","html_url":"https://github.com/slash7","followers_url":"https://api.github.com/users/slash7/followers","following_url":"https://api.github.com/users/slash7/following{/other_user}","gists_url":"https://api.github.com/users/slash7/gists{/gist_id}","starred_url":"https://api.github.com/users/slash7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slash7/subscriptions","organizations_url":"https://api.github.com/users/slash7/orgs","repos_url":"https://api.github.com/users/slash7/repos","events_url":"https://api.github.com/users/slash7/events{/privacy}","received_events_url":"https://api.github.com/users/slash7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-06T09:02:06Z","updated_at":"2015-05-06T09:32:44Z","closed_at":null,"body":"SnapKit 0.11 crashes at start on device with iOS 8.1.2, works on device with iOS 8.3.\r\nCocoaPods version: 0.36.3\r\n\r\n```\r\ndyld: Library not loaded: @rpath/Snap.framework/Snap\r\n  Referenced from: /private/var/mobile/Containers/Bundle/Application/08B91929-E4F6-4CEA-BEEC-59B2B48637D0/AppNameWasHere.app/AppNameWasHere\r\n  Reason: image not found\r\n(lldb) \r\n```\r\n\r\n\r\n```\r\ndyld`dyld_fatal_error:\r\n->  0x1fe8d08c <+0>: trap   \r\n    0x1fe8d090 <+4>: nop \r\n```\r\n\r\n```\r\ndyld`_dyld_start:\r\n    0x1fe8d000 <+0>:   mov    r8, sp\r\n    0x1fe8d004 <+4>:   sub    sp, sp, #0x10\r\n    0x1fe8d008 <+8>:   bic    sp, sp, #0x7\r\n    0x1fe8d00c <+12>:  ldr    r3, [pc, #0x70]           ; <+132>\r\n    0x1fe8d010 <+16>:  sub    r0, pc, #0x8\r\n    0x1fe8d014 <+20>:  ldr    r3, [r0, r3]\r\n    0x1fe8d018 <+24>:  sub    r3, r0, r3\r\n    0x1fe8d01c <+28>:  ldr    r0, [r8]\r\n    0x1fe8d020 <+32>:  ldr    r1, [r8, #0x4]\r\n    0x1fe8d024 <+36>:  add    r2, r8, #0x8\r\n    0x1fe8d028 <+40>:  ldr    r4, [pc, #0x58]           ; <+136>\r\n    0x1fe8d02c <+44>:  add    r4, r4, pc\r\n    0x1fe8d030 <+48>:  str    r4, [sp]\r\n    0x1fe8d034 <+52>:  add    r4, sp, #0xc\r\n    0x1fe8d038 <+56>:  str    r4, [sp, #0x4]\r\n    0x1fe8d03c <+60>:  blx    0x1fe8d098                ; dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*)\r\n->  0x1fe8d040 <+64>:  ldr    r5, [sp, #0xc]\r\n    0x1fe8d044 <+68>:  cmp    r5, #0x0\r\n    0x1fe8d048 <+72>:  bne    0x1fe8d054                ; <+84>\r\n    0x1fe8d04c <+76>:  add    sp, r8, #0x4\r\n    0x1fe8d050 <+80>:  bx     r0\r\n    0x1fe8d054 <+84>:  mov    lr, r5\r\n    0x1fe8d058 <+88>:  mov    r5, r0\r\n    0x1fe8d05c <+92>:  ldr    r0, [r8, #0x4]\r\n    0x1fe8d060 <+96>:  add    r1, r8, #0x8\r\n    0x1fe8d064 <+100>: add    r2, r1, r0, lsl #2\r\n    0x1fe8d068 <+104>: add    r2, r2, #0x4\r\n    0x1fe8d06c <+108>: mov    r3, r2\r\n    0x1fe8d070 <+112>: ldr    r4, [r3]\r\n    0x1fe8d074 <+116>: add    r3, r3, #0x4\r\n    0x1fe8d078 <+120>: cmp    r4, #0x0\r\n    0x1fe8d07c <+124>: bne    0x1fe8d070                ; <+112>\r\n    0x1fe8d080 <+128>: bx     r5\r\n    0x1fe8d084 <+132>: andeq  r3, r2, r0, lsl r11\r\n    0x1fe8d088 <+136>: .long  0xffffefcc                ; unknown opcode\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/SnapKit/SnapKit/issues/comments/99397409","html_url":"https://github.com/SnapKit/SnapKit/issues/90#issuecomment-99397409","issue_url":"https://api.github.com/repos/SnapKit/SnapKit/issues/90","id":99397409,"user":{"login":"robertjpayne","id":214288,"avatar_url":"https://avatars.githubusercontent.com/u/214288?v=3","gravatar_id":"","url":"https://api.github.com/users/robertjpayne","html_url":"https://github.com/robertjpayne","followers_url":"https://api.github.com/users/robertjpayne/followers","following_url":"https://api.github.com/users/robertjpayne/following{/other_user}","gists_url":"https://api.github.com/users/robertjpayne/gists{/gist_id}","starred_url":"https://api.github.com/users/robertjpayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertjpayne/subscriptions","organizations_url":"https://api.github.com/users/robertjpayne/orgs","repos_url":"https://api.github.com/users/robertjpayne/repos","events_url":"https://api.github.com/users/robertjpayne/events{/privacy}","received_events_url":"https://api.github.com/users/robertjpayne/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T09:32:43Z","updated_at":"2015-05-06T09:32:43Z","body":"@slash7 hey it looks like you are probably using an old version of SnapKit as the crash report is referencing `Snap` rather than `SnapKit`.\r\n\r\nRegardless the issue here is that it's not embedded into the binary properly, most likely because CocoaPods has bugged up.\r\n\r\nCan you try:\r\n\r\n1. Updating CocoaPods to the latest version `gem update cocoapods`\r\n2. Ensuring that SnapKit is added via `pod 'SnapKit', '~> 0.11.0'\r\n3. Re-running `pod install`\r\n4. Cleaning your build & Xcode Derrived Data folder\r\n5. Re-building and running"}}