Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

iOS Dsym upload failed prevents build in AppCenter #275

Closed
yatespeter100 opened this issue May 24, 2019 · 3 comments
Closed

iOS Dsym upload failed prevents build in AppCenter #275

yatespeter100 opened this issue May 24, 2019 · 3 comments
Projects

Comments

@yatespeter100
Copy link

I have Firebase.Crashlytics latest version installed in my Xamarin app. I can build and deploy locally just fine but when I attempt to use AppCenter to build my app, the build fails with the following error:

_FirebaseCrashlyticsUploadDSymToFirebaseOnMac:
  Uploading dSYM to Firebase using Fabric upload-symbols script located at /Users/vsts/Library/Caches/XamarinBuildDownload/Fbrc-1.7.13
  '/Users/vsts/Library/Caches/XamarinBuildDownload/Fbrc-1.7.13/upload-symbols' -gsp '/Users/vsts/agent/2.150.3/work/1/s/MyProject.iOS/GoogleService-Info.plist' -p ios 'bin/iPhone/MyProject-Release/MyProject.iOS.app.dSYM'
  /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmp509d7256bdda483a84de0db145b997cd.exec.cmd: line 2:  1812 Illegal instruction: 4  '/Users/vsts/Library/Caches/XamarinBuildDownload/Fbrc-1.7.13/upload-symbols' -gsp '/Users/vsts/agent/2.150.3/work/1/s/MyProject.iOS/GoogleService-Info.plist' -p ios 'bin/iPhone/MyProject-Release/MyProject.iOS.app.dSYM'
/Users/vsts/agent/2.150.3/work/1/s/packages/Xamarin.Firebase.iOS.Crashlytics.3.10.9/build/Xamarin.Firebase.iOS.Crashlytics.targets(53,3): error MSB3073: The command "'/Users/vsts/Library/Caches/XamarinBuildDownload/Fbrc-1.7.13/upload-symbols' -gsp '/Users/vsts/agent/2.150.3/work/1/s/MyProject.iOS/GoogleService-Info.plist' -p ios 'bin/iPhone/MyProject-Release/MyProject.iOS.app.dSYM'" exited with code 132. [/Users/vsts/agent/2.150.3/work/1/s/MyProject.iOS/MyProject.iOS.csproj]
Done Building Project "/Users/vsts/agent/2.150.3/work/1/s/MyProject.iOS/MyProject.iOS.csproj" (Rebuild target(s)) -- FAILED.
Done Building Project "/Users/vsts/agent/2.150.3/work/1/s/MyProject.iOS/MyProject.iOS.csproj.metaproj" (Rebuild target(s)) -- FAILED.
Done Building Project "/Users/vsts/agent/2.150.3/work/1/s/MyProject.sln" (Rebuild target(s)) -- FAILED.

Is there a way to disable the auto upload step in a pre/post build script? Seems to be an illegal instruction in the .targets

@Redth Redth added this to Needs triage in Triage May 25, 2019
@SotoiGhost
Copy link
Contributor

Is this still an issue?

@SotoiGhost SotoiGhost moved this from Needs triage to Needs Info in Triage Oct 8, 2019
@yatespeter100
Copy link
Author

@SotoiGhost It was an issue. Our workaround was to fork the project and edit the dsym upload step locally. Solving #210 would fix it I think.

SotoiGhost pushed a commit that referenced this issue Oct 10, 2019
* Added a flag that handles the upload dSYM process, so the user can now decide if wants to execute the process
* Added a flag that handles the error, if any, of the upload process as a warning or as an error
* This closes issue #210
* This closes issue #275
SotoiGhost pushed a commit that referenced this issue Oct 10, 2019
* Added a flag that handles the upload dSYM process, so the user can now decide if wants to execute the process
* Added a flag that handles the error, if any, of the upload process as a warning or as an error
* This closes issue #210
* This closes issue #275
@SotoiGhost
Copy link
Contributor

Firebase Crashlytics v3.14.0 has been pushed. This update contains two flags that let you have more control over the upload process. For more info, here's the readme file. Best!

Triage automation moved this from Needs Info to Closed Oct 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Triage
  
Closed
Development

No branches or pull requests

2 participants