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

how to compile for iOS #510

Open
allanGoldZhiKang opened this issue Aug 28, 2019 · 3 comments
Open

how to compile for iOS #510

allanGoldZhiKang opened this issue Aug 28, 2019 · 3 comments
Labels

Comments

@allanGoldZhiKang
Copy link

how to compile for iOS

@atgreen atgreen added the iOS label Dec 5, 2019
@GhostClock
Copy link

I compile success for iOS。

  1. clone source code
  2. cd to code file
  3. run ./autogen.sh
  4. open libffi.xcodeproj for Xcode
  5. delete x86_64 Valid Architectures

@cooperkuo
Copy link

cooperkuo commented Jul 7, 2020

For me, I built the lib successfully by following steps:

  1. python generate-darwin-source-and-headers.py --only-ios
  2. open libffi.xcodeproj
  3. select scheme libffi-iOS and device Generic iOS Device
  4. click "Product - Build"

If success, you would see a "Product/libffi.a" in the side bar, you can right click it to get the lib in the finder.
Hope this helps.

@MrXuxxx
Copy link

MrXuxxx commented Dec 17, 2021

i have built success,but no product.

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

5 participants