Rebrand from Casera/MyCrib to honeyDue
Total rebrand across KMM project: - Kotlin package: com.example.casera -> com.tt.honeyDue (dirs + declarations) - Gradle: rootProject.name, namespace, applicationId - Android: manifest, strings.xml (all languages), widget resources - iOS: pbxproj bundle IDs, Info.plist, entitlements, xcconfig - iOS directories: Casera/ -> HoneyDue/, CaseraTests/ -> HoneyDueTests/, etc. - Swift source: all class/struct/enum renames - Deep links: casera:// -> honeydue://, .casera -> .honeydue - App icons replaced with honeyDue honeycomb icon - Domains: casera.treytartt.com -> honeyDue.treytartt.com - Bundle IDs: com.tt.casera -> com.tt.honeyDue - Database table names preserved Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
# Fix MyCribTests Target Configuration
|
||||
# Fix HoneyDueTests Target Configuration
|
||||
|
||||
## The Problem
|
||||
|
||||
The tests are failing with "No target application path specified" because the test target's `TEST_HOST` setting is hardcoded to a wrong path:
|
||||
|
||||
```
|
||||
TEST_HOST = /Users/treyt/Desktop/code/MyCrib/MyCribKMM/iosApp/build/Release-iphoneos/MyCrib.app//MyCrib
|
||||
TEST_HOST = /Users/treyt/Desktop/code/HoneyDue/HoneyDueKMM/iosApp/build/Release-iphoneos/HoneyDue.app//HoneyDue
|
||||
```
|
||||
|
||||
This path doesn't exist when running tests in Debug mode on the simulator.
|
||||
@@ -14,13 +14,13 @@ This path doesn't exist when running tests in Debug mode on the simulator.
|
||||
|
||||
1. **Open the project in Xcode:**
|
||||
```bash
|
||||
cd /Users/treyt/Desktop/code/MyCrib/MyCribKMM/iosApp
|
||||
cd /Users/treyt/Desktop/code/HoneyDue/HoneyDueKMM/iosApp
|
||||
open iosApp.xcodeproj
|
||||
```
|
||||
|
||||
2. **Select the MyCribTests target:**
|
||||
2. **Select the HoneyDueTests target:**
|
||||
- Click on the project in the Project Navigator (blue icon at top)
|
||||
- Select **MyCribTests** from the TARGETS list
|
||||
- Select **HoneyDueTests** from the TARGETS list
|
||||
|
||||
3. **Go to Build Settings:**
|
||||
- Click the **Build Settings** tab
|
||||
@@ -34,11 +34,11 @@ This path doesn't exist when running tests in Debug mode on the simulator.
|
||||
- Double-click the value field
|
||||
- Change from:
|
||||
```
|
||||
/Users/treyt/Desktop/code/MyCrib/MyCribKMM/iosApp/build/Release-iphoneos/MyCrib.app//MyCrib
|
||||
/Users/treyt/Desktop/code/HoneyDue/HoneyDueKMM/iosApp/build/Release-iphoneos/HoneyDue.app//HoneyDue
|
||||
```
|
||||
- To:
|
||||
```
|
||||
$(BUILT_PRODUCTS_DIR)/MyCrib.app/MyCrib
|
||||
$(BUILT_PRODUCTS_DIR)/HoneyDue.app/HoneyDue
|
||||
```
|
||||
- Press Enter
|
||||
|
||||
@@ -63,12 +63,12 @@ This path doesn't exist when running tests in Debug mode on the simulator.
|
||||
After making these changes, run:
|
||||
|
||||
```bash
|
||||
xcodebuild -project iosApp.xcodeproj -target MyCribTests -showBuildSettings | grep TEST_HOST
|
||||
xcodebuild -project iosApp.xcodeproj -target HoneyDueTests -showBuildSettings | grep TEST_HOST
|
||||
```
|
||||
|
||||
Should output:
|
||||
```
|
||||
TEST_HOST = $(BUILT_PRODUCTS_DIR)/MyCrib.app/MyCrib
|
||||
TEST_HOST = $(BUILT_PRODUCTS_DIR)/HoneyDue.app/HoneyDue
|
||||
```
|
||||
|
||||
NOT a hardcoded absolute path.
|
||||
|
||||
Reference in New Issue
Block a user