aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Storage/FIRStorageUtils.m
diff options
context:
space:
mode:
Diffstat (limited to 'Firebase/Storage/FIRStorageUtils.m')
-rw-r--r--Firebase/Storage/FIRStorageUtils.m6
1 files changed, 5 insertions, 1 deletions
diff --git a/Firebase/Storage/FIRStorageUtils.m b/Firebase/Storage/FIRStorageUtils.m
index e0abe0a..5c6a1fa 100644
--- a/Firebase/Storage/FIRStorageUtils.m
+++ b/Firebase/Storage/FIRStorageUtils.m
@@ -12,7 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#if TARGET_OS_IOS
#import <MobileCoreServices/MobileCoreServices.h>
+#elif TARGET_OS_OSX
+#import <CoreServices/CoreServices.h>
+#endif
#import "FIRStorageUtils.h"
@@ -118,4 +122,4 @@ NSString *const kGCSObjectAllowedCharacterSet =
return [NSJSONSerialization dataWithJSONObject:dictionary options:0 error:nil];
}
-@end \ No newline at end of file
+@end