Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XCode 15 Compilation Issue: Null objc class data for 'OBJC_METACLASS$_PLCrashHostInfo' #11

Open
seviu opened this issue Jul 17, 2023 · 1 comment

Comments

@seviu
Copy link

seviu commented Jul 17, 2023

Description:

When attempting to compile a project with splunk-otel-ios-crashreporting added as a Swift Package Manager (SPM) dependency, I encounter a build failure with the following error message:

Null objc class data for 'OBJC_METACLASS$_PLCrashHostInfo' in CrashReporter.o'

Steps to Reproduce:

  1. Create a new project in XCode 15 (currently in beta).
  2. Navigate to Swift Package Manager and add splunk-otel-ios-crashreporting as a dependency, using the following URL: https://github.com/signalfx/splunk-otel-ios-crashreporting/
  3. Attempt to build the project.

Expected Result:

The project should build successfully without any errors.

Actual Result:

The build fails with the error message:

Null objc class data for 'OBJC_METACLASS$_PLCrashHostInfo' in CrashReporter.o'

Additional Information:

Even though XCode 15 is in beta, we are keen to test our app's compatibility with the forthcoming iOS 17 and this issue is currently blocking our progress. We would greatly appreciate any assistance in resolving this problem.

Best,
seviu

@seviu
Copy link
Author

seviu commented Jul 17, 2023

New linker flag is to blame: microsoft/plcrashreporter#284

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant