Hello,Naville and XiaoshengVK! Please help me to solve the problem "-index-store-path"
yeZLTaeyeon opened this issue · 11 comments
创建一个Issue
请按照如下模版尽可能详细的填写资料。不按照规则提供我解决您的问题所需的信息将很有可能导致您的帐号被我的私人账号和Hikari组织永久黑名单
- 必须
Use Xcode 10.1-Toolchains-Hikari:
Build a new Xcode Project,build error:
- 必须
-mllvm -enable-cffobf
-mllvm -enable-bcfobf - 强烈建议提供
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 - 强烈建议提供
Use Xcode 10.1-Toolchains-Xcode 10.1,the new project build succeeded!
- 强烈建议提供
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:
I set this up:
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:
I am currently reinstalling Hikari:
If I have the latest results, I will reply you as soon as possible. In addition, thank you very much for your reply!
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.
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