Building TF Lite C++ static library for iOS
Currently we only support building the .dylib for iOS, as such I'll consider this as a feature request.

Hi @terryheo, can you please take a look? Thanks.
Please go to Stack Overflow for help and support:

https://stackoverflow.com/questions/tagged/tensorflow

If you open a GitHub issue, here is our policy:

1.  It must be a bug, a feature request, or a significant problem with the
    documentation (for small docs fixes please send a PR instead).
2.  The form below must be filled out.
3.  It shouldn't be a TensorBoard issue. Those go
    [here](https://github.com/tensorflow/tensorboard/issues).

**Here's why we have that policy**: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

------------------------

### System information

-   **Have I written custom code (as opposed to using a stock example script
    provided in TensorFlow)**:
-   **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**: MacOS M1 Version 13.2.1
-   **Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue
    happens on a mobile device**:
-   **TensorFlow installed from (source or binary)**: master branch of https://github.com/tensorflow/tensorflow/tree/master Sept 7, 2023
-   **TensorFlow version (use command below)**: TensorFlow 2.14.0
-   **Python version**: Python 3.9.6
-   **Bazel version (if compiling from source)**: bazel 6.1.0
-   **GCC/Compiler version (if compiling from source)**:
-   **CUDA/cuDNN version**: 
-   **GPU model and memory**: 8GB
-   **Exact command to reproduce**: bazel build --config=ios_fat -c opt --cxxopt=--std=c++17 \
  //tensorflow/lite:libtensorflowlite.so


You can collect some of this information using our environment capture script:

https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh

You can obtain the TensorFlow version with:

```bash
python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
```

### Describe the problem
Currect tensorflow only generates dynamic or static framework and does not static library for iOS.  I need to integrate tensorflow with c++ code in WebAssembly without framework so that I could have same source code for Android and iOS build.  

### Source code / logs
bazel build --config=ios_fat -c opt --cxxopt=--std=c++17 \
  //tensorflow/lite:libtensorflowlite.a

AND

bazel build --config=ios_fat -c opt --cxxopt=--std=c++17
//tensorflow/lite/c:libtensorflowlite.a

Similar issue to https://github.com/tensorflow/tensorflow/issues/40438 but this source are outdated and does not apply to current master source.

