Can't find variable MaterialCardView on iOS #12
Comments
I'll investigate this weekend. In meantime, try this: Open the .xcworkspace file in the platforms/ios folder, then run the 2nd target (it will have a '2' next to it in the available run targets drop down in XCode). Lemme know if it runs that way. |
I was able to build the 2nd target in Xcode successfully. |
I'm working on a much simpler and stable Material Design Card View for iOS. That iOS version will be published as CocoaPod to then be used here. I'll post back when it's all complete and ready. |
@burkeholland I've posted an issue here about some things I found while debugging this issue: Additionally, it's worth noting that using |
Looks like Xcode 7.3 fixes the issue with having to downgrade. Nice troubleshooting BTW. Well done. I'll change my version and see what happens. |
The new XCode 7.3 does fix the issue on a "fresh add and run". Subsequent runs will result in strange error: Hopefully will be fixed soon. But good news is yes 7.3 does solve the issue. Hooray!
....to demo this plugin successfully until the runtime is fixed. I'm about to release a new version of this which makes the iOS side even better using the new simpler implementation and new properties which can be set to customize it's look. |
|
This good @NathanWalker @burkeholland ? |
Still awaiting ios runtime/cli 1.7.2 actually: Shouldn't be much longer. |
2.0.0 fix this? Just cleaning issues, no rush or worries. |
Reporting back! I ran into this issue but it appeared to be because the MaterialCard cocoapod didn't initially install. I opened Xcode and built the target as recommended above, and the pod was installed and the card shows up using livesync. So ... I think you can close this, Nathan! Thanks, everyone! |
When I try and use the plugin, it throws an error
Can't find variable MaterialCardView on iOS
. If I try and do atns debug ios --emulator
, it throws a wall of Swift linking errors.System
NativeScript 1.7
iOS 9.2
Xcode 7.2.1
Steps To Reproduce
Add the following markup to your page
Run in the emulator
Error is thrown
Run
tns debug ios --emulator
. I've attached the text file with the linker errors.linker.txt
Suggested Solution
I'm pretty sure iOS simply can't build that CocoaPod. I noticed that the target version for the Pod is 8.0, but that should just be the minimum version, not the absolute target version. I check the CocoaPod docs for Podfiles and there was no mention of a minimum version, only a target version.
I have no idea.
The text was updated successfully, but these errors were encountered: