Skip to content

Commit b1ca2c4

Browse files
authored
Code-generate the Xcode project files for a leaner repository (#3)
- Reimplement HippoAnalytics and HippoPayments as Swift packages to easily share them across examples since they are never edited in the book - Convert each chapter beginning and end source to be code generated via xcodegen, https://github.com/yonaskolb/XcodeGen - Remove the unused UI tests target - Also remove the build script sorting the project alphabetically, now unnecessary thanks to xcodegen's code generating the project and sorting the files every time
1 parent 13c2468 commit b1ca2c4

File tree

349 files changed

+2183
-36234
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

349 files changed

+2183
-36234
lines changed

04-tdd-in-the-real-world/0-start/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ DerivedData
2929
#
3030
# Pods/
3131

32+
*.xcodeproj

04-tdd-in-the-real-world/0-start/Albertos.xcodeproj/project.pbxproj

Lines changed: 119 additions & 568 deletions
Large diffs are not rendered by default.

04-tdd-in-the-real-world/0-start/Albertos.xcodeproj/xcshareddata/xcschemes/Albertos.xcscheme

Lines changed: 0 additions & 98 deletions
This file was deleted.

04-tdd-in-the-real-world/0-start/AlbertosUITests/AlbertosUITests.swift

Lines changed: 0 additions & 14 deletions
This file was deleted.

04-tdd-in-the-real-world/0-start/AlbertosUITests/Info.plist

Lines changed: 0 additions & 22 deletions
This file was deleted.

04-tdd-in-the-real-world/0-start/BuildPhases/xcsort

Lines changed: 0 additions & 58 deletions
This file was deleted.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
include:
2+
- ../../constants.yml
3+
targets:
4+
Albertos:
5+
type: application
6+
platform: iOS
7+
sources: [Albertos]
8+
scheme:
9+
testTargets: [AlbertosTests]
10+
AlbertosTests:
11+
target: Albertos
12+
type: bundle.unit-test
13+
platform: iOS
14+
sources: [AlbertosTests]
15+
settings:
16+
# No need for code signing in this demo, plus, it's the test target
17+
CODE_SIGNING_ALLOWED: NO
18+
dependencies:
19+
- target: Albertos

04-tdd-in-the-real-world/1-end/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ DerivedData
2929
#
3030
# Pods/
3131

32+
*.xcodeproj

0 commit comments

Comments
 (0)