Open AhmedMohamedAllam opened 3 months ago
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
options:
postGenCommand: xcodebuild -resolvePackageDependencies -project MyApp.xcodeproj -scheme MyApp
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 xcodeproj
in your external git client :). So it's not connected with XcodeGen.
In general, any modification of the project outside of Xcode will cause that.
Is the issue still present in Xcode 15.4?
Sadly this still seems to be present in Xcode 15.4 😞 How this issue still hasn't been fixed baffles me
Is the issue still present in Xcode 15.4?
Unfortunately Apple not fix this bug yet.
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
: