<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in LockdowndClient.ts</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>8a424beb - [lint] Upgrade to Prettier v3, typescript-eslint to v6 (#23544)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/run/ios/appleDevice/client/LockdowndClient.ts#8a424beb</link>
        <description>[lint] Upgrade to Prettier v3, typescript-eslint to v6 (#23544)Why---Prettier 3 is out. Add support for it with this linter config.**Note for reviewer:** the first commit is the one with the actualchanges. The rest of this PR are changes to get the linter passing(mostly autofix).How---Update eslint-config-prettier and eslint-plugin-prettier. To addressdeprecation warnings, also update typescript-eslint/parser andtypescript-eslint/eslint-plugin.Because of an update to typescript-eslint/parser, we need to suppressdeprecation warnings (documented in a comment).Regenerated test snapshots. Due to the upgraded dependencies, typecastsand optional chaining are now auto-fixable by lint. This convertswarnings into autofixes.Test Plan---`yarn test` in the linter config. Run `expotools check --all --fix-lint--no-build --no-test --no-uniformity-check` to try this config on thewhole repo.---------Co-authored-by: Expo Bot &lt;34669131+expo-bot@users.noreply.github.com&gt;

            List of files:
            /expo/packages/@expo/cli/src/run/ios/appleDevice/client/LockdowndClient.ts</description>
        <pubDate>Fri, 11 Aug 2023 07:31:41 +0000</pubDate>
        <dc:creator>James Ide &lt;ide@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>eec3a87e - fix(cli): auto-detect the TLS version based on current node version (#21169)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/run/ios/appleDevice/client/LockdowndClient.ts#eec3a87e</link>
        <description>fix(cli): auto-detect the TLS version based on current node version (#21169)# WhyAfter debugging this issuehttps://github.com/byCedric/expo-monorepo-example/issues/84, it seemsthat we are having trouble with the internals of `expo run:ios`.What&apos;s happening here are two major things:1. Node 17+ is throwing an internal OpenSSL error when establishing asecure TLS connection to the iOS device. This is caused by the explicit`secureProtocol` option, which is set to `TLSv1_method`.2. We don&apos;t have any error event handlers when opening (secure) socketsto iOS devices.These two issues together result in `expo run:ios` not-installing theapp on the device. Luckily, it does build the app. But, due to themissing error handlers, we are swallowing the underlying error and theinstallation part is [stuck on apromise](https://github.com/expo/expo/blob/main/packages/%40expo/cli/src/run/ios/appleDevice/AppleDevice.ts#L143)that will never be resolved.Here is the chain that&apos;s getting blocked by issue 2 (caused by issue 1)- `clientManager.getMobileImageMounterClient`- `this.getServiceClient(&apos;com.apple.mobile.mobile_image_mounter&apos;,MobileImageMounterClient)`- `lockdowndClient.startService(name)` is invoked (from`MobileImageMounterClient`)- `LockdownProtocolClient.sendMessage` is invoked (with `StartService`,`com.apple.mobile.mobile_image_mounter`)- `ProtocolClient.sendMessage` is invoked- Socket TLS handshake fails, but the `socket.on(&apos;error&apos;)` is not set.So the error is never received.# How- Removed the explicit `TLSv1_method` from `tls.createSecureContext`- Added error handlers to surface underlying errorsAfter removing the fixed TLS method, it seems to use TLSv1.2 by default.# Test PlanTest `main` on Node 17+, while adding `enableTrace: true` and`socket.on(&apos;error&apos;, (error) =&gt; console.log(error));` to the changes Imade&gt; This should fail with an internal socket/openssl errorTest this PR on Node 16, and Node 18&gt; This should NOT fail# Checklist&lt;!--Please check the appropriate items below if they apply to your diff.This is required for changes to Expo modules.--&gt;- [ ] Documentation is up to date to reflect these changes (eg:https://docs.expo.dev and README.md).- [ ] Conforms with the [Documentation Writing StyleGuide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)- [ ] This diff will work correctly for `expo prebuild` &amp; EAS Build (eg:updated a module plugin).

            List of files:
            /expo/packages/@expo/cli/src/run/ios/appleDevice/client/LockdowndClient.ts</description>
        <pubDate>Mon, 13 Feb 2023 11:19:21 +0000</pubDate>
        <dc:creator>Cedric van Putten &lt;me@bycedric.com&gt;</dc:creator>
    </item>
<item>
        <title>bd710fa0 - [cli] fix getting UDID for network connected iOS devices (#20279)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/run/ios/appleDevice/client/LockdowndClient.ts#bd710fa0</link>
        <description>[cli] fix getting UDID for network connected iOS devices (#20279)

            List of files:
            /expo/packages/@expo/cli/src/run/ios/appleDevice/client/LockdowndClient.ts</description>
        <pubDate>Thu, 08 Dec 2022 09:21:51 +0000</pubDate>
        <dc:creator>Bartosz Kaszubowski &lt;gosimek@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>c4ef02ae - feat(cli): add `run:ios` command (#16662)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/run/ios/appleDevice/client/LockdowndClient.ts#c4ef02ae</link>
        <description>feat(cli): add `run:ios` command (#16662)* [wip] Added expo run:ios command* Clean up run:ios* feat(cli): add headless server mode* fix(cli): fix run:ios logic issues* Update CHANGELOG.md* Update packages/expo/CHANGELOG.mdCo-authored-by: Expo Bot &lt;34669131+expo-bot@users.noreply.github.com&gt;* clean up* refine fixture* refactor and test code signing* Update resolveOptionsAsync.ts* fix merge* added new impl* Update AppleDevice.ts* Added more tests* fixed e2e tests* lint fix* Update index-test.tsCo-authored-by: Expo Bot &lt;34669131+expo-bot@users.noreply.github.com&gt;

            List of files:
            /expo/packages/@expo/cli/src/run/ios/appleDevice/client/LockdowndClient.ts</description>
        <pubDate>Tue, 03 May 2022 20:55:31 +0000</pubDate>
        <dc:creator>Evan Bacon &lt;bacon@expo.io&gt;</dc:creator>
    </item>
</channel>
</rss>
