Skip to content

[SR-1444] [SwiftPM] Xcode compiler error including modules with a minus sign #5376

@swift-ci

Description

@swift-ci
Previous ID SR-1444
Radar None
Original Reporter dsperling (JIRA User)
Type Bug
Status Resolved
Resolution Done

Attachment: Download

Environment

Xcode 7.3.1
OSX 10.11.4
xcode-build master+PullRequest 330

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee @aciidb0mb3r
Priority Medium

md5: 177420c984223830f750bc400c72708c

Issue Description:

The following error occurs when compiling the HelloWorld Kitura app inside Xcode.

/../HelloWorld/Packages/Kitura-0.13.0/Sources/Kitura/Router.swift:21:8: error: no such module 'KituraTemplateEngine'
import KituraTemplateEngine
       ^

The issue appears to be with the module name created for "Kitura-TemplateEngine-0.9.0". While other Kitura dependencies like "Kitura-Sys-0.13.0" are created with a module name of "KituraSys".

One workaround is to rename the "Kitura-TemplateEngine" target to "KituraTemplateEngine"

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions