HikariObfuscator/Hikari

Hello,Naville and XiaoshengVK! Please help me to solve the problem "-index-store-path"

yeZLTaeyeon opened this issue · 11 comments

创建一个Issue

请按照如下模版尽可能详细的填写资料。不按照规则提供我解决您的问题所需的信息将很有可能导致您的帐号被我的私人账号和Hikari组织永久黑名单

  • #f03c15必须
    Use Xcode 10.1-Toolchains-Hikari:
    image
    Build a new Xcode Project,build error:
    image
  • #f03c15必须
    -mllvm -enable-cffobf
    -mllvm -enable-bcfobf
  • #f03c15强烈建议提供
    CompileC /Users/yz/Library/Developer/Xcode/DerivedData/test-Hikari-egtrfrpsnpwndodtrhvfbyrclhnn/Build/Intermediates.noindex/test-Hikari.build/Debug-iphonesimulator/test-Hikari.build/Objects-normal/x86_64/ViewController.o /Users/yz/Desktop/test-Hikari/test-Hikari/ViewController.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target: test-Hikari)
    cd /Users/yz/Desktop/test-Hikari
    export LANG=en_US.US-ASCII
    /Users/yz/Library/Developer/Toolchains/Hikari.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu11 -fobjc-arc -fobjc-......
    clang-7: error: unknown argument: '-index-store-path'
    clang-7: error: cannot specify -o when generating multiple output files
  • #f03c15强烈建议提供
    Use Xcode 10.1-Toolchains-Xcode 10.1,the new project build succeeded!
    image
  • #f03c15强烈建议提供
    I use macOS High Sierra 10.13.6

and I see @XiaoshengVK seems to solve this problem, I want to know how to solve the problem specifically, please help me !

I'm almost 100% sure you didn't, but just to be clear, did you turn off Enable Index While Building for all the targets? Did you clean build cache?

I saw an article about XiaoshengVK‘s communication with you.I am sure that there are more than Target and Project. I have set their Enable Index-While-Building Functionality to NO:
image
I set this up:
image
Then I uninstalled Xcode 10.1 with CleanMyMac3 and reinstalled Xcode 10.1.
SWIG, Python, CMake, GCC, zlib, ninja that need to be installed before installing Hikari
, I have reinstalled:
image
I am currently reinstalling Hikari:
image
If I have the latest results, I will reply you as soon as possible. In addition, thank you very much for your reply!

image

It works fine for me on other iOS projects, strange

Ok, I saw an update to your English document and turned off Enable Index-While-Building Functionality. I re-installed Hikari, and I will try to create a new project immediately. I will reply here as soon as possible.
Then,you mean clean build cache,means that clean this folder?
image

Just so you know, this method works too
https://github.com/HikariObfuscator/NatsukoiHanabi

Ok, the original Clean build cache means this, thank you~ I know this thing, I have been using the shortcut key: Command+Shift+k. Also, about NatsukoiHanabi, I looked around and thought it was more difficult to build than Hikari. and use. If my Hikari still has problems before, I will study NatsukoiHanabi. Thank you for your reply.Now my Hikari has installed half of all.

张总,首先,非常抱歉这两天在网上对你的叨扰,然后,非常感谢你的回复,帮助我解决xcode10.1安装Hikari的问题。我成功build了新项目:
image
最后,我考虑到各个项目的不同,比如有的项目是纯OC的,有的项目是游戏引擎的,有的项目是多种语言混编的,有的项目是集成了Cocospods的,等等,各种项目,我会去尝试在这些项目中使用Hikari,如果遇到了问题我会先在这里的Issues中寻找答案,加上百度。如果还解决不了,再麻烦你指点一下方向,诚心希望你能指点我,万分感谢!!!

However, I found that projects that integrate Cocospods will report this error.Maybe Hikari doesn't support Cocospods?

As stated you need to repeat the same process for CocoaPods targets/projects