bradleygore / nativescript-textinputlayout

Android Material Design TextInputLayout for NativeScript
36 stars 14 forks source link

Add Compatilibity with Xcode 9 #13

Closed giordanocardillo closed 6 years ago

giordanocardillo commented 6 years ago

This plugin is not compatible with xcode 9, I think it needs to update the SkyFloatingLabelTextField version used

giordanocardillo commented 6 years ago

After some research, the problem isn't from this, It's something related to SkyFloatingLabelTextField, CLOSING.

giordanocardillo commented 6 years ago

For everyone having issues with SkyFloatingLabelTextField with Xcode 9

  1. Run tns build ios, you will get a fail saying that SWIFT_VERSION is not defined
  2. Open up platforms/ios/Pods/Pods.xcodeproj/project.pbxproj file
  3. Search this file for SkyFloatingLabelTextField
  4. In this configuration, after VERSION_INFO_PREFIX = ""; put SWIFT_VERSION = 3.0;
  5. Done
souly1 commented 6 years ago

Thanks for the solution. While this solution worked, it is not very maintainable (working under platforms folder) anyone got a solution which will persist upon platform remove/add ?

UPDATE: SOLVED in issue: https://github.com/bradleygore/nativescript-textinputlayout/issues/22