Skip to content

Commit 9888581

Browse files
Kristian D. Dimitrovpetekanev
Kristian D. Dimitrov
authored andcommitted
chore(tests) fix xcconfig test
1 parent 7b93bb7 commit 9888581

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/ios-project-service.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import { NodePackageManager } from "../lib/node-package-manager";
3333
import { assert } from "chai";
3434
import { IOSProvisionService } from "../lib/services/ios-provision-service";
3535
import { SettingsService } from "../lib/common/test/unit-tests/stubs";
36-
import { ProjectDataStub } from "../test/stubs";
36+
import { ProjectDataStub } from "./stubs";
3737
import temp = require("temp");
3838

3939
temp.track();
@@ -794,10 +794,11 @@ describe("Merge Project XCConfig files", () => {
794794
iOSProjectService = testInjector.resolve("iOSProjectService");
795795
projectData = testInjector.resolve("projectData");
796796
projectData.projectDir = projectPath;
797+
projectData.appResourcesDirectoryPath = path.join(projectData.projectDir, "app", "App_Resources");
797798

798799
iOSEntitlementsService = testInjector.resolve("iOSEntitlementsService");
799800

800-
appResourcesXcconfigPath = path.join(projectData.getAppResourcesDirectoryPath(), "iOS", "build.xcconfig");
801+
appResourcesXcconfigPath = path.join(projectData.appResourcesDirectoryPath, "iOS", "build.xcconfig");
801802
appResourceXCConfigContent = `CODE_SIGN_IDENTITY = iPhone Distribution
802803
// To build for device with XCode 8 you need to specify your development team. More info: https://developer.apple.com/library/prerelease/content/releasenotes/DeveloperTools/RN-Xcode/Introduction.html
803804
// DEVELOPMENT_TEAM = YOUR_TEAM_ID;

0 commit comments

Comments
 (0)