You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! Thanks for opening the issue. The issue doesn't seem to contain a link to a repro (a snack.expo.dev link or link to a GitHub repo under your username).
Can you provide a minimal repro which demonstrates the issue? A repro will help us debug the issue faster. Please try to keep the repro as small as possible and make sure that we can run it without additional setup.
/Users/macbook/ebanqo-business-app/node_modules/react-native-shared-element/ios/RNSharedElementStyle.m:43:70: error: implicit conversion of Objective-C pointer type 'UIColor *' to C pointer type 'CGColorRef _Nonnull' (aka 'struct CGColor *') requires a bridged cast
_borderColor = rctView.borderColor ? [UIColor colorWithCGColor:rctView.borderColor] : [UIColor clearColor];
^~~~~~~~~~~~~~~~~~~
/Users/macbook/ebanqo-business-app/node_modules/react-native-shared-element/ios/RNSharedElementStyle.m:43:70: note: use __bridge to convert directly (no change in ownership)
_borderColor = rctView.borderColor ? [UIColor colorWithCGColor:rctView.borderColor] : [UIColor clearColor];
^
(__bridge CGColorRef _Nonnull)( )
/Users/macbook/ebanqo-business-app/node_modules/react-native-shared-element/ios/RNSharedElementStyle.m:43:70: note: use CFBridgingRetain call to make an ARC object available as a +1 'CGColorRef _Nonnull' (aka 'struct CGColor *')
_borderColor = rctView.borderColor ? [UIColor colorWithCGColor:rctView.borderColor] : [UIColor clearColor];
^
CFBridgingRetain( )
/Users/macbook/ebanqo-business-app/node_modules/react-native-shared-element/ios/RNSharedElementStyle.m:43:70: warning: incompatible pointer types sending 'UIColor *' to parameter of type 'CGColorRef _Nonnull' (aka 'struct CGColor *') [-Wincompatible-pointer-types]
_borderColor = rctView.borderColor ? [UIColor colorWithCGColor:rctView.borderColor] : [UIColor clearColor];
^~~~~~~~~~~~~~~~~~~
In module 'UIKit' imported from /Users/macbook/ebanqo-business-app/ios/Pods/Target Support Files/RNSharedElement/RNSharedElement-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:31:43: note: passing argument to parameter 'cgColor' here
^
1 warning and 1 error generated.
The text was updated successfully, but these errors were encountered: