简体   繁体   中英

Universal iOS app file managing

I have written universal app and am not sure about code/file management. For example, I use file A (.h and .m) on iPhone app and file B (.h and .m) on iPad. If I export IPA file, I think both file A and file B will be there for both iPhone and iPad. Can I manage to exclude file A for iPad? It is also same for images. I have some images that is only used in iPhone. How can I exclude that?

It's a universal app, the bundle will always include all files.

If you do not want that build and distribute 2 different targets for iPhone and iPad and include only required files and classes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM