Skip to content

Commit

Permalink
Merge branch 'add-launch' into donot-add-xctrunner
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored Mar 26, 2024
2 parents a5c324d + e1000d7 commit 30e0088
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [7.5.4](https://github.com/appium/appium-xcuitest-driver/compare/v7.5.3...v7.5.4) (2024-03-25)


### Bug Fixes

* uncaughtException: maxObjectCount exceeded in listApplications ([#2355](https://github.com/appium/appium-xcuitest-driver/issues/2355)) ([6bfc5c5](https://github.com/appium/appium-xcuitest-driver/commit/6bfc5c5e501f14f770d17d3cbea04850451ed2d2))

## [7.5.3](https://github.com/appium/appium-xcuitest-driver/compare/v7.5.2...v7.5.3) (2024-03-25)


Expand Down
8 changes: 6 additions & 2 deletions lib/real-device.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ class RealDevice {
let installProxyService;
try {
installProxyService = await services.startInstallationProxyService(this.udid);
const apps = await installProxyService.listApplications();
const apps = await installProxyService.listApplications({
returnAttributes: ['CFBundleIdentifier', 'CFBundleExecutable']
});
if (!apps[bundleId]) {
log.info(`The bundle id '${bundleId}' did not exist`);
return false;
Expand Down Expand Up @@ -260,7 +262,9 @@ class RealDevice {
async getUserInstalledBundleIdsByBundleName(bundleName) {
const service = await services.startInstallationProxyService(this.udid);
try {
const applications = await service.listApplications({applicationType: 'User'});
const applications = await service.listApplications({
applicationType: 'User', returnAttributes: ['CFBundleIdentifier', 'CFBundleName']
});
return _.reduce(
applications,
(acc, {CFBundleName}, key) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"xcuitest",
"xctest"
],
"version": "7.5.3",
"version": "7.5.4",
"author": "Appium Contributors",
"license": "Apache-2.0",
"repository": {
Expand Down

0 comments on commit 30e0088

Please sign in to comment.