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
Post a Comment