<commit_before>require 'xcodeproj'

#current_pwd="$<PASSWORD>"
#project_dir=`cd "../../"; pwd`
#cd "$current_pwd"
#path_to_project=`find "$project_dir" -maxdepth 1 -name "*.xcodeproj" | tail -1`

path_to_project = "${PROJECT_NAME}.xcodeproj"

project = Xcodeproj::Project.open(path_to_project)

main_target = project.targets.first
phase = main_target.new_shell_script_build_phase("TODO:")
phase.shell_script = "do sth with ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/your.file"
project.save()<commit_msg>rb fix try#7<commit_after>require 'xcodeproj'

#current_pwd="$<PASSWORD>"
#project_dir=`cd "../../"; pwd`
#cd "$current_pwd"
#path_to_project=`find "$project_dir" -maxdepth 1 -name "*.xcodeproj" | tail -1`

path_to_project = "ScriptTest.xcodeproj"

project = Xcodeproj::Project.open(path_to_project)

main_target = project.targets.first
phase = main_target.new_shell_script_build_phase("TODO:")
phase.shell_script = "do sth with ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/your.file"
project.save()
{'fraction_non_alphanumeric': 0.15738963531669867, 'fraction_numerical': 0.0047984644913627635, 'mean_word_length': 7.619834710743802, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3841118', 'n_tokens_mistral': 407, 'n_tokens_neox': 400, 'n_words': 59}