Skip to content

Commit

Permalink
Merge pull request #276 from goodheart/master
Browse files Browse the repository at this point in the history
修复CLANG_ENABLE_MODULE_DEBUGGING=NO时@import报错的问题
  • Loading branch information
longitachi authored Jul 4, 2018
2 parents fb3747f + 626536f commit dabf271
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions PhotoBrowser/ZLCollectionCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,12 @@ - (void)btnSelectClick:(UIButton *)sender {


//////////////////////////////////////

#if __has_feature(modules)
@import AVFoundation;
#else
#import <AVFoundation/AVFoundation.h>
#endif

@interface ZLTakePhotoCell ()

Expand Down
2 changes: 2 additions & 0 deletions ZLPhotoBrowser.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@
baseConfigurationReference = C219308794659F498CBCB00A /* Pods-ZLPhotoBrowser.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULE_DEBUGGING = NO;
DEVELOPMENT_TEAM = 47UY3G7UH6;
INFOPLIST_FILE = ZLPhotoBrowser/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
Expand All @@ -599,6 +600,7 @@
baseConfigurationReference = 562538332CF28C3D81959D16 /* Pods-ZLPhotoBrowser.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULE_DEBUGGING = NO;
DEVELOPMENT_TEAM = 47UY3G7UH6;
INFOPLIST_FILE = ZLPhotoBrowser/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
Expand Down

0 comments on commit dabf271

Please sign in to comment.