Use `BUILT_PRODUCTS_DIR` instead of `TARGET_BUILD_DIR` so that Copy Resources script succeeds during Archive builds