Skip to content

Question: Usage with AppCenter CI #369

@sercanov

Description

@sercanov

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

When CI tries to build with Xcode Sentry Run Scripts, it fails. On AppCenter there is post-build scripts support, so I tried to move run scripts to post-build scripts like below;

export SENTRY_PROPERTIES=sentry.properties

./node_modules/@sentry/cli/bin/sentry-cli react-native xcode \
./node_modules/@sentry/cli/bin/sentry-cli upload-dsym

Then I'm getting the following error ;
2018-03-01T10:06:50.3861460Z [command]/bin/bash /Users/vsts/agent/2.129.1/work/1/s/appcenter-post-build.sh
2018-03-01T10:06:50.5917230Z error: Need to run this from Xcode
2018-03-01T10:06:50.7343910Z Warning: No paths were provided.

Any suggestions how to upload dsym and sourcemaps to Sentry after CI build ?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions