[Appium] COMPILER_INDEX_STORE_ENABLE does not affect WDA build

I expected COMPILER_INDEX_STORE_ENABLE slightly improved WDA build time, but it did not affect… I would remain the result here.

$ time xcodebuild  build-for-testing -derivedDataPath ./tmp -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -sdk iphonesimulator IPHONEOS_DEPLOYMENT_TARGET=12.1 GCC_TREAT_WARNINGS_AS_ERRORS=0

No COMPILER_INDEX_STORE_ENABLE=NO

** TEST BUILD SUCCEEDED ** [31.798 sec]
** TEST BUILD SUCCEEDED ** [32.316 sec]
** TEST BUILD SUCCEEDED ** [32.578 sec]

With COMPILER_INDEX_STORE_ENABLE=NO

** TEST BUILD SUCCEEDED ** [32.278 sec]
** TEST BUILD SUCCEEDED ** [32.352 sec]
** TEST BUILD SUCCEEDED ** [32.470 sec]

Update:

But the COMPILER_INDEX_STORE_ENABLE=NO does not specify -index-store-path for the clang build. It slightly affects in some case, I guess…. But according to the above, it probably does not affect to WDA, anyway.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.