Closed shalinipk closed 3 years ago
Anyone ran into this build error ?
SwinjectStoryboard/Sources/iOS-tvOS/UIStoryboard+Swizzling.m:55:13: error: cast to smaller integer type 'BOOL' (aka 'signed char') from 'id' [-Werror,-Wpointer-to-int-cast] if ((BOOL)[[SwinjectStoryboard class] performSelector:@selector(isCreatingStoryboardReference)]) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated.
I ended up manually removing the BOOL type casting so that carthage builds.
My cartfile entry looks like this - github "Swinject/SwinjectStoryboard" "0ca45c83a8aa398c153d8a036c95abb4343cfa0c"
Looking forward to version 2.2.1 for SwinjectStoryboard. Thanks!!
Also looking forward! :)
Is there any news about this fix? I see that there are two pull reqs that are trying to fix this bug.
Merged PR #155 and closing this issue. Thanks!
Anyone ran into this build error ?
I ended up manually removing the BOOL type casting so that carthage builds.
My cartfile entry looks like this - github "Swinject/SwinjectStoryboard" "0ca45c83a8aa398c153d8a036c95abb4343cfa0c"
Looking forward to version 2.2.1 for SwinjectStoryboard. Thanks!!