Overwrite previous resouces while installing #13

Open
sgadhvi opened this Issue Nov 23, 2011 · 2 comments

Comments

Projects
None yet
3 participants

sgadhvi commented Nov 23, 2011

If I install same application second time with additional resources in it then the new resources are merged in the resulting app file.
I dont want to merge but overwrite the resources.

Is there any arguments that I can specify in setSimulatedApplicationLaunchArgs or other methods , which would allow me to do so?
Or is there any provision in "iPhoneSimulatorRemoteClient" framework?
Thanks in advance.

alloy commented Nov 23, 2011

I’ve seen similar issues when running from Xcode.app, are you seeing the same issue when running your app from Xcode.app? If so, I doubt there’s much we can do about it, besides rm -rf the application directory from ~/Library/Application Support/iPhone Simulator/x.x/Applications/YourApp.

sgadhvi commented Nov 24, 2011

Thanks alloy, for prompt reply.
Today I wrote a shell script to find my resource folder in ~/Library/.../Applications/MyApp/resource . and remove it with custom argument to give develper directory and sdk version.
But if framework had already a method than it would be a big relief from such patches.

@shazron shazron added this to the ios-sim 4.2.0 milestone May 15, 2015

@shazron shazron modified the milestones: 5.0.3, 5.1.0 Oct 12, 2015

@shazron shazron modified the milestones: 5.2.0, 5.3.0 Jun 10, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment