Skip to content

Conversation

@hbugdoll
Copy link
Contributor

Fixes hansemannn/titanium-review-dialog#17.

Introduction:

  • If you select "Upload your app's symbols to receive symbolicated reports from Apple" during distribution process in Xcode Organizer you currently get a warning The archive did not include a dSYM for the ******.framework and therefore unsymbolicated crash reports, if you use a Titanium module which is based on a Swift xcframework.
  • You can test it with Validate App in Xcode Organizer.

Description:

  • added dSYM debug symbols via -debug-symbols in the command xcodebuild -create-xcframework
    • added helper function findDSym() for this purpose
  • BTW improved some logs regarding creating the xcframework

@hbugdoll
Copy link
Contributor Author

hbugdoll commented Jan 10, 2026

Oh, there is one requirement:

You need the build setting DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym" in the Release configuration of the module's project.pbxproj.

Edit:
The module template iphone/templates/module/objc/template/ios/{{ModuleName}}.xcodeproj/project.pbxproj.ejs already meets the requirement.

Successfully tested with:

ti create -p ios --type module --ios-code-base swift
ti build -p ios --build-only

Copy link
Collaborator

@hansemannn hansemannn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work! I've tinied up some parts of the code, but it should still work properly. Can you confirm once please? We can merge afterwards and include it in next week's 13.1.0 release.

@hbugdoll
Copy link
Contributor Author

hbugdoll commented Jan 11, 2026

Good work! I've tinied up some parts of the code, but it should still work properly. Can you confirm once please?

Confirmed ✅

Since findDSym() was an adaptation of findLib(), I also made your adjustments in findLib() to make the code consistent again.
And applied the style args.push(<option>, <argument>) to the other options of the xcodebuild -create-xcframework command.

We can merge afterwards and include it in next week's 13.1.0 release.

That would be great.
In my opinion, it is important that the three dSYM fixes are released together.

@hansemannn hansemannn merged commit eba5c63 into tidev:main Jan 11, 2026
7 checks passed
@hbugdoll hbugdoll deleted the module-dsyms branch January 11, 2026 19:52
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

Successfully merging this pull request may close these issues.

iOS: missing dSYM for TiReviewdialog.framework

2 participants