Skip to content

Commit

Permalink
Add more missing build settings on CouchTracker.
Browse files Browse the repository at this point in the history
A few things to check:
* CouchTracker doesn't embed all necessary frameworks
* Missing build phases (Swiftlint, Swiftformat)
  • Loading branch information
pietrocaselani committed May 18, 2019
1 parent efada6f commit d2d22b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Project.swift
Expand Up @@ -45,11 +45,12 @@ enum CouchTracker {
private static func settings() -> Settings {
let debug = [
"PROVISIONING_PROFILE_SPECIFIER": "match Development io.github.pietrocaselani.couchtracker",
"OTHER_SWIFT_FLAGS": "-Xfrontend -warn-long-expression-type-checking=100 -Xfrontend -warn-long-function-bodies=100",
"OTHER_SWIFT_FLAGS": "$(inherited) -D COCOAPODS -D DEBUG -Xfrontend -warn-long-expression-type-checking=100 -Xfrontend -warn-long-function-bodies=100",
] + iOSBaseSettings() + debugCodeSigning()

let release = [
"PROVISIONING_PROFILE_SPECIFIER": "match AppStore io.github.pietrocaselani.couchtracker",
"OTHER_SWIFT_FLAGS": "$(inherited) -D COCOAPODS"
] + iOSBaseSettings() + releaseCodeSigning()

return Settings(debug: debug.asConfig(), release: release.asConfig())
Expand Down Expand Up @@ -489,7 +490,7 @@ enum CouchTrackerUITests {

static func target() -> Target {
return Target(name: CouchTrackerUITests.name,
platform: .macOS,
platform: .iOS,
product: .unitTests,
bundleId: "\(baseBundleId).CouchTrackerUITests",
infoPlist: "CouchTrackerUITests/Info.plist",
Expand Down

0 comments on commit d2d22b2

Please sign in to comment.