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

xcode7.2 iOS 9 crash #656

Closed
wangwayhome opened this issue Jan 7, 2016 · 10 comments
Closed

xcode7.2 iOS 9 crash #656

wangwayhome opened this issue Jan 7, 2016 · 10 comments

Comments

@wangwayhome
Copy link

dyld: Library not loaded: @rpath/Charts.framework/Charts
Referenced from: /var/mobile/Containers/Bundle/Application/36EF30E4-B321-4D9B-94AA-F5AC8F4CCB95/iOSChartsDemo.app/iOSChartsDemo
Reason: no suitable image found. Did find:
/private/var/mobile/Containers/Bundle/Application/36EF30E4-B321-4D9B-94AA-F5AC8F4CCB95/iOSChartsDemo.app/Frameworks/Charts.framework/Charts: mmap() errno=1 validating first page of '/private/var/mobile/Containers/Bundle/Application/36EF30E4-B321-4D9B-94AA-F5AC8F4CCB95/iOSChartsDemo.app/Frameworks/Charts.framework/Charts'
image

@wangwayhome
Copy link
Author

image

@wangwayhome
Copy link
Author

what can i do

@wangwayhome
Copy link
Author

Simulator no problem,but iPhone is crash

@liuxuan30
Copy link
Member

Please first try search the key word Reason: no suitable image found or others in issues, some may help. To me, seems your certs problem. Is this release build? in-house distribution or app store distribution?

@wangwayhome
Copy link
Author

@liuxuan30 this is a debug run,certs is no problem。
image

@liuxuan30
Copy link
Member

if debugging it on real device is broken, it's definitely your certs or project setting problem. You have to google or ask on SO, or provide more info then we can help. I can run ChartsDemo on iPhone device without changing anything

key log:
Reason: no suitable image found. Did find:
/private/var/mobile/Containers/Bundle/Application/36EF30E4-B321-4D9B-94AA-F5AC8F4CCB95/iOSChartsDemo.app/Frameworks/Charts.framework/Charts: mmap() errno=1

@wangwayhome
Copy link
Author

Just now,I tried in Xcode 7.1 and Mac os 10.10 and iOS8 is no problem。。。。but in Xcode 7.2 and Mac OS10.11.2 and iOS9.2 is crash。。。OMG~

@wangwayhome
Copy link
Author

I seem to find a reason,
I create a new blank project in swift ,iPhone crash~
but create a new blank project in objective c ,is OK~

@wangwayhome
Copy link
Author

@liuxuan30 i resolve; is certs problem。i create a new cert and .mobileprovision, there are no more issues.

@wangwayhome
Copy link
Author

closed ~ thanks!

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