Skip to content

Conversation

@Mcrich23
Copy link
Contributor

@Mcrich23 Mcrich23 commented May 6, 2025

FactoryTesting uses a feature of SwiftTesting only available in Xcode 16.3 and newer. To enable compatibility with previous Xcode versions, I added the open source version of SwiftTesting to the package manifest. To keep sizes down, I made it only clone on versions with the compiler as 6.0 or lower.

@hmlongco
Copy link
Owner

Considering this, btw, but it has conflicts with main and develop.

@Mcrich23
Copy link
Contributor Author

Interesting...I'm using it on my project without issue

@Mcrich23
Copy link
Contributor Author

What version of Xcode are you using? Is it possible that the compiler flags are the problem?

@InderKumarRathore
Copy link
Contributor

@Mcrich23 Please take main branch changed into yours

Comment on lines +54 to +55
// Only clone swift-testing if required
] + getOpenSourceSwiftTestingPackageDependency(),
Copy link
Contributor

Choose a reason for hiding this comment

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

nit Name the func in a way that doesn't require actual comment

Suggested change
// Only clone swift-testing if required
] + getOpenSourceSwiftTestingPackageDependency(),
] + openSourceSwiftTestingDependencyForOlderSwiftVersion(),

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.

3 participants