Skip to content
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

add a 'dynamic library' product to swift package #99

Closed
wants to merge 1 commit into from

Conversation

alephao
Copy link

@alephao alephao commented Aug 11, 2021

Hello!

I have a project with mulitple frameworks and many of the frameworks use TinyConstraints via Carthage. When trying to migrate to SPM, I bumped into an issue where it always embeds the library in every module, resulting in issues when trying to archive the app and sending to the App Store.

ERROR ITMS-90685: "CFBundleIdentifier Collision. There is more than one bundle with the CFBundleIdentifier value 'TinyConstraints' under the iOS application '<MyApp>.app'."
ERROR ITMS-90205: "Invalid Bundle. The bundle at '<MyApp>.app/Frameworks/<MyFramework>.framework' contains disallowed nested bundles."
ERROR ITMS-90206: "Invalid Bundle. The bundle at '<MyApp>.app/Frameworks/<MyFramework>.framework' contains disallowed file 'Frameworks'."

To solve that I added another product that forces the library to be dynamic. With a dynamic library I have the option to not embed the library in my modules, only in the app target, which solves my problem.

@alephao alephao changed the title add a 'dynamic library' product add a 'dynamic library' product to swift package Aug 11, 2021
@roberthein
Copy link
Owner

I will have a look at this asap @alephao, probably Sunday. Thank you!

@paulocoutinhox
Copy link

merge merge merge +1

@alephao
Copy link
Author

alephao commented Apr 9, 2024

Hi @paulocoutinhox, this repo seems abandoned so you are probably better off maintain your own fork, I'll close this issue to clean up my PR list

@alephao alephao closed this Apr 9, 2024
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.

None yet

3 participants