Post

Replies

Boosts

Views

Activity

Reply to How to make PKInkingTool width constant?
One way I found is to swizzle UITouch force and timestamp methods. #import <objc/runtime.h> @implementation UITouch (UITouch_Overrides) + (void)load { [super load]; static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ [self swizzleForce]; [self swizzleTimestamp]; }); } + (void)swizzleForce { [self swizzle:@selector(force) with:@selector(ed_force)]; } + (void)swizzleTimestamp { [self swizzle:@selector(timestamp) with:@selector(ed_timestamp)]; } + (void)swizzle:(SEL)originalSelector with:(SEL)swizzledSelector {     Class class = [self class];     Method originalMethod = class_getInstanceMethod(class, originalSelector);     Method swizzledMethod = class_getInstanceMethod(class, swizzledSelector);     BOOL didAddMethod =         class_addMethod(class,             originalSelector,             method_getImplementation(swizzledMethod),             method_getTypeEncoding(swizzledMethod));     if (didAddMethod) {         class_replaceMethod(class,             swizzledSelector,             method_getImplementation(originalMethod),             method_getTypeEncoding(originalMethod));     } else {         method_exchangeImplementations(originalMethod, swizzledMethod);     } } - (CGFloat)ed_force { return 1.0; } - (NSTimeInterval)ed_timestamp { return 0; } @end
Sep ’21
Reply to ITMS-90034: Missing or invalid signature
Same here... Suddenly, the fastlane+Bitrise pipeline stopped working today with errors likeITMS-90034: Missing or invalid signature - The bundle 'com.firstagenda.edagsordenqa' at bundle path 'Payload/edagsordenqa.app' is not signed using an Apple submission certificate.It seems to fail randomly. I would suggest resubmitting builds several times. Half of the submitted builds failed for us today.
Jun ’20