lukedg97 opened a new issue, #45642: URL: https://github.com/apache/arrow/issues/45642
### Describe the bug, including details regarding any error messages, version, and platform. When submitting our app containing pyarrow to the app store we get the following rejection: > Your app uses or references the following non-public or deprecated APIs: > Contents/Resources/app_packages/pyarrow/libarrow.1900.dylib > > Symbols: > • _CCCryptorGCMFinalize > • _CCCryptorGCMAddAAD > • _CCCryptorGCMSetIV > > The use of non-public or deprecated APIs is not permitted on the App Store, as they can lead to a poor user experience should these APIs change and are otherwise not supported on Apple platforms. For some further context we are embedding python into a swift app via PythonKit. We are using arrow Flight as part of the app. Our app is about the enter alpha and we are trying to pass beta app review for external TestFlight distribution. I found an issue in another project that seems similar: https://github.com/awslabs/aws-crt-swift/issues/206 ### Workaround? We are attempting to build a version without these symbols, following the instructions on this page: https://arrow.apache.org/docs/developers/python.html#building-on-linux-and-macos However, we are not sure if we are setting the correct build flags or if we are setting the build flags correctly. ``` venv_name="pyarrow-dev" if [ ! -d "$venv_name" ]; then echo "Creating virtual environment: $venv_name" python3.13 -m venv "$venv_name" else echo "Virtual environment '$venv_name' already exists." fi source "$venv_name/bin/activate" python3.13 -m pip install -r arrow/python/requirements-build.txt pushd arrow/python git clean -Xfd . popd rm -rf dist mkdir dist export ARROW_HOME=$(pwd)/dist export LD_LIBRARY_PATH=$(pwd)/dist/lib:$LD_LIBRARY_PATH export CMAKE_PREFIX_PATH=$ARROW_HOME:$CMAKE_PREFIX_PATH export ARROW_FLIGHT=ON export ARROW_PARQUET=ON export PARQUET_REQUIRE_ENCRYPTION=OFF export ARROW_BUILD_TYPE=release cmake -S arrow/cpp -B arrow/cpp/build \ -DCMAKE_INSTALL_PREFIX=$ARROW_HOME \ --preset ninja-release-python cmake --build arrow/cpp/build --target install pushd arrow/python export PYARROW_PARALLEL=4 python3.13 setup.py build_ext --build-type=$ARROW_BUILD_TYPE \ --bundle-arrow-cpp bdist_wheel popd ``` ### Component(s) Python -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org