🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@limrun/cli

Package Overview
Dependencies
Maintainers
4
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@limrun/cli - npm Package Compare versions

Comparing version
0.8.3
to
0.8.4
+1
-1
package.json
{
"name": "@limrun/cli",
"version": "0.8.3",
"version": "0.8.4",
"description": "Use remote XCode, iOS Simulator, Android Emulator and more to build and test apps from Linux, Windows or macOS.",

@@ -5,0 +5,0 @@ "bin": {

@@ -73,8 +73,11 @@ ---

When the Metro server runs locally, expose it with `lim ios reverse` first. Use the simulator-facing host printed by that command in both `REACT_NATIVE_PACKAGER_HOSTNAME` and the encoded dev-client URL.
When Metro runs locally, prefer a same-port reverse tunnel. Expo dev-client can derive or rediscover Metro URLs, so matching the remote tunnel port and local Metro port avoids stale or unreachable advertised ports. Use the simulator-facing host printed by `lim ios reverse` in both `REACT_NATIVE_PACKAGER_HOSTNAME` and the encoded dev-client URL.
```bash
# app.json: "scheme": "myapp" or fallback "slug": "myapp" -> exp+myapp
lim ios reverse 57090:8081 --id <ios-instance-id>
REACT_NATIVE_PACKAGER_HOSTNAME=<reverse-host> npx expo start --dev-client --host lan --port 8081
lim ios reverse 57090:57090 --id <ios-instance-id>
REACT_NATIVE_PACKAGER_HOSTNAME=<reverse-host> \
npx expo start --dev-client --host lan --port 57090
lim xcode build . --configuration Debug \

@@ -84,2 +87,11 @@ --dev-server-url 'myapp://expo-development-client/?url=http%3A%2F%2F<reverse-host>%3A57090'

`--dev-server-url` may not auto-open the bundle after install. If the app launches without connecting to Metro, open the same URL explicitly:
```bash
lim ios open-url --id <ios-instance-id> \
'myapp://expo-development-client/?url=http%3A%2F%2F<reverse-host>%3A57090'
```
Mismatched tunnels such as `57090:8081` can work for plain TCP, but Expo dev-client is stricter because multiple URLs may be derived or advertised. Only use mismatched ports after verifying every dev-client URL points to the remote tunnel port, not the local Metro port.
Every successful build will automatically re-install the app in iOS Simulator and re-launch it.

@@ -203,1 +215,3 @@

- **Bundle ID discovery.** If you don't know the bundle ID, check the Xcode project files or run `lim ios list-apps` after a successful build.
- **Expo dev-client redbox `Operation not permitted` usually means the simulator cannot reach the advertised Metro URL.** First use same-port reverse mapping such as `57090:57090`; do not add iOS ATS/local-network Info.plist exceptions unless a same-port tunnel still fails.
- **Monorepos need the workspace root.** Build from the repo root and pass `--expo-app-dir <app-path>` so the remote resolver sees the lockfile and workspace metadata.