Open maxiBon18 opened 1 month ago
flutter_flavorizr: ^2.2.3
same problem
Same here!
Hello @maxiBon18 , according to your error message, looks like you're using an older version of flutter_flavorizr. Can you please try to update it to the latest version?
If the error persists, I suggest you try to reproduce it with a fresh and new Flutter project to see what happens. I strongly believe there's something wrong with your Darwin's project configuration and it would be simpler to recreate it and start over instead of looking for the needle in the haystack.
Hi everyone, For a while now I have been unable to launch and successfully complete the “flutter pub run flutter_flavorizr” command as I constantly get this exception when I get to the ios:buildTargets task:
Executing task ios:buildTargets Running XcodeprojProcessor: Checking if xcodeproj is installed Running DarwinBuildConfigurationsProcessor Running ShellProcessor: Running script 'ruby' with arguments .tmp/scripts/darwin/add_build_configuration.rb, ios/Runner.xcodeproj, Flutter/devDebug.xcconfig, dev, com.enel.mobile.pltsnoopmobile.dev.dev, Debug, eyJBU1NFVENBVEFMT0dfQ09NUElMRVJfQVBQSUNPTl9OQU1FIjoiJChBU1NFVF9QUkVGSVgpQXBwSWNvbiIsIkxEX1JVTlBBVEhfU0VBUkNIX1BBVEhTIjoiJChpbmhlcml0ZWQpIEBleGVjdXRhYmxlX3BhdGgvRnJhbWV3b3JrcyIsIlNXSUZUX09CSkNfQlJJREdJTkdfSEVBREVSIjoiUnVubmVyL1J1bm5lci1CcmlkZ2luZy1IZWFkZXIuaCIsIlNXSUZUX1ZFUlNJT04iOiI1LjAiLCJGUkFNRVdPUktfU0VBUkNIX1BBVEhTIjpbIiQoaW5oZXJpdGVkKSIsIiQoUFJPSkVDVF9ESVIpL0ZsdXR0ZXIiXSwiTElCUkFSWV9TRUFSQ0hfUEFUSFMiOlsiJChpbmhlcml0ZWQpIiwiJChQUk9KRUNUX0RJUikvRmx1dHRlciJdLCJJTkZPUExJU1RfRklMRSI6IlJ1bm5lci9JbmZvLnBsaXN0IiwiUFJPRFVDVF9CVU5ETEVfSURFTlRJRklFUiI6ImNvbS5lbmVsLm1vYmlsZS5wbHRzbm9vcG1vYmlsZS5kZXYuZGV2In0= Running ShellProcessor: Running script 'ruby' with arguments .tmp/scripts/darwin/add_build_configuration.rb, ios/Runner.xcodeproj, Flutter/devProfile.xcconfig, dev, com.enel.mobile.pltsnoopmobile.dev.dev, Profile, eyJBU1NFVENBVEFMT0dfQ09NUElMRVJfQVBQSUNPTl9OQU1FIjoiJChBU1NFVF9QUkVGSVgpQXBwSWNvbiIsIkxEX1JVTlBBVEhfU0VBUkNIX1BBVEhTIjoiJChpbmhlcml0ZWQpIEBleGVjdXRhYmxlX3BhdGgvRnJhbWV3b3JrcyIsIlNXSUZUX09CSkNfQlJJREdJTkdfSEVBREVSIjoiUnVubmVyL1J1bm5lci1CcmlkZ2luZy1IZWFkZXIuaCIsIlNXSUZUX1ZFUlNJT04iOiI1LjAiLCJGUkFNRVdPUktfU0VBUkNIX1BBVEhTIjpbIiQoaW5oZXJpdGVkKSIsIiQoUFJPSkVDVF9ESVIpL0ZsdXR0ZXIiXSwiTElCUkFSWV9TRUFSQ0hfUEFUSFMiOlsiJChpbmhlcml0ZWQpIiwiJChQUk9KRUNUX0RJUikvRmx1dHRlciJdLCJJTkZPUExJU1RfRklMRSI6IlJ1bm5lci9JbmZvLnBsaXN0IiwiUFJPRFVDVF9CVU5ETEVfSURFTlRJRklFUiI6ImNvbS5lbmVsLm1vYmlsZS5wbHRzbm9vcG1vYmlsZS5kZXYuZGV2In0= Unhandled exception: Exception: .tmp/scripts/darwin/add_build_configuration.rb:23:in
<main>': undefined method
build_settings' for nil:NilClass (NoMethodError)0 ShellProcessor.execute (package:flutter_flavorizr/src/processors/commons/shell_processor.dart:51:7)
1 QueueProcessor.execute (package:flutter_flavorizr/src/processors/commons/queue_processor.dart:44:17)
2 QueueProcessor.execute (package:flutter_flavorizr/src/processors/commons/queue_processor.dart:44:17)
3 Processor.execute (package:flutter_flavorizr/src/processors/processor.dart:140:24)