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
Xcodegen remove SPM package after generate, and resolving from Xcode adds it again #1460
Comments
This issue only happens with Xcode 15.3, after revert back to 15.2 it works as expected. |
I have the same issue :) always have to resolve packages manually with 15.3 |
Also have this issue on xcode 15.3 (thx aapl) As temporary solution you can add next lines to top of project.yml
and replace "MyApp" to yours project name (@wojciech-kulik FYI) |
@Woit thanks for the workaround! I've already reported this issue to Apple: FB13684602 It happens even if you just reset |
Is the issue still present in Xcode 15.4? |
Sadly this still seems to be present in Xcode 15.4 😞 |
Environment
Description
I've encountered an issue where
xcodegen
fails to retain theCleverTapGeofence
Swift Package Manager (SPM) dependency in thePackage.resolved
file of the generated Xcode project. The dependency is correctly specified in the.yml
configuration file, and when dependencies are resolved directly through Xcode, theCleverTapGeofence
package is successfully added. However, upon generating the project withxcodegen
, this particular package is missing fromPackage.resolved
.Steps to Reproduce
CleverTapGeofence
package in the.yml
configuration file forxcodegen
.xcodegen
.CleverTapGeofence
package is missing fromPackage.resolved
in the generated project.Expected Behavior
The
CleverTapGeofence
package, as specified in the.yml
file, should be retained in thePackage.resolved
file of the generated project, similar to how it is retained when adding the package directly through Xcode's SPM integration.Actual Behavior
The
CleverTapGeofence
package is missing from thePackage.resolved
file in the generated Xcode project, despite being specified in the.yml
configuration file forxcodegen
.Additional Information
.yml
Configuration Snippet forCleverTapGeofence
:The text was updated successfully, but these errors were encountered: