Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7702647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:16:28+00:00 2026-05-31T23:16:28+00:00

I’m developing a game using cocos2d v2.0 beta2. Since i worked with iOS5.0 all

  • 0

I’m developing a game using cocos2d v2.0 beta2. Since i worked with iOS5.0 all was fine. Esterday I updated my macOS to last version, xCode from 4.2 to 4.3.1 and iPad’s OS from 5.0 to 5.1. Now I’m building my project, installing it to device (here I can see a splash screen), but then, I got this:

2012-03-12 10:26:32.495 squirrels[330:707] cocos2d: OS version: 5.1 (0x05010000)
2012-03-12 10:26:32.498 squirrels[330:707] cocos2d: GL_VENDOR:   Imagination Technologies
2012-03-12 10:26:32.501 squirrels[330:707] cocos2d: GL_RENDERER: PowerVR SGX 543
2012-03-12 10:26:32.503 squirrels[330:707] cocos2d: GL_VERSION:  OpenGL ES 2.0 IMGSGX543-63.24
2012-03-12 10:26:32.505 squirrels[330:707] cocos2d: GL_MAX_TEXTURE_SIZE: 4096
2012-03-12 10:26:32.507 squirrels[330:707] cocos2d: GL_MAX_TEXTURE_UNITS: 8
2012-03-12 10:26:32.508 squirrels[330:707] cocos2d: GL_MAX_SAMPLES: 4
2012-03-12 10:26:32.510 squirrels[330:707] cocos2d: GL supports PVRTC: YES
2012-03-12 10:26:32.511 squirrels[330:707] cocos2d: GL supports BGRA8888 textures: YES
2012-03-12 10:26:32.513 squirrels[330:707] cocos2d: GL supports NPOT textures: YES
2012-03-12 10:26:32.515 squirrels[330:707] cocos2d: GL supports discard_framebuffer: YES
2012-03-12 10:26:32.516 squirrels[330:707] cocos2d: compiled with Profiling Support: NO
2012-03-12 10:26:32.519 squirrels[330:707] cocos2d: cocos2d v2.0.0-beta2
2012-03-12 10:26:32.522 squirrels[330:707] cocos2d: Using Director Type:CCDirectorDisplayLink
2012-03-12 10:26:32.547 squirrels[330:707] cocos2d: CCFileUtils: Warning file not found: fps_images-ipad.png
2012-03-12 10:26:32.666 squirrels[330:707] cocos2d: CCFileUtils: Warning file not found: PositionTextureColor-ipad.vsh
2012-03-12 10:26:32.669 squirrels[330:707] cocos2d: ERROR: Failed to compile vertex shader: PositionTextureColor.vsh
2012-03-12 10:26:32.673 squirrels[330:707] cocos2d: CCFileUtils: Warning file not found: PositionTextureColor-ipad.fsh
2012-03-12 10:26:32.674 squirrels[330:707] cocos2d: ERROR: Failed to compile fragment shader: PositionTextureColor.fsh
2012-03-12 10:26:32.676 squirrels[330:707] cocos2d: ERROR: Failed to link program: 1
2012-03-12 10:26:32.678 squirrels[330:707] cocos2d: CCFileUtils: Warning file not found: PositionTextureColor-ipad.vsh
2012-03-12 10:26:32.680 squirrels[330:707] cocos2d: ERROR: Failed to compile vertex shader: PositionTextureColor.vsh
2012-03-12 10:26:32.682 squirrels[330:707] cocos2d: CCFileUtils: Warning file not found: PositionTextureColorAlphaTest-ipad.fsh
2012-03-12 10:26:32.684 squirrels[330:707] cocos2d: ERROR: Failed to compile fragment shader: PositionTextureColorAlphaTest.fsh
2012-03-12 10:26:32.686 squirrels[330:707] cocos2d: ERROR: Failed to link program: 1
2012-03-12 10:26:32.688 squirrels[330:707] cocos2d: CCFileUtils: Warning file not found: PositionColor-ipad.vsh
2012-03-12 10:26:32.690 squirrels[330:707] cocos2d: ERROR: Failed to compile vertex shader: PositionColor.vsh
2012-03-12 10:26:32.692 squirrels[330:707] cocos2d: CCFileUtils: Warning file not found: PositionColor-ipad.fsh
2012-03-12 10:26:32.693 squirrels[330:707] cocos2d: ERROR: Failed to compile fragment shader: PositionColor.fsh
2012-03-12 10:26:32.695 squirrels[330:707] cocos2d: ERROR: Failed to link program: 1
2012-03-12 10:26:32.698 squirrels[330:707] cocos2d: CCFileUtils: Warning file not found: PositionTexture-ipad.vsh
2012-03-12 10:26:32.699 squirrels[330:707] cocos2d: ERROR: Failed to compile vertex shader: PositionTexture.vsh
2012-03-12 10:26:32.701 squirrels[330:707] cocos2d: CCFileUtils: Warning file not found: PositionTexture-ipad.fsh
2012-03-12 10:26:32.703 squirrels[330:707] cocos2d: ERROR: Failed to compile fragment shader: PositionTexture.fsh
2012-03-12 10:26:32.704 squirrels[330:707] cocos2d: ERROR: Failed to link program: 1
2012-03-12 10:26:32.707 squirrels[330:707] cocos2d: CCFileUtils: Warning file not found: PositionTexture_uColor-ipad.vsh
2012-03-12 10:26:32.708 squirrels[330:707] cocos2d: ERROR: Failed to compile vertex shader: PositionTexture_uColor.vsh
2012-03-12 10:26:32.710 squirrels[330:707] cocos2d: CCFileUtils: Warning file not found: PositionTexture_uColor-ipad.fsh
2012-03-12 10:26:32.712 squirrels[330:707] cocos2d: ERROR: Failed to compile fragment shader: PositionTexture_uColor.fsh
2012-03-12 10:26:32.714 squirrels[330:707] cocos2d: ERROR: Failed to link program: 1
2012-03-12 10:26:32.716 squirrels[330:707] cocos2d: CCFileUtils: Warning file not found: PositionTextureA8Color-ipad.vsh
2012-03-12 10:26:32.718 squirrels[330:707] cocos2d: ERROR: Failed to compile vertex shader: PositionTextureA8Color.vsh
2012-03-12 10:26:32.721 squirrels[330:707] cocos2d: CCFileUtils: Warning file not found: PositionTextureA8Color-ipad.fsh
2012-03-12 10:26:32.722 squirrels[330:707] cocos2d: ERROR: Failed to compile fragment shader: PositionTextureA8Color.fsh
2012-03-12 10:26:32.724 squirrels[330:707] cocos2d: ERROR: Failed to link program: 1
OpenGL error 0x0501 in -[CCShaderCache loadDefaultShaders] 174
OpenGL error 0x0501 in -[CCTextureAtlas initVAO] 167
OpenGL error 0x0501 in -[CCTextureAtlas initVAO] 167
OpenGL error 0x0501 in -[CCDirector setView:] 308
2012-03-12 10:26:32:729 squirrels[330:707] Retina Display Not supported
2012-03-12 10:26:32.740 squirrels[330:707] cocos2d: animation started with frame interval: 60.00
2012-03-12 10:26:32.754 squirrels[330:707] cocos2d: surface size: 1024x768
OpenGL error 0x0502 in -[CCTextureAtlas drawNumberOfQuads:fromIndex:] 472
OpenGL error 0x0502 in -[CCTextureAtlas drawNumberOfQuads:fromIndex:] 472
2012-03-12 10:26:32.777 squirrels[330:707] cocos2d: CCFileUtils: Warning file not found: Position_uColor-ipad.vsh
2012-03-12 10:26:32.780 squirrels[330:707] cocos2d: ERROR: Failed to compile vertex shader: Position_uColor.vsh
2012-03-12 10:26:32.786 squirrels[330:707] cocos2d: CCFileUtils: Warning file not found: Position_uColor-ipad.fsh
2012-03-12 10:26:32.788 squirrels[330:707] cocos2d: ERROR: Failed to compile fragment shader: Position_uColor.fsh
2012-03-12 10:26:32.790 squirrels[330:707] cocos2d: ERROR: Failed to link program: 1

