I’m quite new to unit testing and I was wondering whether resources specific to the unit test add the the overall size of the app once it is built for the app store?
For example, I’m using set images for testing image manipulation. Will these add to the size of the built app?
They will not if you do not add them to the to the applications main target but the test target.
I assume you are using two targets.
Explanation:
When an application is build, all sources are compiled to objects and linked to each other to form an executable. Parameters are passed to make the application work on the correct platform.
Resources are not part of that. They are added to a folder in the application.
(A .app file is actually a directory, you can see this by right clicking it and select ‘Show Package Content’)
Files which are not added to your applications target will not be placed in this folder.
So your safe.
Hope this helps you.