CocoaPods / Xcodeproj

Create and modify Xcode projects from Ruby.
http://rubygems.org/gems/xcodeproj
MIT License
2.32k stars 452 forks source link

Incorrect name of SPM package #936

Open wojciech-kulik opened 4 months ago

wojciech-kulik commented 4 months ago

I've added a SPM package dependency called JWTDecode.swift. In Xcode it appears as JWTDecode and that's what is set in the project.

However, if I change anything in the project (i.e. add/delete file) using Xcodeproj, the newly saved file adds a .swift suffix to the package name.

I guess it should be consistent with Xcode, otherwise opening the project removes .swift and using Xcodeproj brings .swift back :). I tested it with Xcode 15.3.

image