Skip to content

Commit

Permalink
Merge pull request #28 from tchapgouv/27-build-tchap-x-development-ha…
Browse files Browse the repository at this point in the history
…s-a-bad-infoplist-file-suite

Fix UnitTest target build that smashed Dev-target info.plist
  • Loading branch information
NicolasBuquet authored Nov 14, 2024
2 parents 78f92ab + bed53b0 commit a0c03a0
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TchapX/SupportingFiles/target-unitTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ schemes:
coverageTargets:
- TchapX-Development
testPlans:
- path: UnitTests.xctestplan
- path: ../UnitTests/SupportingFiles/UnitTests.xctestplan
# Don't set it as defaultPlan to avoid conflict with ElementX defaultPlan.
defaultPlan: false

Expand All @@ -34,7 +34,7 @@ targets:
- target: TchapX-Development

info:
path: ../development/SupportingFiles/Info.plist
path: ../UnitTests/SupportingFiles/Info.plist

settings:
base:
Expand Down
22 changes: 22 additions & 0 deletions TchapX/UnitTests/SupportingFiles/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
File renamed without changes.

0 comments on commit a0c03a0

Please sign in to comment.