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

使用xcodebuild 命令行指定工具链进行ollvm混淆编译不会生效 #33

Open
amlloc opened this issue Oct 20, 2022 · 2 comments

Comments

@amlloc
Copy link

amlloc commented Oct 20, 2022

请教下大佬,这个问题该如何解决:

不使用xcode界面进行编译,而是仅仅用xcodebuild命令行进行编译;
已通过xcode界面的build setting加入了fla等cflag
期望编译出被ollvm混淆过后的静态链接库
参考命令如下
xcodebuild -scheme myproject -sdk iphoneos -project myproject .xcodeproj -configuration Release DSTROOT=/Users/amlloc/Project/myproject /build_ios/objects SYMROOT=/Users/amlloc/Project/myproject /build_ios/build -toolchain ollvm
但是目前现状是:

通过xcode界面编译出来的静态链接库是被混淆的
通过上述命令编译出来的静态链接库未被混淆

@mingledev
Copy link

请教一下,使用ollvm编译你有遇到过这个问题吗
Undefined symbols for architecture arm64:
"___isPlatformVersionAtLeast", referenced from:

@amlloc
Copy link
Author

amlloc commented Nov 8, 2022

请教一下,使用ollvm编译你有遇到过这个问题吗 Undefined symbols for architecture arm64: "___isPlatformVersionAtLeast", referenced from:

没有遇到呀,是不是版本对不上呢?我是自己根据git提交自己patch llvm

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

2 participants