{"id":20617945,"url":"https://github.com/applitools/ios-applitools-framework-swift-package","last_synced_at":"2025-09-26T14:30:42.473Z","repository":{"id":217091535,"uuid":"743052662","full_name":"applitools/ios-applitools-framework-swift-package","owner":"applitools","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-25T07:47:46.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-25T08:40:42.333Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/applitools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-01-14T07:04:16.000Z","updated_at":"2025-06-25T07:47:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"ef321f0b-fe19-49e6-9c46-fdbb1082a5fe","html_url":"https://github.com/applitools/ios-applitools-framework-swift-package","commit_stats":null,"previous_names":["applitools/ios-applitools-framework-swift-package"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/applitools/ios-applitools-framework-swift-package","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fios-applitools-framework-swift-package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fios-applitools-framework-swift-package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fios-applitools-framework-swift-package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fios-applitools-framework-swift-package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/applitools","download_url":"https://codeload.github.com/applitools/ios-applitools-framework-swift-package/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fios-applitools-framework-swift-package/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277090728,"owners_count":25759203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-26T02:00:09.010Z","response_time":78,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T12:06:36.655Z","updated_at":"2025-09-26T14:30:42.225Z","avatar_url":"https://github.com/applitools.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ios-applitools-framework-swift-package\n\nIntegrate the Applitools iOS framework into your iOS application to enable powerful visual testing with the Applitools Eyes SDK, such as the [Eyes XCUI SDK](https://applitools.com/tutorials/quickstart/native-mobile/xcui) or one of the supported Appium Applitools Eyes SDKs.\n\n\n**Add this package to your project using SPM** \n\n1. In Xcode, select your project, then select the \"PROJECT\" target. \n2. Click the \"Package Dependencies\" tab.\n3. Click the \"+\" button to add a new package.\n4. In the \"Search or Enter Package URL\" field, enter the following URL:  \n   `https://github.com/applitools/ios-applitools-framework-swift-package`\n5. Click \"Add Package\".\n6. In the \"Choose Package Products for...\" window, in the \"Add to Target\" column, select your application target. \n7. Click \"Finish\".\n\n**Verify the package is correctly installed**\n\n1. Build and run your iOS application.\n2. In the Console log, confirm the presence of a line similar to:  \n   *Applitools_iOS ... loaded*  \n\n**Use the Applitools iOS framework together with the Applitools SDK**\n\nOnce added to your iOS application project, the Applitools iOS framework is loaded automatically; no additional code is required in your app code.  In your UI test code:  \n\n1. Import the Applitools SDK.  \n2. Before launching the app, call the `setMobileCapabilities()` method with your Applitools API key from a test setup method.\n\n\n**Make sure the package is only used for testing purposes** \n\nThe Applitools iOS framework is always used in conjunction with the Applitools Eyes SDK for visual and UI testing.\n\nAs of Xcode 16, the Swift Package Manager does not support conditionally adding package dependencies for specific configurations. To exclude this framework from production builds (e.g., App Store release builds): \n\n1. In Xcode, select your application target then click the \"Build Settings\" tab.\n2. Under \"Build Options\" \u003e \"Excluded Source File Names\", select your production configuration (e.g. \"Release\"), then click the + button.\n3. Type `Applitools*` then press ENTER.\n4. Build and run your iOS application for a Release configuration.\n5. Verify that no line similar to \"*Applitools_iOS ... loaded*\" appears in the Console log.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplitools%2Fios-applitools-framework-swift-package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapplitools%2Fios-applitools-framework-swift-package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplitools%2Fios-applitools-framework-swift-package/lists"}