Skip to content

2. How to test and debug Trustbadge widgets

Prem Pratap Singh edited this page Jun 26, 2024 · 3 revisions

While in Trustylib library's development phase, we need to code, debug and test library's code quite frequently.

To facilitate this, we need to add Trustylib.xcodeproj library project as a subproject to an iOS app project, as shown in the image below,


This can be done by simply dragging and dropping Trustylib.xcodeproj to the client iOS app project.

After adding Trustylib.xodeproj as a sub project, we also need to add Trustylib.framework to the client app's Framework/Library section. This can also be done by simply dragging/dropping Trustylib.framework file from the TrustyLib project's build folder,


Once this is done, the library project source could be accessed/edited within the client app project,

This setup helps to,

  1. Debug existing workflows and fix bugs
  2. Add new workflows
  3. Add new widgets
  4. Update existing widgets