Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes after manual setup for 4.2 support #36

Open
Rahulrvarma22 opened this issue Oct 23, 2018 · 2 comments
Open

App crashes after manual setup for 4.2 support #36

Rahulrvarma22 opened this issue Oct 23, 2018 · 2 comments

Comments

@Rahulrvarma22
Copy link

I had the old version of code using the manual setup and now I have updated it with support 4.2
I have just replaced old code in ExpandingMenuButton.swift and ExpandingMenuItem.swift with the new code.

And the app crashes on line :

self.expandingSoundPath = Bundle(url: Bundle(for: ExpandingMenuButton.classForCoder()).url(forResource: "ExpandingMenu", withExtension: "bundle")!)?.path(forResource: "expanding", ofType: "caf")

Error is >> Fatal error: Unexpectedly found nil while unwrapping an Optional value

@monoqlo Kindly revert soon as I had updated the code to release my app with newer version.

Thank you.

@awaismubeen
Copy link

same issue :(

@awaismubeen
Copy link

self.expandingSoundPath = Bundle.main.url(forResource: "expanding", withExtension: "caf")?.absoluteString

        self.foldSoundPath =   Bundle.main.url(forResource: "fold", withExtension: "caf")?.absoluteString

        self.selectedSoundPath =  Bundle.main.url(forResource: "selected", withExtension: "caf")?.absoluteString

just change these

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants