triniwiz / nativescript-star-ratings

NativeScript star ratings UI component plugin.
Apache License 2.0
22 stars 8 forks source link

can't build ios after new cosmos library release #18

Open peppeg85 opened 4 years ago

peppeg85 commented 4 years ago

hello, i have this error after the update of

https://github.com/evgenyneu/Cosmos

that this is a is a fork of , here is the error, how can i solve?

Xcode build...
/Users/mac/WebstormProjects/xxx/platforms/ios/Pods/Cosmos/Cosmos/CosmosAccessibility.swift:19:29: error: type 'UIAccessibilityTraits' (aka 'UInt64') has no member 'adjustable'
      UIAccessibilityTraits.adjustable :UIAccessibilityTraits.none
      ~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/mac/WebstormProjects/xxx/platforms/ios/Pods/Cosmos/Cosmos/CosmosAccessibility.swift:19:63: error: type 'UIAccessibilityTraits' (aka 'UInt64') has no member 'none'
      UIAccessibilityTraits.adjustable :UIAccessibilityTraits.none
                                        ~~~~~~~~~~~~~~~~~~~~~ ^~~~
/Users/mac/WebstormProjects/xxx/platforms/ios/Pods/Cosmos/Cosmos/StarLayer.swift:55:57: error: type 'CALayerContentsGravity' (aka 'NSString') has no member 'resizeAspect'
    imageLayer.contentsGravity = CALayerContentsGravity.resizeAspect
                                 ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~
Command CompileSwift failed with a nonzero exit code
note: Using new build system
note: Planning build
note: Constructing build description
** ARCHIVE FAILED **
Command xcodebuild failed with exit code 65

thank you

BMwanza commented 4 years ago

I am also experiencing a similar error with this. I am unable to build and getting the following error as output image

peppeg85 commented 4 years ago

yes, let me know if you can fix it, i still can't

AgustinV08 commented 4 years ago

I have the same issue

BMwanza commented 4 years ago

@triniwiz Any suggestions?

triniwiz commented 4 years ago

I have this plugin working in the new repo including the new updates ... releasing soon

OPADA-Eng commented 4 years ago

Same issue. @triniwiz when are you planning to release the update?

sfrcnayds commented 4 years ago

Same issue.

bernica commented 4 years ago

@triniwiz any workaround until you release?

triniwiz commented 4 years ago

you can use this for now until I release the new repo triniwiz-nativescript-star-ratings-2.0.0.tgz.zip

sfrcnayds commented 4 years ago

@triniwiz can we use triniwiz-nativescript-star-ratings-2.0.0.tgz.zip in nativescript 6.x or is this for nativescript 7 ?

nice2seeu commented 3 years ago

@triniwiz, triniwiz-nativescript-star-ratings-2.0.0.tgz.zip works fine! Thank you.

triniwiz commented 3 years ago

all new updates will be in the monorepo now