dekatotoro / dekatotoro/SlideMenuControllerSwift

Crash at the beginning sometimes

Open
#220 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
3.4k
Forks
742
PR merge metrics
No merged PRs in 30d

Description

Hi, i'm using this framework on my app and was working without problem but with the last Xcode upgrade, SlideMenuControllerSwift makes my app to crash before anything show. I thought I solved it by reinstalling but keeps make my app to crash sometimes. It's awnfull and I don't feel like i'm able to solve it without any help.

This is the error (console log):

```
dyld: Library not loaded: @rpath/SlideMenuControllerSwift.framework/SlideMenuControllerSwift
Referenced from: /Users/informatica/Library/Developer/CoreSimulator/Devices/54140521-7CA1-458D-AC7F-8DD4CD43CBDA/data/Containers/Bundle/Application/B45458DB-EDBE-462D-9A98-A8B5CC457A7F/gowizyu.app/gowizyu
Reason: no suitable image found. Did find:
/Users/informatica/Library/Developer/CoreSimulator/Devices/54140521-7CA1-458D-AC7F-8DD4CD43CBDA/data/Containers/Bundle/Application/B45458DB-EDBE-462D-9A98-A8B5CC457A7F/gowizyu.app/Frameworks/SlideMenuControllerSwift.framework/SlideMenuControllerSwift: required code signature missing for '/Users/informatica/Library/Developer/CoreSimulator/Devices/54140521-7CA1-458D-AC7F-8DD4CD43CBDA/data/Containers/Bundle/Application/B45458DB-EDBE-462D-9A98-A8B5CC457A7F/gowizyu.app/Frameworks/SlideMenuControllerSwift.framework/SlideMenuControllerSwift'

/Users/informatica/Library/Developer/CoreSimulator/Devices/54140521-7CA1-458D-AC7F-8DD4CD43CBDA/data/Containers/Bundle/Application/B45458DB-EDBE-462D-9A98-A8B5CC457A7F/gowizyu.app/Frameworks/SlideMenuControllerSwift.framework/SlideMenuControllerSwift: required code signature missing for '/Users/informatica/Library/Developer/CoreSimulator/Devices/54140521-7CA1-458D-AC7F-8DD4CD43CBDA/data/Containers/Bundle/Application/B45458DB-EDBE-462D-9A98-A8B5CC457A7F/gowizyu.app/Frameworks/SlideMenuControllerSwift.framework/SlideMenuControllerSwift'

/Users/informatica/Library/Developer/CoreSimulator/Devices/54140521-7CA1-458D-AC7F-8DD4CD43CBDA/data/Containers/Bundle/Application/B45458DB-EDBE-462D-9A98-A8B5CC457A7F/gowizyu.app/Frameworks/SlideMenuControllerSwift.framework/SlideMenuControllerSwift: required code signature missing for '/Users/informatica/Library/Developer/CoreSimulator/Devices/54140521-7CA1-458D-AC7F-8DD4CD43CBDA/data/Containers/Bundle/Application/B45458DB-EDBE-462D-9A98-A8B5CC457A7F/gowizyu.app/Frameworks/SlideMenuControllerSwift.framework/SlideMenuControllerSwift'

(lldb)

```

This is the pod:

```
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, "10.0"

use_frameworks!

target 'gowizyu' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!

# Pods for gowizyu
pod 'SwiftValidator', :git => 'https://github.com/jpotts18/SwiftValidator.git', :branch => 'swift3-dave'
pod 'SlideMenuControllerSwift'
pod 'KRProgressHUD', '~> 1.6'
pod 'Alamofire', '~> 4.0'
pod 'SwiftyJSON'
pod 'Google/CloudMessaging'
end

```

And this is where it crash ( Thread 1: EXC_BREAKPOINT (code=EXC_1386_BPT, subcode=0x0) ):

```
dyld_sim`dyld_fatal_error:
0x10d9fb000 <+0>: int3
-> 0x10d9fb001 <+1>: nop

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the launch failure with the provided Podfile in Xcode after the reported upgrade, then read the dyld console output about the missing code signature for SlideMenuControllerSwift.framework. Inspect the framework's build, embedding, and signing configuration. Done means the app launches reliably without the reported EXC_BREAKPOINT or code-signature error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.