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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:27:01+00:00 2026-05-24T11:27:01+00:00

we are making an Application for OS X, however, when the .app is copied

  • 0

we are making an Application for OS X, however, when the .app is copied on another MAC, we have problems with reading and writing files

on one MAC, everything works great from the start…
the other one will not write certain files and another 2mac will not write certain different files

if i go to show application contents and wants to edit the file by myself, i get a writing permission denied

how to distribute an MAC application so there are no such issues? so all files can be read and write by the current user

does there have to be some authorization or code sign, or smth. different in this form, in addition to normal code?

thank you

  • 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-24T11:27:02+00:00Added an answer on May 24, 2026 at 11:27 am

    It sounds like your application tries to write files within its own application bundle. The correct solution here is: DON’T DO THAT! The only time your application bundle should be written to is when it’s installed or updated.

    Files that the application needs to write to should be stored in the user’s home folder, generally under ~/Library. See this note in Apple’s dev docs.

    • Preference and settings files in ~/Library/Preferences/<appbundleid>.plist; use NSUserDefaults.
    • Data the app manages for the user in ~/Library/Application Support/<appname> (the docs say to use the bundleid, but everyone — Apple included — uses the app name instead).
    • Cache files in ~/Library/Caches/<appbundleid>.
    • Temp files, use NSTemporaryDirectory
    • If you need to share settings & files between users, that should generally go in /Library/Application Support/<appname>, except that you really shouldn’t be doing that at all.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am making one application where i am reading mails from Lotus Notes. I
I am making a test fullscreen application using this guide . However, I am
I am making an application with Java Swing and i have a problem. I
I am making an application (iPhone app) which gets information (jokes) from an RSS
I have a rails app with a mobile view using jqtouch. If the application
I am making an app using a utility application template. I am trying to
I learnt about prepared statements when making a JDBC-enabled Java application, and my app
I'm writing an app for WM that handles incoming SMS events. I tried making
I am making one application in which the location needs to be updated after
I am making a game with in-app purchasing for extra levels. I have implemented

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.