-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Project fails to compile when included from podspec in a second-tier framework #1382
Closed
3 tasks done
Comments
natestedman
added a commit
to natestedman/IGListKit
that referenced
this issue
Nov 12, 2019
Summary: This allows us to have a single declaration of the version in the `Info.plist`, and have it automatically synced to the podspec. I'm going to split the podspecs as I did it wrong (Instagram#1382) when splitting the libraries, so this avoids having three places where the version is declared. Differential Revision: D18449842 fbshipit-source-id: b929b1f81ec9801fb5a717d1c3f6079a86a35a99
natestedman
added a commit
to natestedman/IGListKit
that referenced
this issue
Nov 12, 2019
Summary: I attempted to work the two frameworks into a single podspec, but it didn't really work that well. Instead, let's just split them into two podspec files - this should work fine, and more closely follows the Carthage/Xcode behavior. This should address Instagram#1382. Note that the attached project does need to be edited, because we also need to manually specify the `IGListDiffKit` pod location. This issue will go away with the release of 4.0. Differential Revision: D18449843 fbshipit-source-id: 812c6b6a8bdc18a273127a3e380a400f4efef303
natestedman
added a commit
to natestedman/IGListKit
that referenced
this issue
Nov 12, 2019
Summary: This allows us to have a single declaration of the version in the `Info.plist`, and have it automatically synced to the podspec. I'm going to split the podspecs as I did it wrong (Instagram#1382) when splitting the libraries, so this avoids having three places where the version is declared. Differential Revision: D18449842 fbshipit-source-id: cbcf399a95fc64824772ddc23ea59d4eebf3745a
natestedman
added a commit
to natestedman/IGListKit
that referenced
this issue
Nov 12, 2019
Summary: Pull Request resolved: Instagram#1385 I attempted to work the two frameworks into a single podspec, but it didn't really work that well. Instead, let's just split them into two podspec files - this should work fine, and more closely follows the Carthage/Xcode behavior. This should address Instagram#1382. Note that the attached project does need to be edited, because we also need to manually specify the `IGListDiffKit` pod location. This issue will go away with the release of 4.0. Differential Revision: D18449843 fbshipit-source-id: 15745f602bf6932728927d714a9247b51a47e2fc
natestedman
added a commit
to natestedman/IGListKit
that referenced
this issue
Nov 12, 2019
Summary: This allows us to have a single declaration of the version in the `Info.plist`, and have it automatically synced to the podspec. I'm going to split the podspecs as I did it wrong (Instagram#1382) when splitting the libraries, so this avoids having three places where the version is declared. Differential Revision: D18449842 fbshipit-source-id: 6434f6782237568b6910af76368ced2fb2ec7ac7
natestedman
added a commit
to natestedman/IGListKit
that referenced
this issue
Nov 12, 2019
Summary: Pull Request resolved: Instagram#1385 I attempted to work the two frameworks into a single podspec, but it didn't really work that well. Instead, let's just split them into two podspec files - this should work fine, and more closely follows the Carthage/Xcode behavior. This should address Instagram#1382. Note that the attached project does need to be edited, because we also need to manually specify the `IGListDiffKit` pod location. This issue will go away with the release of 4.0. Differential Revision: D18449843 fbshipit-source-id: 556a0dc9e6b5bbd560953156045ac6d4a21b5415
natestedman
added a commit
to natestedman/IGListKit
that referenced
this issue
Nov 12, 2019
Summary: This allows us to have a single declaration of the version in the `Info.plist`, and have it automatically synced to the podspec. I'm going to split the podspecs as I did it wrong (Instagram#1382) when splitting the libraries, so this avoids having three places where the version is declared. Differential Revision: D18449842 fbshipit-source-id: 9359f886c702bb8b1aa2863a0fee766e0d637db8
natestedman
added a commit
to natestedman/IGListKit
that referenced
this issue
Nov 12, 2019
Summary: Pull Request resolved: Instagram#1385 I attempted to work the two frameworks into a single podspec, but it didn't really work that well. Instead, let's just split them into two podspec files - this should work fine, and more closely follows the Carthage/Xcode behavior. This should address Instagram#1382. Note that the attached project does need to be edited, because we also need to manually specify the `IGListDiffKit` pod location. This issue will go away with the release of 4.0. Reviewed By: iperry90 Differential Revision: D18449843 fbshipit-source-id: 46d7c0a46d3a2042dd2b73336f4d89a8baf89574
natestedman
added a commit
to natestedman/IGListKit
that referenced
this issue
Nov 12, 2019
Summary: This allows us to have a single declaration of the version in the `Info.plist`, and have it automatically synced to the podspec. I'm going to split the podspecs as I did it wrong (Instagram#1382) when splitting the libraries, so this avoids having three places where the version is declared. Differential Revision: D18449842 fbshipit-source-id: 09119e447563707ff20b883dcf6baaa3a72a4304
natestedman
added a commit
to natestedman/IGListKit
that referenced
this issue
Nov 12, 2019
Summary: Pull Request resolved: Instagram#1385 I attempted to work the two frameworks into a single podspec, but it didn't really work that well. Instead, let's just split them into two podspec files - this should work fine, and more closely follows the Carthage/Xcode behavior. This should address Instagram#1382. Note that the attached project does need to be edited, because we also need to manually specify the `IGListDiffKit` pod location. This issue will go away with the release of 4.0. Reviewed By: iperry90 Differential Revision: D18449843 fbshipit-source-id: 6811f8b20045ebebb2f9eaffd33462f341d724fc
natestedman
added a commit
to natestedman/IGListKit
that referenced
this issue
Nov 12, 2019
Summary: This allows us to have a single declaration of the version in the `Info.plist`, and have it automatically synced to the podspec. I'm going to split the podspecs as I did it wrong (Instagram#1382) when splitting the libraries, so this avoids having three places where the version is declared. Differential Revision: D18449842 fbshipit-source-id: c8f9e3a527389292ba47dea3733fb25146f2a693
natestedman
added a commit
to natestedman/IGListKit
that referenced
this issue
Nov 12, 2019
Summary: Pull Request resolved: Instagram#1385 I attempted to work the two frameworks into a single podspec, but it didn't really work that well. Instead, let's just split them into two podspec files - this should work fine, and more closely follows the Carthage/Xcode behavior. This should address Instagram#1382. Note that the attached project does need to be edited, because we also need to manually specify the `IGListDiffKit` pod location. This issue will go away with the release of 4.0. Reviewed By: iperry90 Differential Revision: D18449843 fbshipit-source-id: 70089cd3221f5af31006b47860fbd4426d4e5ef6
natestedman
added a commit
to natestedman/IGListKit
that referenced
this issue
Nov 13, 2019
Summary: This allows us to have a single declaration of the version in the `Info.plist`, and have it automatically synced to the podspec. I'm going to split the podspecs as I did it wrong (Instagram#1382) when splitting the libraries, so this avoids having three places where the version is declared. Differential Revision: D18449842 fbshipit-source-id: f49891f6eeb36c2cae70b5338cea96b2e121ef31
natestedman
added a commit
to natestedman/IGListKit
that referenced
this issue
Nov 13, 2019
Summary: Pull Request resolved: Instagram#1385 I attempted to work the two frameworks into a single podspec, but it didn't really work that well. Instead, let's just split them into two podspec files - this should work fine, and more closely follows the Carthage/Xcode behavior. This should address Instagram#1382. Note that the attached project does need to be edited, because we also need to manually specify the `IGListDiffKit` pod location. This issue will go away with the release of 4.0. Reviewed By: iperry90 Differential Revision: D18449843 fbshipit-source-id: d8703090fac4b509cb7e25c88a0961b4e5290668
facebook-github-bot
pushed a commit
that referenced
this issue
Nov 13, 2019
Summary: This allows us to have a single declaration of the version in the `Info.plist`, and have it automatically synced to the podspec. I'm going to split the podspecs as I did it wrong (#1382) when splitting the libraries, so this avoids having three places where the version is declared. Reviewed By: iperry90 Differential Revision: D18449842 fbshipit-source-id: 2991180ee14003b8ebe1f4ef601036404315dfd6
facebook-github-bot
pushed a commit
that referenced
this issue
Nov 13, 2019
Summary: Pull Request resolved: #1385 I attempted to work the two frameworks into a single podspec, but it didn't really work that well. Instead, let's just split them into two podspec files - this should work fine, and more closely follows the Carthage/Xcode behavior. This should address #1382. Note that the attached project does need to be edited, because we also need to manually specify the `IGListDiffKit` pod location. This issue will go away with the release of 4.0. Reviewed By: iperry90 Differential Revision: D18449843 fbshipit-source-id: 2750aee1ba39d21b9f1b3521ea8911929ae728b1
Hey @joeboyscout04, this should be resolved in master now. You'll need to update your |
@joeboyscout04 closing this issue since it should now be resolved. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting an issue with the latest
master
specifically this commit where IGListKit fails to compile if it is included as a dependency from a pod which is also itself a dependency.I've attached the demo project below. Basically, the setup is as follows:
The framework seems to link properly, but the imports to
IGListDiffKit
are broken 😢.I think this has something to do with how the imports are done in IGListKit (which is also is a problem with us using SPM, see #1368 ). The
#import < >
syntax is assuming something about what's in the global header search paths, which breaks for the case here where theInnerFramework
's header search paths don't know aboutIGListDiffKit
. TheInnerFramework
compiles fine by itself. I tried a few different attempts to fix this via the podspec, without success.New issue checklist
README
and documentationGeneral information
IGListKit
version:master
Demo project:
IGListKitFrameworkTester.zip
The text was updated successfully, but these errors were encountered: