-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS11] Update project settings and fix errors #676
Conversation
@@ -472,7 +472,7 @@ - (void)DISABLED_testTransaction | |||
layer1.displaysAsynchronously = YES; | |||
|
|||
dispatch_semaphore_t displayAsyncLayer1Sema = dispatch_semaphore_create(0); | |||
layer1Delegate.displayLayerBlock = ^(_ASDisplayLayer *asyncLayer) { | |||
layer1Delegate.displayLayerBlock = ^UIImage *{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about this one, tests are green but..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks right to me :)
👍 for this PR, currently warnings from Texture like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thank you for fixing it up!
Source/Base/ASLog.h
Outdated
} \ | ||
|
||
#define as_log_info(log, format, ...) \ | ||
if (AS_AVAILABLE_IOS(9)) { \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: indent \
Source/Base/ASLog.h
Outdated
os_log_info(log, format, ##__VA_ARGS__); \ | ||
} else { \ | ||
(void)0; \ | ||
}\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
#define as_log_fault(log, format, ...) (AS_AT_LEAST_IOS9 ? os_log_fault(log, format, ##__VA_ARGS__) : (void)0) | ||
|
||
#define as_log_create(subsystem, category) ({ \ | ||
os_log_t __val; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do the rest of the macros need to pass through their return value as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If i did not miss anything, other macros don't need to pass through their return value as well.
@@ -472,7 +472,7 @@ - (void)DISABLED_testTransaction | |||
layer1.displaysAsynchronously = YES; | |||
|
|||
dispatch_semaphore_t displayAsyncLayer1Sema = dispatch_semaphore_create(0); | |||
layer1Delegate.displayLayerBlock = ^(_ASDisplayLayer *asyncLayer) { | |||
layer1Delegate.displayLayerBlock = ^UIImage *{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks right to me :)
🚫 CI failed with log |
Hello @garrettmoon, thank you for review. I resolved your comments. Tests are green on my local machine, i have no idea why they failed with CI. |
@Eke Merge master in to restart the test and see if we can make this PR more up-to-date. :) |
Alright, all green! Merging per @garrettmoon's review. Thank you all! |
* [iOS11] Update project settings and fix errors * update changelog * resolve comments
Hello!
I fixed some warnings in Xcode 9 and iOS 11. There are still some warnings in dependencies when running
pod lib lint --verbose
. This PR can unblock me with #653Also i opened PR for PINRemoteImage.
UPD:
Here is the log of current master branch warnings