CocoaPods / CocoaPods/Xcodeproj

The product_name of target shouldn't be the same as the same of `target`

Open
#775 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
2.4k
Forks
488
PR merge metrics
No merged PRs in 30d

Description

For example, [GRDB.swift.podspec](https://github.com/groue/GRDB.swift/blob/master/GRDB.swift.podspec). The target name is 'GRDB.swift`, but the product module name should be `GRDB`.

My project depends on `GRDB.swift`, after `pod install` , in the `GRDB.swift` target in the `Pods.xcodeproj` file, the product name is 'GRDB`
![image](https://user-images.githubusercontent.com/7471672/87560896-8428bd80-c6ee-11ea-9ab6-67e92827333d.png)

But in this repo, when creating a new target, the target name is the same as the target product name . [code here](https://github.com/CocoaPods/Xcodeproj/blob/dac33d249ede1af24c8391e9a2c8b803cb316c4b/lib/xcodeproj/project/project_helper.rb#L49)

Cocoapods version: 1.6.1

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.