Validation fails with selector not found, submission fails with ITMS-90168

I am having trouble submitting my app with an iMessage extension to App Store.


Using Xcode 8b4, I can export my app fine for AdHoc distribution over Hockeyapp.


However when I try to use TestFlight, validation fails with "[_NSCFConstantString isFileURL]: unrecognized selector sent to instance…"


I have no `isFileURL` calls in my code. I assume this is Xcode internal.


Trying to submit the app anyway results in an ITMS-90168 invalid binary error:



Anybody having similar issues?

Answered by ekurutepe in 161711022

Thanks for the replies. It turns out TestFlight was being passive aggressive because the icon files for the extension were missing. We quickly added some placeholder icons until we get the real ones and now everything is fine. I'll file a radar about the error message.

Hello ekurutepe:


This is related but off subject to your question.


We got a quick question that might be a stupid question but when you set the Bundle Identifier in the main "core" project, does your iTunes Connect app id match that or the Bundle Identifier set in the "Message Extension" info.plist?


We set the "Bundle Identifier" in the main project as "com.Site.AppName" and the "Bundle Identifier" in the "messageExtension" folder as "com.Site.AppName.messageextension". Is this what you did? We are stuck at the configuration part and there's no easy guide to follow.


Thanks, Henry

Accepted Answer

Thanks for the replies. It turns out TestFlight was being passive aggressive because the icon files for the extension were missing. We quickly added some placeholder icons until we get the real ones and now everything is fine. I'll file a radar about the error message.

Validation fails with selector not found, submission fails with ITMS-90168
 
 
Q