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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

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

android - How to create dynamically Fragment pager adapter -