Skip to content

Conversation

VaryHice
Copy link

@VaryHice VaryHice commented Feb 14, 2025

Can't compile project with PMKAlamofire installed with CocoaPods due to recent changes in imports section. This PR restores previous state as it was in PMKAlamofire v5.0.0.

Upd: modified import to remove export

@@ -1,6 +1,6 @@
@_exported import Alamofire
Copy link
Contributor

@RomanPodymov RomanPodymov Feb 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @VaryHice
Are you sure we cannot resolve it without @_exported?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To solve compilation issue import without @_exported fits as well, should I remove it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@VaryHice Yes. Is it possible?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RomanPodymov sure, updated code

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@VaryHice Thanks, will check this on my side, if it works, then we can merge your solution.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RomanPodymov sorry to bother, but any luck we could proceed? I'm ready to continue and bring back Alamofire subspec to PromiseKit, but this issue is a blocker

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @VaryHice
As I can see Alamofire has been removed from podspec because of iOS 10 or 11 deployment target, but let me check if we can revert it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @VaryHice
Looks like I cannot install PMKAlamofire with CocoaPods. Can you please tell me, which PMKAlamofire version are you using?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @RomanPodymov
My fork was based on tag 5.0.1. Currently I use it in my project and can successfully install with CocoaPods 1.16.2.

@RomanPodymov RomanPodymov self-requested a review August 12, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants