Skip to content

Commit a203eb6

Browse files
authored
Merge pull request Expensify#66659 from Expensify/jules-addXCODEDebugging
[NO QA] Add XCode debugging steps to HybridApp docs
2 parents dfbbfcc + 5b5293b commit a203eb6

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

contributingGuides/HYBRID_APP.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,22 @@ This error may appear after execution of `npm run pod-install`. In this case you
232232
1. cd to `Mobile-Expensify/ios`
233233
2. run `pod repo remove trunk`
234234

235+
### Error: `Build service could not create build operation`
236+
This might also appear when trying to clean build folder.
237+
1. Manually clean `rm -rf ~/Library/Developer/Xcode/DerivedData`
238+
2. Quit XCode and macOS build services:
239+
1. Close XCode
240+
2. `sudo pkill -9 -f xcodebuild`
241+
3. `sudo pkill -9 -f XCBBuildService`
242+
4. `sudo pkill -9 -f com.apple.dt.Xcode`
243+
5. Restart XCode
244+
3. Further cleaning:
245+
1. `rm -rf ~/Library/Developer/Xcode/ModuleCache.noindex`
246+
2. `rm -rf ~/Library/Caches/com.apple.dt.Xcode`
247+
3. `rm -rf NewExpensify.xcodeproj/project.xcworkspace/xcuserdata`
248+
4. `rm -rf NewExpensify.xcodeproj/project.xcworkspace/xcshareddata`
249+
4. Restart your Mac
250+
235251
### How to build a `release` iOS app?
236252
If you'd like to build HybridApp in `release` configuration, the best way to do it is to:
237253
1. open XCode

cspell.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,8 +688,11 @@
688688
"zxcv",
689689
"zxldvw",
690690
"مثال",
691+
"pkill",
691692
"pnrs",
692-
"POLICYCHANGELOG_ADD_EMPLOYEE"
693+
"POLICYCHANGELOG_ADD_EMPLOYEE",
694+
"xcshareddata",
695+
"xcuserdata"
693696
],
694697
"ignorePaths": [
695698
"src/languages/de.ts",

0 commit comments

Comments
 (0)