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

CompileShader crash with XCode7 on iOS 9 #7

Open
wants to merge 1 commit into
base: v2.2
Choose a base branch
from

Conversation

David4D
Copy link

@David4D David4D commented Sep 18, 2015

Workaround for iOS 9.0 and XCode7

Original post : http://forum.cocos2d-objc.org/t/xcode-7-ios9-beta/17346/6
Thanx to Reid

Workaround for iOS 9.0 and XCode7

Original post : http://forum.cocos2d-objc.org/t/xcode-7-ios9-beta/17346/6
Thanx to Rae
@hufkens hufkens mentioned this pull request Sep 22, 2015
@hufkens
Copy link

hufkens commented Sep 22, 2015

Just used you fix.Thanks for this, but it now crashes on iOS7 because you use containsString. I changed it to:

if ([sourceStr rangeOfString:g_extensionStr].location != NSNotFound) {

And then it works on all iOS versions.

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

Successfully merging this pull request may close these issues.

2 participants