osx - Exclude specific resource for a pod iOS -


i'm creating pod have xib file, pod should work osx , ios when run:

pod lib lint

i error:

/users/folder/pod/assets/myxib.xib /* com.apple.ibtool.errors */ /users/folder/pod/assets/myxib: error: ios xibs not support target device type "mac". 

how exclude file mac target?

according cocoapods reference, use multi-platform support:

for example 1 might want store resources specific ios projects.

 spec.resources = "resources/**/*.png"  spec.ios.resources = "resources_ios/**/*.png" 

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -