This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Description
Steps to Reproduce the Problem
- Integrate Instabug via SwiftPM as described in this README (or the documentation)
- Add the following build script (from the documentation):
#- -- SCRIPT BEGIN - --
# SKIP_SIMULATOR_BUILDS=1
SCRIPT_SRC=$(find "$PROJECT_DIR" -name 'Instabug_dsym_upload.sh' | head -1)
if [ ! "${SCRIPT_SRC}" ]; then
echo "Instabug: err: script not found. Make sure that you're including InstabugResources.bundle in your project directory"
exit 1
fi
APP_TOKEN="MY_TOKEN"
source "${SCRIPT_SRC}"
#- -- SCRIPT END - --
- Build your application
Expected Behavior
My application should build fine. Also the DSYMs should be uploaded successfully.
Actual Behavior
My application errors out with this error:
Instabug: err: script not found. Make sure that you're including InstabugResources.bundle in your project directory
Command PhaseScriptExecution failed with a nonzero exit code
Instabug integration code
What an "integration code"?
SDK Version
10.4.0
iOS Version
Not relevant (but min target is iOS 10 if needed).
Device Model
Not relevant.
[Optional] Project That Reproduces the Issue
–
Additional Notes
I checked out the .zip files the Package.swift points to and found that there are actually InstabugResources.bundle files (see screenshot below), but the script seems not to point to them correctly when Instabug is integrated via SwiftPM. I have the feeling either the script is not updated to accustom SwiftPM or there's an additional step missing to add a symlink to the project somehow which will point to the right files.
