You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/DEVELOP.md
+29-16Lines changed: 29 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@
39
39
> [!IMPORTANT]
40
40
> You should check wether or not you have the tools in use in the project like Fastlane, SwiftLint, SwiftFormat, etc.
41
41
> You can have a look for example in the THIRD_PARTY.md file which lists any dependencies and tools we use at different levels (SDK, design system toolbox app, project).
42
-
> Have a look on the locks file to know which versions we are using (Gemfile, Gemfile.lock, etc.).
42
+
> Have a look on the locks file to know which versions we are using (Podfile, Podfile.lock, Gemfile, Gemfile.lock, etc.).
43
43
44
44
> [!IMPORTANT]
45
45
> We use a lot Fastlane for its automatic features and also to wrap to Shell command lines in order to have the same command to trigger
@@ -59,6 +59,9 @@ brew install rbenv
59
59
# Use Bundler to install a major part of dependencies (thanks to Gemfile and Gemfile.lock files)
60
60
bundle install
61
61
62
+
# Use CocoaPods to install other dependencies not available as rubygems (thanks to Podfile and Podfile.lock files)
63
+
bundle exec pod install --repo-update
64
+
62
65
# Update your references
63
66
brew update
64
67
@@ -153,9 +156,10 @@ You should not add in your VCS tool the *{$PROJET}.xcworkspace/contents.xcworksp
153
156
To build the demo application follow those steps:
154
157
155
158
1.`cd DesignToolbox`
156
-
2. Open *DesignToolbox.xcworkspace*
157
-
3. Select *DesignToolbox* scheme
158
-
4. Build and run the Application on your device ou simulator
159
+
2.`bundle exec pod install`
160
+
3. Open *DesignToolbox.xcworkspace*
161
+
4. Select *DesignToolbox* scheme
162
+
5. Build and run the Application on your device ou simulator
159
163
160
164
> [!TIP]
161
165
> You can also move the folder containing a clone of the [Swift package repository](https://github.com/Orange-OpenSource/ouds-ios) from the *Finder* to the design system toolbox Xcode project so as to have a local reference of the package in this demo app.
@@ -211,10 +215,11 @@ The snapshots tests are made to test the rendering of the components and tokens,
211
215
212
216
To run these snapshots tests follow some steps:
213
217
1.`cd DesignToolbox`
214
-
2. Open *DesignToolbox.xcworkspace*
215
-
3. Select *DesignToolboxSnapshotsTests* scheme
216
-
4. Select *iPhone 17 Pro* simulator (the device used to tests and views rendering) (iOS 26.0 (23A339))
217
-
5. Run tests (Product -> Test)
218
+
2.`bundle exec pod install`
219
+
3. Open *DesignToolbox.xcworkspace*
220
+
4. Select *DesignToolboxSnapshotsTests* scheme
221
+
5. Select *iPhone 17 Pro* simulator (the device used to tests and views rendering) (iOS 26.0 (23A339))
222
+
6. Run tests (Product -> Test)
218
223
219
224
Or run in terminal:
220
225
```shell
@@ -293,10 +298,11 @@ The project contains some UI tests made to test the behavior of components.
293
298
294
299
To run these UI tests follow some steps:
295
300
1. `cd DesignToolbox`
296
-
2. Open *DesignToolbox.xcworkspace*
297
-
3. Select *DesignToolboxUITests* scheme
298
-
4. Select *iPhone 17 Pro* simulator (the device used to tests and views rendering) (iOS 26.0 (23A339))
299
-
5. Run tests (Product -> Test)
301
+
2. `bundle exec pod install`
302
+
3. Open *DesignToolbox.xcworkspace*
303
+
4. Select *DesignToolboxUITests* scheme
304
+
5. Select *iPhone 17 Pro* simulator (the device used to tests and views rendering) (iOS 26.0 (23A339))
305
+
6. Run tests (Product -> Test)
300
306
301
307
Or run in terminal:
302
308
```shell
@@ -309,9 +315,10 @@ The project contains some unit tests made to test the behavior of some utils in
309
315
310
316
To run these UI tests follow some steps:
311
317
1.`cd DesignToolbox`
312
-
2. Open *DesignToolbox.xcworkspace*
313
-
3. Select *DesignToolboxUnitTests* scheme
314
-
4. Run tests in left pane (target *DesignToolboxUnitTests*)
318
+
2.`bundle exec pod install`
319
+
3. Open *DesignToolbox.xcworkspace*
320
+
4. Select *DesignToolboxUnitTests* scheme
321
+
5. Run tests in left pane (target *DesignToolboxUnitTests*)
315
322
316
323
Or run in terminal:
317
324
```shell
@@ -362,7 +369,13 @@ Sometimes dependencies should be updated, with for example warnings of [Renovate
362
369
363
370
Here is the list of files to update to keep the project clean:
364
371
- CHANGELOG (to note for releases the update of the version)
365
-
- Of course, update and save in your VCS the new states of the _Package.swift_ or _Gemfile_ for example (and do not forget locks!)
372
+
- Of course, update and save in your VCS the new states of the _Podfile_, _Package.swift_ or _Gemfile_ for example (and do not forget locks!)
373
+
374
+
Maybe you will need to update your pods repo before if you updated a Pod:
0 commit comments