I am attempting to upload an app to TestFlight. The app compiles and runs in the simulator, and will also run on my iPhone if I install it direct from Xcode. If I archive and push it to TestFlight, then update my device from TestFlight, the app crashes when I attempt to view a specific view Controller.
I am using MessageKit (using Cocoapods, since this is an older project I am reviving), and the specific view Controller that crashes the app extends MessagesViewController. The error message that TestFlight kicks back to me reads:
"MessageKit: static UIColor.colorFromAssetBundle(named:)"
Perhaps the archiving process is skipping a bundle from Messagekit that Xcode will include locally?
Any references to an error like this on StackOverflow seem to be hyper specific:
and in the case of the above user, they just ended up re-writing the viewController (which for me would mean dropping and rewriting MessageKit).
I think this is an issue with the archiving process skipping files. Any thoughts on how to investigate if that is the case, or any suggestions on how to rectify this would be greatly appreciated. Thanks!