Skip to content

Commit e0e2557

Browse files
chore: fix unit tests for xcarchive
1 parent 3b06e60 commit e0e2557

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ios-project-service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,12 @@ describe("iOSProjectService", () => {
203203
if (hasCustomArchivePath) {
204204
archivePath = path.resolve(options.archivePath);
205205
} else {
206-
archivePath = path.join(projectPath, "platforms", "ios", "build", "archive", projectName + ".xcarchive");
206+
archivePath = path.join(projectPath, "platforms", "ios", "build", "Release-iphoneos", projectName + ".xcarchive");
207207
}
208208

209209
assert.ok(args.indexOf("archive") >= 0, "Expected xcodebuild to be executed with archive param.");
210210

211-
expectOption(args, "-archivePath", archivePath, hasCustomArchivePath ? "Wrong path passed to xcarchive" : "Default xcarchive path is wrong.");
211+
expectOption(args, "-archivePath", archivePath, hasCustomArchivePath ? "Wrong path passed to xcarchive" : "exports xcodearchive to platforms/ios/build/archive.");
212212
expectOption(args, "-project", path.join(projectPath, "platforms", "ios", projectName + ".xcodeproj"), "Path to Xcode project is wrong.");
213213
expectOption(args, "-scheme", projectName, "The provided scheme is wrong.");
214214

0 commit comments

Comments
 (0)