Skip to content

Commit

Permalink
spec error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
duzexu committed Nov 21, 2024
1 parent f357941 commit fe24c24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ADPhotoKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Pod::Spec.new do |s|
s.subspec "VideoEdit" do |video|
video.dependency 'ADPhotoKit/Base'
video.dependency 'SnapKit'
video.dependency 'Kingfisher'
video.source_files = ["ADPhotoKit/Classes/VideoEdit/**/*.swift","ADPhotoKit/Classes/EditCore/**/*.swift"]
video.pod_target_xcconfig = { 'SWIFT_ACTIVE_COMPILATION_CONDITIONS' => 'Module_VideoEdit'}
video.resource_bundles = {
Expand Down
2 changes: 2 additions & 0 deletions ADPhotoKit/Classes/CoreUI/ADAssetOperation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ class ADAssetOperation: Operation {
let completion: ((ADPhotoKitUI.Asset) -> Void)

private var requestID: PHImageRequestID?
#if Module_VideoEdit
private var exporter: ADVideoExporter?
#endif

private var _isFinished: Bool = false {
willSet { willChangeValue(forKey: "isFinished") }
Expand Down

0 comments on commit fe24c24

Please sign in to comment.