diff --git a/xcode/commonFastfile b/xcode/commonFastfile index 48b8c8a..4efcb84 100644 --- a/xcode/commonFastfile +++ b/xcode/commonFastfile @@ -112,7 +112,9 @@ private_lane :uploadFeaturesToProject do |options| project_features_file_path = File.expand_path "../#{app_target_folder_name}/Resources/Features.json" common_features_file_path = File.expand_path "../common/build_options/Features.yaml" - builder_features_list = options[:features].split(",").map { |feature_name| feature_name.strip } # [ "Feature1", "Feature2", "Feature3" ] + builder_features_list = options[:features] + .split(",").map { |feature_name| feature_name.strip } # [ "Feature1", "Feature2", "Feature3" ] + .reject { |feature_name| feature_name.empty? } Touchlane::Features.generate_features_file_in_project(builder_features_list, common_features_file_path, project_features_file_path) end