@osfactory/har 0.49.0 → 0.49.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,8 +60,8 @@ source .env.agent.${AGENT_ID}
60
60
  # Build
61
61
  xcodebuild build -scheme MyApp -destination "$HARNESS_IOS_DESTINATION" CODE_SIGNING_ALLOWED=NO
62
62
 
63
- # Run unit tests
64
- xcodebuild test -scheme MyApp -destination "$HARNESS_IOS_DESTINATION" CODE_SIGNING_ALLOWED=NO
63
+ # Run unit tests — signed, or an app with entitlements traps at launch
64
+ xcodebuild test -scheme MyApp -destination "$HARNESS_IOS_DESTINATION"
65
65
 
66
66
  # Install and launch on this slot's device
67
67
  ./.har/agent-cli.sh ${AGENT_ID} install path/to/MyApp.app
@@ -118,6 +118,8 @@ process.stdout.write(JSON.stringify(arr));
118
118
  }
119
119
 
120
120
  # Quick (default): compile-only — use XCODEBUILD_BIN from .env.agent.<id> (written by launch)
121
+ # Nothing is installed or run, so CODE_SIGNING_ALLOWED=NO keeps the smoke build
122
+ # from needing a signing identity.
121
123
  run_step "build" '${XCODEBUILD_BIN:-xcodebuild} build \
122
124
  ${XC_FLAGS} \
123
125
  -scheme "${XC_SCHEME}" \
@@ -133,18 +135,20 @@ run_step "build" '${XCODEBUILD_BIN:-xcodebuild} build \
133
135
 
134
136
  if [ -n "$FULL" ]; then
135
137
  # Full: project-specific checks — add/remove/reorder steps for this repo.
138
+ # No CODE_SIGNING_ALLOWED=NO here, unlike the build step: tests install and run
139
+ # the host app on the simulator, and an unsigned app gets no entitlements. Apps
140
+ # using CloudKit, NSUbiquitousKeyValueStore, or push then trap at launch, before
141
+ # the test harness connects — the whole bundle is lost, not one test.
136
142
  run_step "unit-tests" '${XCODEBUILD_BIN:-xcodebuild} test \
137
143
  ${XC_FLAGS} \
138
144
  -scheme "${XC_SCHEME}" \
139
145
  -destination "${XC_DESTINATION}" \
140
146
  -derivedDataPath "${XC_DERIVED}" \
141
- CODE_SIGNING_ALLOWED=NO \
142
147
  | xcbeautify 2>/dev/null || ${XCODEBUILD_BIN:-xcodebuild} test \
143
148
  ${XC_FLAGS} \
144
149
  -scheme "${XC_SCHEME}" \
145
150
  -destination "${XC_DESTINATION}" \
146
- -derivedDataPath "${XC_DERIVED}" \
147
- CODE_SIGNING_ALLOWED=NO' || true
151
+ -derivedDataPath "${XC_DERIVED}"' || true
148
152
 
149
153
  # SwiftLint — optional, skip gracefully when not installed
150
154
  run_step "lint" "command -v \"${HARNESS_SWIFTLINT_CMD:-swiftlint}\" >/dev/null 2>&1 && \
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osfactory/har",
3
- "version": "0.49.0",
3
+ "version": "0.49.1",
4
4
  "description": "Open harness for reproducible multi-agent coding workflows",
5
5
  "keywords": [
6
6
  "har",