rollbar / rollbar-ios

Objective-C library for crash reporting and logging with Rollbar.
https://docs.rollbar.com/docs/ios
MIT License
65 stars 61 forks source link

PhaseScriptExecution Run Script issue #352

Closed NaleSupriya closed 1 year ago

NaleSupriya commented 2 years ago

In my current project , I'm using Rollbar scrip for crash report generation, Here is the script run script.txt

But while creating build only I'm getting error :

/bin/sh: /Users/pslmacuser/Library/Developer/Xcode/DerivedData/-fnvxopdztdzglqbuqamcejjadxiu/Build/Intermediates.noindex/ArchiveIntermediates/coinout-qa/IntermediateBuildFilesPath/coinout-ios.build/Release-iphoneos/.build/Script-D090B8B628081FAC00983739.sh: /usr/bin/python: bad interpreter: No such file or directory Command PhaseScriptExecution failed with a nonzero exit code

I have tried to check this run script with multiple Xcode versions like Xcode 13.1, 13.2.1, 13.3 but its showing same error for all. But previously it was working on Xcode 13.1 and 13.3, recently I have just updated MacOS to 12.3.1

So will this script is impacting due to macOS version changes? And any work around to fix this issue?

Current Mac OS: 12.3.1 Xcode : 13.1, 13.2.1, 13.3 Swift version : Swift4

siki88 commented 2 years ago

targets -> {project} -> Build Phases -> Upload Rollbar debug symbol -> "change shell address to:" /usr/bin/python3

ghost commented 1 year ago

We released the Rollbar Apple SDK v3.0.0, which deprecates the Rollbar iOS SDK. The Apple SDK is a modernized approach to collecting errors from Apple devices and fixes many iOS SDK problems and pain points. Please, consider migrating over to the Apple SDK. You can find its documentation here. Please open an issue or contact our support if you encounter problems.