Sharing a project, but not code, using the tester

Please forgive me if I am asking a dumb question, I am pretty new to ios and cocos2d programming. I have developed an application that is almost complete. I have an architecture where the options are in a plist file.

I want to share the app with a colleague of mine who has agreed to check and modify the plist if needed so that he can see which settings are the best.

What I want to know:

Is there a way to share my app with him (he has mac and ipad) so that he has access to the plist file, but can't access the rest of the code? Thanks in advance.

One idea: put my plist on a server and call to download the plist file when the game starts, so he can just change that. Is there a better way?

+3


source to share


3 answers


Yes, ask the app to download the plist so that it can edit it on the server. When you save the .plist, save it in your documents folder (outside the package). The package is read-only, and changing it will destroy the signature, so it cannot install it unless the device has been jailbroken.

Alternatively, copy the file from the package to your documents folder on first launch and enable file sharing for the application. Then he can edit the .plist file and update it through iTunes.



The package contains only compiled object code, so it will not have access to the source code.

You can use testflight or email it .ipa and it can install via iTunes or if you have a developer account you can set it up as a tester via iTunesConnect after downloading your app.

+2


source


find iExplorer which should allow you to upload and download resources to / from your iDevice.



+1


source


You can also create a "debug mode" (for example, accessed by flipping the phone upside down or whatever you like). This debug mode can contain controls to control the settings read from the plist and restart the game. There is no server involved, just client side manipulation, so you can just pass the binary to it.

+1


source







All Articles