ios - Automate copying resources from dependency project -


i have static library

  1. creates .a file
  2. exports public headers
  3. creates .bundle containing resources

i have workspace containing project depends on lib. library part of workspace. able work out build dependencies on .a file , public headers. bundle, have manually add/update bundle applications copy bundle resources build phase.

i want automate such bundle created in $(built_products_dir) gets copied in application bundle.

is there way this, may run script?

appreciate help.

figured out.

i added run script phase application. script copy generated bundle application,

cp -r ${built_products_dir}/mybundle.bundle ${built_products_dir}/${product_name}.app/mybundle.bundle 

hope helps!


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -