bamlab / react-native-braintree-payments-drop-in

React Native integration of Braintree Drop-in
MIT License
35 stars 31 forks source link

Fastlane build BraintreeDropIn uikit pods fail #29

Closed lukebars closed 2 years ago

lukebars commented 4 years ago

Upgraded BraintreeDropIn Pods from 7.4.0 to 7.5.0 and fastlane build fails. All good when reverted back to 7.4.0

❌  /Users/vagrant/git/ios/Pods/BraintreeDropIn/BraintreeUIKit/Helpers/BTUIKAppearance.m:66:50: property 'systemBackgroundColor' not found on object of type 'UIColor'
        sharedTheme.barBackgroundColor = UIColor.systemBackgroundColor;
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
❌  /Users/vagrant/git/ios/Pods/BraintreeDropIn/BraintreeUIKit/Helpers/BTUIKAppearance.m:67:51: property 'systemGroupedBackgroundColor' not found on object of type 'UIColor'
        sharedTheme.formBackgroundColor = UIColor.systemGroupedBackgroundColor;
                                                 ^
❌  /Users/vagrant/git/ios/Pods/BraintreeDropIn/BraintreeUIKit/Helpers/BTUIKAppearance.m:68:56: property 'secondarySystemGroupedBackgroundColor' not found on object of type 'UIColor'
        sharedTheme.formFieldBackgroundColor = UIColor.secondarySystemGroupedBackgroundColor;
                                                  ^
❌  /Users/vagrant/git/ios/Pods/BraintreeDropIn/BraintreeUIKit/Helpers/BTUIKAppearance.m:69:48: property 'labelColor' not found on object of type 'UIColor'
        sharedTheme.primaryTextColor = UIColor.labelColor;
                                                       ^
❌  /Users/vagrant/git/ios/Pods/BraintreeDropIn/BraintreeUIKit/Helpers/BTUIKAppearance.m:70:50: property 'secondaryLabelColor' not found on object of type 'UIColor'
        sharedTheme.secondaryTextColor = UIColor.secondaryLabelColor;
                                               ^
❌  /Users/vagrant/git/ios/Pods/BraintreeDropIn/BraintreeUIKit/Helpers/BTUIKAppearance.m:71:52: property 'placeholderTextColor' not found on object of type 'UIColor'
        sharedTheme.placeholderTextColor = UIColor.placeholderTextColor;
                                                 ^
❌  /Users/vagrant/git/ios/Pods/BraintreeDropIn/BraintreeUIKit/Helpers/BTUIKAppearance.m:72:41: property 'separatorColor' not found on object of type 'UIColor'
        sharedTheme.lineColor = UIColor.separatorColor;
                                                   ^
❌  /Users/vagrant/git/ios/Pods/BraintreeDropIn/BraintreeUIKit/Helpers/BTUIKAppearance.m:73:33: use of undeclared identifier 'UIBlurEffectStyleSystemMaterial'
        sharedTheme.blurStyle = UIBlurEffectStyleSystemMaterial;
                                        ^
❌  /Users/vagrant/git/ios/Pods/BraintreeDropIn/BraintreeUIKit/Helpers/BTUIKAppearance.m:74:50: use of undeclared identifier 'UIActivityIndicatorViewStyleMedium'; did you mean 'UIActivityIndicatorViewStyleWhite'?
        sharedTheme.activityIndicatorViewStyle = UIActivityIndicatorViewStyleMedium;
                                ^
❌  /Users/vagrant/git/ios/Pods/BraintreeDropIn/BraintreeUIKit/Helpers/BTUIKAppearance.m:77:41: property 'systemBlueColor' not found on object of type 'UIColor'
        sharedTheme.tintColor = UIColor.systemBlueColor;
    ^
❌  /Users/vagrant/git/ios/Pods/BraintreeDropIn/BraintreeUIKit/Helpers/BTUIKAppearance.m:78:45: property 'systemGrayColor' not found on object of type 'UIColor'
        sharedTheme.disabledColor = UIColor.systemGrayColor;
                                        ^
❌  /Users/vagrant/git/ios/Pods/BraintreeDropIn/BraintreeUIKit/Helpers/BTUIKAppearance.m:79:52: property 'systemRedColor' not found on object of type 'UIColor'
        sharedTheme.errorForegroundColor = UIColor.systemRedColor;
                                            ^
❌  /Users/vagrant/git/ios/Pods/BraintreeDropIn/BraintreeUIKit/Helpers/BTUIKAppearance.m:81:49: property 'systemGreenColor' not found on object of type 'UIColor'
        sharedTheme.switchOnTintColor = UIColor.systemGreenColor;
Pandazaur commented 4 years ago

Same issue with version 8.0.0 of BraintreeDropIn pod. Any idea why is that issue coming up ?

Pandazaur commented 4 years ago

Just found out that I needed to upgrade my Xcode version from 10 to 11 and it worked