Keep the iOS app module named Klepon in Debug
The Debug product name "Klepon Debug" made the module Klepon_Debug, so `@testable import Klepon` in the test target could not resolve. Set PRODUCT_MODULE_NAME so the module name no longer follows the product name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Seto Elkahfi committed
Oct 4, 2026 at 23:56 UTC
33710fcd4bede585f56c8e86709aecbf850e2c23
1 file changed
+3
project.yml
+3
@@ -187,6 +187,9 @@ targets:
187
settings:
188
base:
189
PRODUCT_BUNDLE_IDENTIFIER: ai.splitfire.klepon
190
+ # Keep the module name stable across configurations so the tests can
191
+ # `@testable import Klepon` even though the Debug product is "Klepon Debug".
192
+ PRODUCT_MODULE_NAME: Klepon
193
MARKETING_VERSION: "1.0.0"
194
CURRENT_PROJECT_VERSION: 1
195
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon