#!/bin/zsh

action=$1


cd sdk/mac

dump_syms linkv_engine.node > linkv_engine.node.syms
sentry-cli upload-dif -t breakpad .

dsymutil --out=LinkV.framework.dSYM LinkV.framework/LinkV;
sentry-cli upload-dif -t dsym LinkV.framework.dSYM

rm -rf linkv_engine.node.syms
rm -rf LinkV.framework.dSYM

