issue with iOS 10 and Xcode 8
vasanth3008 opened this issue · 1 comments
vasanth3008 commented
I am using 2.9 with pod, Works fine with Xocde 7.2.* with ios iOS9.* version I updated to Xcode 9 and Swift 3 and Now the Code files to create introview with following error
'NSInvalidArgumentException', reason: '-[_SwiftValue alpha]: unrecognized selector sent to instance 0x7f9cb86791e0'
*** First throw call stack:
(
0 CoreFoundation 0x00000001122cdf65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000011192fdeb objc_exception_throw + 48
2 CoreFoundation 0x00000001122d658d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x0000000112223f7a ___forwarding___ + 970
4 CoreFoundation 0x0000000112223b28 _CF_forwarding_prep_0 + 120
5 EAIntroView 0x000000010fe9ef98 -[EAIntroView viewForPage:atXIndex:] + 792
6 EAIntroView 0x000000010fe9e551 -[EAIntroView buildScrollView] + 177
7 EAIntroView 0x000000010fea5dbf -[EAIntroView setPages:] + 383
8 EAIntroView 0x000000010fe9c6a3 -[EAIntroView applyDefaultsToSelfDuringInitializationWithFrame:pages:] + 499
9 EAIntroView 0x000000010fe9c471 -[EAIntroView initWithFrame:andPages:] + 305
Seems all instance variable(alpha,bgImage,etc..) of IntroPage throw unrecognized selector sent to instance.
EAIntroView.m
- (UIView *)viewForPage:(EAIntroPage *)page atXIndex:(CGFloat)xIndex {
.....
if(page.alpha < 1.f || !page.bgImage) {
self.backgroundColor = [UIColor clearColor];
}
....
}
vasanth3008 commented
Passing array of Option EAIntroPage? to intro view caused this issue.