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

Crash on jailbroken device loading image from nib #12

Closed
androidcn opened this issue Sep 5, 2016 · 10 comments
Closed

Crash on jailbroken device loading image from nib #12

androidcn opened this issue Sep 5, 2016 · 10 comments

Comments

@androidcn
Copy link

Could not load the "errorIcon" image referenced from a nib in the bundle with identifier "org.cocoapods.SwiftMessages"
fatal error: unexpectedly found nil while unwrapping an Optional value

also clean build .... not work

@androidcn
Copy link
Author

iOS 9.3.3
also i run demo Project on my device.

same problem

CoreFoundation = 1290.110000
Could not match CoreFoundation = 1290.110000
2016-09-05 22:19:43.300 Demo[49264:2901168] Could not load the "errorIcon" image referenced from a nib in the bundle with identifier "org.cocoapods.SwiftMessages"
fatal error: unexpectedly found nil while unwrapping an Optional value

@wtmoose
Copy link
Member

wtmoose commented Sep 6, 2016

Could you answer a few questions:

  1. What device?
  2. Is the device jailbroken?
  3. Have you tried a different device type and/or iOS version?

@androidcn
Copy link
Author

9.3.3�
6s Plus
jailbroken

simulator is normal

i will try iPhone 5s later

@wtmoose
Copy link
Member

wtmoose commented Sep 6, 2016

See #9. App in store only crashing on a single device. Waiting to find out if the device is jailbroken.

@wtmoose
Copy link
Member

wtmoose commented Sep 6, 2016

Also, could you try ErrorView, TabView and CardView nibs and let me know if they all crash?

@androidcn
Copy link
Author

androidcn commented Sep 6, 2016

@wtmoose
Copy link
Member

wtmoose commented Sep 6, 2016

The links you posted don't seem relevant.

As noted in #9, this appears to be an issue with jailbroken devices running iOS 9.3.3. I don't have a jailbroken device or iOS 9.3.3, so there isn't much I can do at the moment.

It would be very helpful if you could look for a workaround on your end. I created a branch called jailbreak1 with a possible workaround: replace errorIcon.pdf with errorIcon*.png. Could you take a look? Anything else you'd like to try is appreciated.

@androidcn
Copy link
Author

jailbreak 1 or 2?

@wtmoose
Copy link
Member

wtmoose commented Sep 7, 2016

Jailbreak1

@wtmoose wtmoose changed the title can not run on Devices Crash on jailbroken device loading image from nib Sep 7, 2016
@wtmoose
Copy link
Member

wtmoose commented Sep 14, 2016

Closing as duplicate of #9.

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