I can see a black screen (nothing was draw), and following errors block repeats multiple times in a second:

OpenGL error 0x0501 in DrawSolidPolygon 96
OpenGL error 0x0502 in DrawSolidPolygon 96
OpenGL error 0x0502 in DrawSegment 172
OpenGL error 0x0502 in DrawSegment 172
OpenGL error 0x0502 in -[CCSprite draw] 550
OpenGL error 0x0502 in -[CCSprite draw] 550
OpenGL error 0x0502 in -[CCSprite draw] 550
OpenGL error 0x0502 in -[CCSprite draw] 550
OpenGL error 0x0502 in -[CCTextureAtlas drawNumberOfQuads:fromIndex:] 472
OpenGL error 0x0502 in -[CCTextureAtlas drawNumberOfQuads:fromIndex:] 472

I’ts all thr same on the device, and simulator 5.1. But is i’ll build this code from my old xCode 4.2, and 5.0 simulator, it rust fine. where is my problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T23:16:30+00:00Added an answer on May 31, 2026 at 11:16 pm

    Problem was is shader files. In some reason, xCode lost them. I deleted and added them againe to “copy bundle resources”, deleted my application from iPad, deleted all drivedData, clean and builed project, and it worked.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am reading a book about Javascript and jQuery and using one of the
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
I have a text area in my form which accepts all possible characters from
I have thousands of HTML files to process using Groovy/Java and I need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.