MaterialCard
MaterialCard copied to clipboard
Conversion to Swift 3.0 needed for Xcode 8 and iOS10
I use nativescript-cardview which uses this pod. It works ok on simulator (Xcode 8, iOS 10) But I get errors trying to deploy to physical device with iOS 10:
[Mounting] LookingUpImage
Successfully run application com.company.test on device with ID 1caa5fb8b2b94ebe814df1ae880dfcxxxxx.
dyld: Library not loaded: @rpath/MaterialCard.framework/MaterialCard
Referenced from: /var/containers/Bundle/Application/BF711705-ED39-47AD-A8AA-CE24CF2AA958/test.app/test
Reason: no suitable image found. Did find:
/private/var/contain
ers/Bundle/Application/BF711705-ED39-47AD-A8AA-CE24CF2AA958/test.app/Frameworks/MaterialCard.framework/MaterialCard: code signing blocked mmap() of '/private/var/containers/Bundle/Application/BF711705-ED39-47AD-A8AA-CE24CF2AA958/test.app/Frameworks/MaterialCard.framework/MaterialCard'
/private/var/containers/Bundle/Application/BF711705-ED39-47AD-A8AA-CE24CF2AA958/test.app/Frameworks/MaterialCard.framework/MaterialCard: code signing blocked mmap() of '/private/var/containers/Bundle/Application/BF711705-ED39-47AD-A8AA-CE24CF2AA958/test.app/Frameworks/MaterialCard.framework/MaterialCard'
/private/var/containers/Bundle/Application/BF711705-ED39-47AD-A8AA-CE24CF2AA958/test.app/Frameworks/MaterialCard.framework/MaterialCard: code signing blocked mmap() of '/private/var/containers/Bundle/Application/BF711705-ED39-47AD-A8AA-CE24CF2AA958/test.app/Frameworks/MaterialCard.framework/MaterialCard'
I'm not sure if this is directly related to this issue or this. Let me know if I need to open a separate issue.
BTW, npm installs v1.2.1 of nativescript-cardview. Latest is 1.3.0 on GitHub. Maybe this is fixed in pod but needs to be updated on nativescript-cardview module? @bradmartin @NickIliev @NathanWalker