Archive for the ‘未分類’ Category

Sandbox: bash deny file-read-data /Scripts/copy-www-build-step.sh

2024年11月24日

XCodeのProject > Info > Build Options > User Script Sandboxing を No に設定することで解決

https://stackoverflow.com/questions/77660771/understanding-build-error-xcode-sandbox-bash30970-deny1-file-read-data

https://developer.apple.com/documentation/xcode/build-settings-reference#User-Script-Sandboxing

Error installing BoringSSL-GRPC error: RPC failed; curl 18 Transferred a partial file

2024年11月1日


https://stackoverflow.com/questions/77962714/pod-update-install-fails-at-installing-boringssl-grpc-0-0-24

git config --global http.postBuffer 100000M

を実行したのち pod install 再実行したが別のエラー

error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)

が発生

Ignoring ffi-1.16.3 because its extensions are not built. Try: gem pristine ffi –version 1.16.3

その前に上記のメッセージがあったので

sudo gem pristine ffi –version 1.16.3

を実行、再度 pod install したところ解決

ネットワークが遅い場合は

https://github.com/desktop/desktop/issues/18972

XCode build error FIRFirestoresettings.mm ABSL_CONST_INIT An attribute list cannot appear here

2024年10月31日

https://github.com/firebase/firebase-ios-sdk/issues/11840


cordova-plugin-firebasex を10.0.0以降へアップデートして解決

XCodetls_record.cc unsupported option ‘-G’ for target ‘arm64-apple-ios9.0-simulator’

2024年10月31日

BoringSSL-GRPC/src/ssl/tls_record.cc unsupported option ‘-G’ for target ‘arm64-apple-ios9.0-simulator’

https://stackoverflow.com/questions/78608693/boringssl-grpc-unsupported-option-g-for-target-arm64-apple-ios15-0

私の今回のケースではPodfile への追加で解消

VSCode – Python venv が自動的にActivateされない。’.vscode’ フォルダもない

2024年10月15日

https://stackoverflow.com/questions/58433333/auto-activate-virtual-environment-in-visual-studio-code

まず Ctrl + Shift + P and enter Preferences: Open Workspace Settings (JSON)
を開く、そして settings.json に
“python.terminal.activateEnvironment”: true
を追加する

Python: PIL がみつからない

2024年10月12日

https://stackoverflow.com/questions/8863917/importerror-no-module-named-pil

‘pillow’ ではなく ‘Pillow’ をインストールする

XCode アプリをReleaseビルドで開始する

2024年10月6日

メニュー> Product > Scheme > Edit Scheme… > Run > Info > Build Configuration で “Release” を選択

trunk URL couldn’t be downloaded: https://cdn.cocoapods.org/Specs/0/3/5/Firebase/11.1.0/Firebase.podspec.json Response: Error in the HTTP2 framing layer

2024年10月2日

https://github.com/CocoaPods/CocoaPods/issues/11939#issuecomment-1668999607


1- At the top of the Podfile add this line
source 'https://github.com/CocoaPods/Specs.git'
2- Remove the Podfile.lock file
3- pod repo remove trunk
4- pod install

Kotlin compilation fails: Could not connect to Kotlin compile daemon

2024年10月2日

https://youtrack.jetbrains.com/issue/KT-31602/Could-not-connect-to-Kotlin-compile-daemon

Edit
/gradle.properties
to increase ‘-Xmx’ of ‘org.gradle.jvmargs’

#org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=512m

yarn.lock is created in user’s home directory, and prevent ‘yarn install’ any folder under user’s home

2024年10月2日

https://github.com/yarnpkg/berry/issues/4362

It seems like a bug of yarn. After update yarn by ‘npm install –global yarn’, and remove yarn related files in home directory, my issue was fixed