ios5 - How to write a Run Script in Xcode -
After the
In my project I have different and iPhone devices for the iPhone simulator, for example in the rest of the kit, For the "libRestKit_simulator.a" simulator and "libRestKit.a" device, My requirement is to write one "run script" simulator in Xcode To include arrangements on the basis of or equipment. Not sure that this is the best solution, but it works for me. Not sure that this is the best solution, but it works for me. If you add a build script below the target dependencies then add it to the following code. This means that you have 2 libraries to use the project library will be installed. A and if you are using the simulator, the script will remove the library and replace it with library_simulator.a. You will need to add a simulator for your construction plan to make sure when it is built while making a build and both libraries will need the same interface. It is not certain how much this is for you Uses, I have just tested this in a nutshell. Hope it helps.
If [["$ {SDKROOT}" = = * simulator *]] then if [[-f "$ {BUILT_PRODUCTS_DIR} /library.a"]] then rm-rf "$ {BUILT_PRODUCTS_DIR} /library.a "fi mv" $ {BUILT_PRODUCTS_DIR} /library_simulator.a "" $ {BUILT_PRODUCTS_DIR} / library.a "
Comments
Post a Comment