You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're currently using gradle.profiler in our Android projects and we're migrating our iOS project to work with Bazel.
Seeing the success of Android project benchmarking build using this tool, we tried to use it in our iOS project too, but I'm receiving this error:
❯ gradle-profiler --benchmark --bazel build_some_target
* Writing results to /Users/narlei.moreira/ifood-consumer-ios/profile-out-34
* Settings
Project dir: /Users/narlei.moreira/ifood-consumer-ios
Output dir: /Users/narlei.moreira/ifood-consumer-ios/profile-out-34
Profiler: none
Benchmark: true
Versions: []
Gradle User Home: /Users/narlei.moreira/ifood-consumer-ios/gradle-user-home
Targets: [build_some_target]
* Inspecting the build using its default Gradle version
* Stopping daemons
java.lang.ClassCastException: class org.gradle.profiler.BuildInvoker$1 cannot be cast to class org.gradle.profiler.GradleBuildInvoker (org.gradle.profiler.BuildInvoker$1 and org.gradle.profiler.GradleBuildInvoker are in unnamed module of loader 'app')
at org.gradle.profiler.ScenarioLoader.adhocScenarios(ScenarioLoader.java:195)
at org.gradle.profiler.ScenarioLoader.doLoadScenarios(ScenarioLoader.java:177)
at org.gradle.profiler.ScenarioLoader.loadScenarios(ScenarioLoader.java:156)
at org.gradle.profiler.Main.run(Main.java:56)
at org.gradle.profiler.Main.main(Main.java:25)
We're currently using
gradle.profiler
in our Android projects and we're migrating our iOS project to work with Bazel.Seeing the success of Android project benchmarking build using this tool, we tried to use it in our iOS project too, but I'm receiving this error:
I used the example of Readme:
The iOS project doesn't use Gradle, then I created an empty
settings.gradle
.I deleted the
.conf
file and the error is the same. I believe that it's a pre-requisite missed. Maybe it doesn't works with iOS project.The text was updated successfully, but these errors were encountered: