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 250583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:31:24+00:00 2026-05-11T21:31:24+00:00

The problem is that my app saves hundreds of megabytes into the users document

  • 0

The problem is that my app saves hundreds of megabytes into the users document directory on their iPhone. During testing, the iPhone simulator takes a long time to launch the app on each build as it is copying all of this data to a new documents directory each time I rebuild. Is there any solution to this that will just leave the directory in the same place each time or speed up launch in some way? For example, the director with HEX values change each rebuild/relaunch on the iPhone Simulator and it can be quite time consuming:

./Library/Application Support/iPhone Simulator/User/Applications/B32A0BA1-5843-4FDE-B5FB-4E40460BD8CC/Documents/

Thanks,

Matt

  • 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-11T21:31:24+00:00Added an answer on May 11, 2026 at 9:31 pm

    The simulator (unlike the device itself) doesn’t have to keep to the sandboxed locations.

    So when saving files from the simulator, you could try:

    #if TARGET_IPHONE_SIMULATOR
    
    // save your files to a fixed location on your hard-disk
    // (like /Users/yourusername/MyIPhoneAppDebugStorage)
    
    #else
    
    // Save files normally
    // (to [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,
    //     NSUserDomainMask, YES) objectAtIndex:0])
    
    #endif
    

    That way, your large files are always at a fixed place on your harddisk when running from the simulator.

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

Sidebar

Related Questions

I have an app that currently shows a message box when the users saves
What approach can I take to solve my problem such that my Android app
Problem: I am trying to write an app that executes some code when the
Im having a problem with my app that causes it to crash when no
I have a little Problem with the app that I'm developing. In the App
I'm having a problem at work in that our app which uses WCF for
I've got an app that's in invite-only beta right now. Problem is, I can't
I'm currently writing a Java app that interfaces with a MySQL database. My problem
I just started with facebook app development. Problem is that require statement is not
We link our app with numerous different static libs, the problem is that one

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.