We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 916e761 commit 6e8aed7Copy full SHA for 6e8aed7
Sources/OAuth2Client/NXOAuth2PostBodyPart.m
@@ -71,7 +71,7 @@ - (id)initWithName:(NSString *)name fileContent:(NSString *)path;
71
[headers appendString:@"Content-Type: application/octet-stream\r\n"];
72
[headers appendString:@"\r\n"];
73
74
-#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6 || TARGET_OS_IPHONE
75
NSDictionary *fileAttributes = [[NSFileManager defaultManager] attributesOfItemAtPath:path error:nil];
76
#else
77
NSDictionary *fileAttributes = [[NSFileManager defaultManager] fileAttributesAtPath:path traverseLink:YES];
0 commit comments