iOS, Android, Android Lite

小賢 發表在 痞客邦 留言(0) 人氣()


小賢 發表在 痞客邦 留言(0) 人氣()


Codex-CLI 接本地模型 (qwen3.6:latest or gemma4 31b)

Terminal中輸入:ollama launch codex

如果出現:

Error loading config.toml: --profile `ollama-launch` cannot be used while /Users/{{user}}/.codex/config.toml contains legacy `profile = "ollama-launch"` or `[profiles.ollama-launch]` config; move those settings into /Users/bosian/.codex/ollama-launch.config.toml and remove the legacy profile selector/table. See https://developers.openai.com/codex/config-advanced#profiles for more information.

Error: exit status 1

小賢 發表在 痞客邦 留言(0) 人氣()


OpenClaw (龍蝦),接地端模型,

在macOS中,使用Parallels desktop 建立macOS 虛擬機,

在裡面(macOS虛擬機中),安裝OpenClaw,

然後接Host(外面),Ollama中的地端模型。

中間遇到一些問題:

小賢 發表在 痞客邦 留言(0) 人氣()


mcp config json 主要是參考這篇:https://dev.to/arshtechpro/xcode-263-use-ai-agents-from-cursor-claude-code-beyond-4dmi

Xcode 設定中打開Xcode tools (MCP server):

複製MCP config json:

{"mcpServers":{"xcode-tools":{"command":"xcrun","args":["mcpbridge"]}}}

小賢 發表在 痞客邦 留言(0) 人氣()

安裝:

https://www.youtube.com/watch?v=9Xx_ZrymBQk

https://docs.flutter.dev/tools/vs-code

https://docs.flutter.dev/tools/android-studio

查看版本:

小賢 發表在 痞客邦 留言(0) 人氣()

[Swift] Swift 6.2 改善開發者體驗

當初 Swift 5 -> Swift 6 時,

開發者需面臨必加的3樣東西

1.nonisolated (不是在當前的context,通常為非MainThread場景)

2.@MainActor (標記為 回來的context為MainThread),

3.MainActor.assumeIsolated { // 放置必需在MainThread中執行的程式的同步方法,缺點是進來的如果 非MainThread 則會 Crash }

小賢 發表在 痞客邦 留言(0) 人氣()

[iOS] 使用Github action包版

大部份由ChatGPT產生及從中學習,另一部份參考自 之前的文章 shell script 包版,及同事的yml sample

dev.yml 如下:

name: "dev.yml"
on:
# 手動觸發包版

小賢 發表在 痞客邦 留言(0) 人氣()

Script 及readme.md 由ChatGPT產生

在切branch, pull, merge時,會自動 pod install

一次性安裝 (雙擊 setup_hooks.command 安裝 git hook)

  • post-checkout (主要是這個)

小賢 發表在 痞客邦 留言(0) 人氣()

[Xcode cloud] CI script 由 Chat

想要在Xcode cloud clone git repo下來的時候,都會安裝 cocoapods 及 pod install,避免build失敗

git repot 放置位置: `ci_scripts/ci_post_clone.sh`

# ci_post_clone.sh

#!/bin/sh
echo "✅ [ci_post_clone.sh] 開始安裝 CocoaPods 和 Bundler..."

小賢 發表在 痞客邦 留言(0) 人氣()

[n8n] Docker n8n 使用本地whisper指令

YAML:

version: "3.8"

services:

n8n:

container_name: n8n-whisper

小賢 發表在 痞客邦 留言(0) 人氣()

[AI] 本地語音轉文字

OpenAI whisper 免費的本地語音轉文字

whisper test.mp3 --model turbo

https://github.com/openai/whisper

小賢 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。