Rust on ios working

This commit is contained in:
EthanShoeDev
2025-09-13 11:34:20 -04:00
parent a656d050e3
commit 9c6a692de0
2 changed files with 8 additions and 3 deletions

View File

@@ -89,5 +89,8 @@ nitrogen/
rust_modules/ rust_modules/
*.a *.a
android/ android/
ios/
cpp/ cpp/
src/ src/
*.xcframework
*.podspec

View File

@@ -1,5 +1,7 @@
{ {
"name": "@fressh/react-native-uniffi-russh", "name": "@fressh/react-native-uniffi-russh",
"homepage": "https://github.com/EthanShoeDev/fressh",
"license": "UNKNOWN",
"description": "Uniffi bindings for russh", "description": "Uniffi bindings for russh",
"version": "0.0.1", "version": "0.0.1",
"main": "./lib/module/index.js", "main": "./lib/module/index.js",
@@ -30,7 +32,7 @@
"!**/.*" "!**/.*"
], ],
"scripts": { "scripts": {
"ubrn:ios": "ubrn build ios --and-generate && (cd example/ios && pod install)", "ubrn:ios": "ubrn build ios --and-generate",
"ubrn:android": "ubrn build android --and-generate --release", "ubrn:android": "ubrn build android --and-generate --release",
"ubrn:web": "ubrn build web", "ubrn:web": "ubrn build web",
"ubrn:checkout": "ubrn checkout", "ubrn:checkout": "ubrn checkout",
@@ -39,7 +41,7 @@
"typecheck": "tsc", "typecheck": "tsc",
"lint": "eslint \"**/*.{js,ts,tsx}\"", "lint": "eslint \"**/*.{js,ts,tsx}\"",
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
"prepare": "pnpm run ubrn:checkout && pnpm run ubrn:android && bob build", "prepare": "pnpm run ubrn:checkout && pnpm run ubrn:ios && bob build",
"release": "release-it --only-version" "release": "release-it --only-version"
}, },
"keywords": [ "keywords": [