Triage TestFlight crashes in Xcode Organizer

RSS for tag

Discuss the WWDC21 session Triage TestFlight crashes in Xcode Organizer.

View Session

Posts under wwdc21-10203 tag

1 result found
Sort by:
Post not yet marked as solved
1 Replies
1.9k Views
I have made an app with Python and Kivy and am trying to get it going on TestFlight. The app also uses the Pyrebase module and its dependencies. I am Archiving it just fine with Xcode and moving through the steps just fine except when I try upload it. It fails and has about 38 very similar errors pop up saying: App Store Connect Operation Error ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'weatherstrip.app/lib/python3.9/site-packages/Cryptodome/Hash/_MD2.abi3.so' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure." But with different file names in each error. It seems that all of the listed errors are from the Cryptodome module from either the Hash or Cipher folders. All of the listed errors also happen to be .so files... I have tried to find answers all over but nothing conclusive, I have tried playing around with my "Info.plist" file as well as "Frameworks, Libraries and Embedded Content" but not too sure what I can change without ruining everything. I see a lot of solutions saying that they've just deleted the files that are causing the problem, but I need the files in question. The Cryptodome folder that all of these files are in is a dependancy of the Pyrebase module (which has been difficult to work with). Actually I've seen posts that says maybe the executables shouldn't be in the "Copy Bundle Resources" build phase. I have had a look and there is a "lib" folder in there which has the site-packages and afore mentioned .so files in there. Should I delete this folder?? What could I do to trial? I tried removing the 'lib' folder from 'Copy Bundle Resources' and I was able to get the app uploaded to app store connect. But the app now doesn't work via Xcode. I have re added the lib but not am running into the same issue as before. Please Help.....
Posted Last updated
.