iPhone developer.
iPhone developer.

Reputation: 2132

Not able to upload application because of .sh file of Crittercism

We are using Crittercism SDK since last 2 years and we are successfully able to upload application. Since last 2 days, we are not able to upload application with Crittercism because of dsym_upload.sh file.

Anyone getting same issue...!!!

enter image description here

Upvotes: 5

Views: 2003

Answers (4)

Gie
Gie

Reputation: 1939

I've also met this kind of problem. In my case, it was caused by putting space and special character in the package file name (.app file). After changing the name (removed space and special character) I was able to sign and upload application without any problems.

Upvotes: 0

Critter Sid
Critter Sid

Reputation: 51

This issue is resolved in CrittercismSDK 5.2.0 CocoaPods spec: https://github.com/CocoaPods/Specs/blob/master/Specs/CrittercismSDK/5.2.0/CrittercismSDK.podspec.json

If you don't want to upgrade to 5.2.0, then just delete the file and remove these lines from the Pods-resources.sh file

if [[ "$CONFIGURATION" == "Debug" ]]; then install_resource "CrittercismSDK/CrittercismSDK/dsym_upload.sh" fi if [[ "$CONFIGURATION" == "Release" ]]; then install_resource "CrittercismSDK/CrittercismSDK/dsym_upload.sh" fi

Upvotes: 4

jeyben
jeyben

Reputation: 258

Had the same issue using cocoa pods. As a temporary workaround I have put the following into my Podfile:

post_install do |installer|
    ...
    system('perl -pi.back -e "s/install_resource \"CrittercismSDK\/CrittercismSDK\/dsym_upload.sh\"//" "Pods/Target Support Files/Pods/Pods-resources.sh"')
end

What it does is it removes the line where the dsym_upload.sh is copied as a resource to what in the end ends up in you .app file

Upvotes: 1

trojanfoe
trojanfoe

Reputation: 122391

That shell script should not be part of the app bundle as it's only used while building (if it's anything like the Crashlytics version then it just uploads the .dsym files to their server so crash logs can be symbolicated for you).

Find the Build Phase Copy Files step that is copying it to the app bundle and remove the script from that step.

EDIT Please note that the script still needs to be executed during a build in order to upload debug symbols, however it does not need to be copied to the app bundle.

Upvotes: 3

Related Questions