Skip to content

Could not parse Info.plist file - caused by: Serde("invalid type: integer 32924, expected a string") #1936

@kenyipp

Description

@kenyipp

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

  • @sentry/react-native (>= 1.0.0)
  • react-native-sentry (<= 0.43.2)

SDK version: 5.18.0

react-native version: 0.70.13

Are you using Expo?

  • Yes
  • No

Are you using sentry.io or on-premise?

  • sentry.io (SaaS)
  • on-premise

If you are using sentry.io, please post a link to your issue so we can take a look:

[Link to issue]

Configuration:

(@sentry/react-native)

Sentry.init({
  dsn: 'https://...@sentry.io/...'
  // other options
});

I have the following issue:

Since yesterday, I've been encountering the following error message when attempting to build the iOS app:

❌  error: Could not parse Info.plist file
    Run script build phase '[CP-User] Config codegen' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'react-native-config' from project 'Pods')
    Run script build phase '[CP-User] Generate app.config for prebuilt Constants.manifest' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXConstants' from project 'Pods')
Last lines of the Xcode's build log:
    export __IS_NOT_SIMULATOR_simulator\=NO
    export arch\=undefined_arch
    export variant\=normal
    /bin/sh -c /Users/[REDACTED]/Library/Developer/Xcode/DerivedData/Mylo-fcequrikxyqjreaosttkhtfkpnoi/Build/Intermediates.noindex/ArchiveIntermediates/Mylo/IntermediateBuildFilesPath/Mylo.build/Release-iphoneos/Mylo.build/Script-A31ED4BC5358436EB4C1FDEE.sh
  INFO    2024-02-09 00:33:23.878117 +00:00 Loaded file referenced by SENTRY_PROPERTIES (sentry.properties)
error: Could not parse Info.plist file
  caused by: Serde("invalid type: integer `32924`, expected a string")

Steps to reproduce:

  • Step 1
  • Step 2

Actual result:

Encountered an error when trying to build the app.

Expected result:

Successful build of the app without any issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions