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

  • SEARCH
  • Home
  • 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 8373193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:37:05+00:00 2026-06-09T14:37:05+00:00

My cocos2d-iphone project has tiled maps (.tmx files along with .png textures). Recently, I

  • 0

My cocos2d-iphone project has tiled maps (.tmx files along with .png textures).

Recently, I deleted all the .png textures in my project (in Xcode, you hit the delete key and then choose to send to trash).

Then, I ran the project, and it tried to load up the CCTMXTiledMap. I was expected it to crash (there shouldn’t be any textures in the project, anyway), but it didn’t. In fact, it ran just fine, and the maps did load. No idea why – is Xcode keeping some kind of reference to such files somehow?

I checked the .tmx file, and this is the line that defines the source image:

<image source="myMap-hd.png" width="973" height="1024"/>

There definitely is no myMap-hd.png nor myMap.png file in my project folder. Not even Xcode’s search toolbar shows it!

Oh, and I also cleaned the project.

  • 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-06-09T14:37:06+00:00Added an answer on June 9, 2026 at 2:37 pm

    As I wrote in question’s comment. Problem was not in your Xcode project. Deleted resource files will most likely be still available on device/simulator if you had run application with these resources previously. The reason is that Xcode doesn’t track files that are in application bundle, they’re just simply copied. That’s why they land in Copy Bundle Resources build phase.

    You should delete application from device/simulator and run it again. Or if you have precious data already in application, you could navigate to application bundle and delete file manually. Files won’t appear again.

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

Sidebar

Related Questions

My cocos2d-iphone game has tiled maps. The tilesets textures are rather big. I got
I have an Xcode project (for an iPhone application) that uses cocos2d. I have
I am using cocos2d to build an iPhone game. It's mostly done, but along
I tried to build my (cocos2d 0.99.0-based) project with iPhone SDK 4 GM which
To cut a long story short, my project (an iPhone app) was all working
I am building a game using cocos2d-iphone 0.99.4 and Xcode 3.2.4. When I try
I've been developing a cocos2d-iphone 1.0.1 game project and have been testing it on
I downloaded Cocos2d-iphone 0.99.5 and installed it using ./install-script I then opened xcode and
i want to add Box2D into my cocos2d 0.99.5 iphone/ipad project. I don't want
when i create a cocos2d projecyt, XCode menu item Project\Upgrade Current Target for iPad

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.