Carthage creates a structure containing an internal structure dependency

I have a framework target with an internal dependency of another target framework.

So something like: enter image description here

External frame schema "shared"

enter image description here

When I run the command

carthage build --no-skip-current

Architecture for the "external" structure:

~ / Developer / Testing / FrameworkTesting / Carthage / Build / iOS: lipo -info FrameworkTesting.framework / FrameworkTesting Architectures in fat file: FrameworkTesting.framework / FrameworkTesting: i386 x86_64 armv7 arm64

But the internal structure is only a hand:

~ / Developer / Testing / FrameworkTesting / Carthage / Build / iOS: lipo -info FrameworkTesting.framework / Frameworks / InnerFramework.framework / InnerFramework The architectures in bold file: FrameworkTesting.framework / Frameworks / InnerFramework.framework / InnerFramework are: armv7 arm64

So, if I try to use this framework in another project, I cannot compile.

Do I have to do something to make this work?

PS I also have other frameworks (third party) built into this framework, derived directly from the carthage assembly, which also have the same architecture issue.

+3


source to share





All Articles