Skip to content

Commit

Permalink
fix build path
Browse files Browse the repository at this point in the history
  • Loading branch information
mickmaccallum committed Aug 12, 2024
1 parent 460be20 commit 99bfbc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/utils/buildSample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ export const runBuildSample = async () => {
...options,
allowProvisioningUpdates: allowProvisioning,
allowProvisioningDeviceRegistration: allowProvisioning,
scheme: 'ParraDemo',
project: 'sample/ParraDemo.xcodeproj',
scheme: 'ParraDemoApp',
project: 'sample/ParraDemoApp.xcodeproj',
};

logger.info("Building sample app...");

await build(fullOptions);

logger.info(`Installing app on booted device`);
await runCommand(`xcrun simctl install booted "build/unit-tests/derivedData/Build/Products/Debug-iphonesimulator/ParraDemo.app"`)
await runCommand(`xcrun simctl install booted "build/unit-tests/derivedData/Build/Products/Debug-iphonesimulator/ParraDemoApp.app"`)
logger.info(`Launching app...`);
await runCommand(`xcrun simctl launch booted "com.parra.parra-ios-client"`)
}

0 comments on commit 99bfbc4

Please sign in to comment.