Skip to content

iOS Simulator build fails: Sentry.embeddedframework.zip is device-only #1396

Description

@microneo

Environment

How do you use Sentry?
Self-hosted

Which version of the SDK?
1.12.0

How did you install the package?
Git-URL

Which version of Unreal?
5.6/5.7

Is this happening in Unreal (editor) or on a player like Android, iOS, Windows?
iOS Simulator

Steps to Reproduce

  1. Add Sentry plugin to an Unreal 5.7 project
  2. Build for iOS Simulator:
    Engine/Build/BatchFiles/Mac/Build.sh ProjectName IOS Development -Project=ProjectName.uproject -Architecture=iossimulator

Expected Result

Project compiles successfully for iOS Simulator.

Actual Result

Linker error:
ld: building for 'iOS-simulator', but linking in dylib (.../UnzippedFrameworks/Sentry/Sentry.embeddedframework/Sentry.framework/Sentry) built for 'iOS' clang++: error: linker command failed with exit code 1

Sentry.embeddedframework.zip contains only an arm64 iphoneos slice - no simulator slice is included.

A fix is already prepared: microneo@4ef048d

Happy to open a PR if this approach looks good.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugsomething isn't working as it shouldUnreal Engineplatform label
    No fields configured for issues without a type.

    Projects

    Status
    No status
    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions