Skip to content

Commit

Permalink
Fix the missing imports at the umbrella file
Browse files Browse the repository at this point in the history
  • Loading branch information
xGeorge committed May 2, 2023
1 parent 4d1365f commit 93bf8f5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
843037332A01C67500914266 /* PINRemoteImage in Resources */ = {isa = PBXBuildFile; fileRef = FB3894EB2577F8960025252E /* PINRemoteImage */; };
FB3894CD2577F22F0025252E /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = FB3894CC2577F22F0025252E /* AppDelegate.swift */; };
FB3894CF2577F22F0025252E /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = FB3894CE2577F22F0025252E /* SceneDelegate.swift */; };
FB3894D12577F22F0025252E /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = FB3894D02577F22F0025252E /* ViewController.swift */; };
Expand Down Expand Up @@ -139,6 +140,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
843037332A01C67500914266 /* PINRemoteImage in Resources */,
FB3894D92577F2300025252E /* LaunchScreen.storyboard in Resources */,
FB3894D62577F2300025252E /* Assets.xcassets in Resources */,
FB3894D42577F22F0025252E /* Main.storyboard in Resources */,
Expand Down
2 changes: 2 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ let package = Package(
.define("NS_BLOCK_ASSERTIONS", to: "1", .when(configuration: .release)),
.define("USE_PINCACHE", to: "1"),
.define("PIN_WEBP", to: "1"),
.define("SWIFT_PACKAGE", to: "1"),

]),
]
)
4 changes: 4 additions & 0 deletions Source/Classes/include/PINRemoteImage.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
#import "PINAnimatedImageView+PINRemoteImage.h"
#import "PINButton+PINRemoteImage.h"
#import "PINImageView+PINRemoteImage.h"

#if SWIFT_PACKAGE
#import "NSHTTPURLResponse+MaxAge.h"
#import "PINDisplayLink.h"
#import "PINImage+DecodedImage.h"
Expand All @@ -47,3 +49,5 @@
#import "PINRemoteWeakProxy.h"
#import "PINResume.h"
#import "PINSpeedRecorder.h"

#endif
4 changes: 1 addition & 3 deletions Source/PINRemoteImage.modulemap
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
framework module PINRemoteImage {
framework module PINRemoteImage {
umbrella header "PINRemoteImage.h"

textual header "PINRemoteImageMacros.h"
header "PINAnimatedImageView+PINRemoteImage.h"
header "PINButton+PINRemoteImage.h"
header "PINImageView+PINRemoteImage.h"

header "NSHTTPURLResponse+MaxAge.h"

export *
}

0 comments on commit 93bf8f5

Please sign in to comment.