Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS swift package seems to use internal symbols: cblas_sgemm from NEWLAPACK, causing apps that use this to be unable to be published to the App Store #3438

Closed
l3utterfly opened this issue Oct 2, 2023 · 6 comments
Labels

Comments

@l3utterfly
Copy link
Contributor

Building an app that links to the swift package llama.cpp gives an error during the App validation phase when publishing to the app store.

In particular, the error it gives says app references non-public symbol cblas_sgemm$NEWLAPACK$ILP64

@jhen0409
Copy link
Collaborator

jhen0409 commented Oct 2, 2023

It seems like related to #3342. Also, what is your Xcode version?

/cc @jagtesh

@l3utterfly
Copy link
Contributor Author

I'm using the latest version of Xcode 15

@jhen0409
Copy link
Collaborator

jhen0409 commented Oct 5, 2023

@l3utterfly can you check if #3481 is works for you? Thanks!

@l3utterfly
Copy link
Contributor Author

@jhen0409 thanks, this fixes the issue.

Strange though.. because I actually researched this function as well, and I tried updating my xcode settings to target minimum iOS version 16.5, it still gives this error.

@psugihara
Copy link
Contributor

psugihara commented Oct 16, 2023

FWIW I got a rejection on the latest FreeChat TestFlight from this as well. We ship a lipo'd version of the server executable, one compiled on sonoma m1 MacBook and one compiled on my x86 iMac. This is for a macOS app. I'm going to try bumping the deploy target to 13.5 (from 13.3) and will report back. Otherwise I'll try re-compiling with LLAMA_NO_ACCELERATE.

Both builds pass the "Validate App" check in Xcode 🤷

Copy link
Contributor

github-actions bot commented Apr 3, 2024

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as completed Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants