Skip to content
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

修复CLANG_ENABLE_MODULE_DEBUGGING=NO时@import报错的问题 #276

Merged
merged 1 commit into from
Jul 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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