Hi!
Today I tried to upload my tvOS app to app store and had this error message:
ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'TV Hi Nano.app/SceneWithTaphere.o' is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the tvOS app bundle structure."
It seems that I cannot have SWIFT file in "Copy Bundle Resources" in my target's settings. But if I don't have this file in bundle resources, then app does not complie because it cannont find the class. Although I have this file in "Compile sources" section!
So how can I have this file shared between tvOS and iOS targets without including it in "Copy Bundle Resources"?
Thank you!