ios - Automate copying resources from dependency project -
i have static library
- creates
.a
file - exports public headers
- 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
Post a Comment