GSCXScanner fails to build GTXiLib

49 views
Skip to first unread message

Mary Baptista Martinez

unread,
May 17, 2023, 6:01:01 PM5/17/23
to ios-accessibility
Hi team,

I've filed an issue here. I think that GSCXScanner just needs to update the GTXiLib version that it depends on since it currently points to v4.0.1 but GTXiLib is currently on v5.1.2 which included some fixes for Swift projects.

I tried to do this change myself but couldn't run `pod update` since there is no Podfile and instead the team is using this podspec

Thanks,
Mary

Cooper Knaak

unread,
May 17, 2023, 6:53:43 PM5/17/23
to ios-accessibility
Hi,

Thanks for reaching out. I responded to your issue in GitHub, but I'll reproduce my answer here so the group can see it. I believe removing use_frameworks! from your Podfile fixes the issue. I was able to fix it locally by following your steps, the only difference was I removed use_frameworks!. This is explained in GTXiLib's documentation, but GSCXScanner's documentation needs to be updated to match. Thank you for notifying of us this! Let us know if that still doesn't work.

Sincerely,

Cooper Knaak

Mary Baptista Martinez

unread,
May 18, 2023, 12:39:08 PM5/18/23
to ios-accessibility
Hi Cooper,

Thanks for the prompt follow up! I was able to build and run after removing use_frameworks!. I somehow missed this in the GTXiLib's documentation.

However, while running the target GSCXScannerDemoCopy I don't actually see the "Perform Scan" button or any output in the lldb debugger. I also added an inaccessible view to my hierarchy but that doesn't seem to get flagged either. Is there something else I'm missing? If I look at the project file and the target configuration I can see that libPods-GSCXScannerCopy.a is shown in the Frameworks, Libraries, and Embedded Content - I attached a screenshot.

I appreciate your help :)

Mary

Screenshot 2023-05-18 at 9.37.03 AM.png

Cooper Knaak

unread,
May 22, 2023, 1:55:28 PM5/22/23
to ios-accessibility
Hi,

I took a look, and I was able to reproduce the issue. Locally, I have a Swift UI app depending on GSCXScanner, but the Scanner button won't appear. I believe it's a UIScene-related bug. I have an idea about a fix, which will hopefully be out soon.

In the meantime, could you create an issue on GSCXScanner's GitHub repository? I'd like to track everything there.

Sincerely,

Cooper Knaak

Mary Baptista Martinez

unread,
May 22, 2023, 2:09:44 PM5/22/23
to ios-accessibility
Thanks, Cooper! I also had a hunch this might be related to scenes.

Reply all
Reply to author
Forward
0 new messages