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

编译好一个ollvm之后,在xcode下,无法正常编译ipa #49

Open
sevenblack3166 opened this issue Jul 16, 2024 · 0 comments
Open

Comments

@sevenblack3166
Copy link

sevenblack3166 commented Jul 16, 2024

Describe the bug
编译好一个xcode工具链后,放到/Library/Developer/目录下,xcode中选择对应的工具链,然后执行打包,会报错Could not build module 'Foundation',已经设置index-store-path 为no了;

To Reproduce
Steps to reproduce the behavior.
git clone -b llvm-13.x https://github.com/heroims/obfuscator.git
cd obfuscator
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_CREATE_XCODE_TOOLCHAIN=ON -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi" -DLLVM_ENABLE_NEW_PASS_MANAGER=OFF ../llvm
make -j8
sudo make install-xcode-toolchain
mv /usr/local/Toolchains /Library/Developer/

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: macOS
  • Version: 14.4
  • cflag: -mllvm -fla -mllvm -bcf

Souce Code (please complete the following information):

  • git link: [e.g. https://github.com/apple/llvm-project, https://android.googlesource.com/toolchain/llvm-project]
  • branch [e.g. llvm.org/release/14.x, ndk-r24-release]
  • commit hash: [e.g. c62053979489ccb002efe411c3af059addcb5d7d, 74a38736c7799c63edca568455768f37ddb1b782]

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant