Skip to content

zocario/swiftpm_archive_binary_target

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swiftpm_archive_binary_target

This sample aims to reproduce a situation where:

  • we have a library A distributed as an xcframework.
  • this library A is used in a swift package B that includes it as a binary target.
  • our final iOS App uses our swift package B with swift package manager
  • it's impossible to archieve the App because of the xcframework impossible to found

We first had issues with code signing and solved it by adding --deep as OTHER_CODE_SIGN_FLAGS. Now everything is fine when running in debug on device but when trying to archive the App, we have a compilation error saying Xcode doesn’t find the framework A.

Steps to reproduce the issue:

  1. Open the linked folder
  2. Open the project located in TestPackage/TestFrameworkApp. This App use the local swift package "PackageTest", which uses the xcframework generated through the "TestFramework" project.
  3. Try to archive the App

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published