Привет, я разрабатываю плагин для работы с AppDynamics.
Мне нужно сделать следующее из этой документации https://docs.appdynamics.com/display/PRO45/Upload+the+dSYM+File
In Xcode, select your project from the Project Navigator.
Click on the application target.
Select the Build Phase tab in the Settings editor.
Click the + icon in the upper left corner of the main panel.
Select New Run Script Phase from the dropdown.
In the script box, add the following lines:
export ADRUM_ACCOUNT_NAME="<Account_Name_HERE>" // From the View License - End User Monitoring section of the License Page
export ADRUM_LICENSE_KEY="<License_Key_HERE>" // From the View License - End User Monitoring section of the License Page
SCRIPT=$(/usr/bin/find "${SRCROOT}" -name xcode_build_dsym_upload.sh | head -n 1)
/bin/sh "${SCRIPT}"
однако, поскольку файлы платформы регенерируются каждый раз, могу ли я сделать это через хуки? xcode_build_dsym_upload.sh
является частью podFile, и когда я пытаюсь использовать хуки (что я думаю до сборки xCode), я получаю ошибку no file or directory found
.
Есть идеи?