-2

I am able to see the source code from my .app file that is i am able access image files. How can i restrict that? I dont want my user to access the files from app. Please help me in resolving this issue.

Update: Sorry i was supposed to write .h/.m files are not accessed but image files can.. There is a mismatch in type , i didn't observe

Satish
  • 1
  • 3
  • 1
    How can u do that ? when u build the target it .ipa file that matters.. How you are actually able to see .h/.m files ? – Chamira Fernando Nov 08 '13 at 13:18
  • this should not happen. did you accidentally add your source code file to Targets=>Build Phases as "Copy Bundle Resources" or "Copy File"? – JeanLuc Nov 08 '13 at 13:25
  • You can open .ipa file using zip utilities but can't see any code but yes you can see images, audio files, video files, certificates etc. but can't access code of that .ipa – Anand Suthar Nov 08 '13 at 13:28
  • Sorry i was supposed to write .h/.m files are not accessed but image files can. – Satish Nov 08 '13 at 13:35

1 Answers1

2

You cannot see code from the IPA you upload to the store. No one can see your code. Someone could, however, see you image files, audio files, sqlite files, plist files, etc.

Per your update:

You cannot prevent the files from being accessed. It's like the web: if you can see it, you can steal it.

woz
  • 10,888
  • 3
  • 34
  • 64