Postmanはhttp2に未対応なのでAPNsへのPOSTができない

2024年2月5日

https://stackoverflow.com/questions/45965619/apns-provider-api-and-postman

https://gist.github.com/greencoder/16d1f8d7b0fed5b49cf64312ce2b72cc

上記のリンクで紹介されている curl のサンプルを参考に、curl ではPOSTできた。

curl -v \
-d ‘{“aps”:{“alert”:{“title”:”title”,”subtitle”:”subtitle”,”body”:”body”}}}’ \
-H “apns-topic: <bundle id>” \
-H “apns-priority: 5” \
-H “Authorization: Bearer <JWT>” \
–http2 \
https://api.development.push.apple.com/3/device/<device token>

android opencv build error “ninja: fatal: chdir to ‘…/platforms/android/opencv/.cxx/cmake/release/x86’ – No such file or directory”

2024年2月5日

ninja: fatal: chdir to ‘…/platforms/android/opencv/.cxx/cmake/release/x86’ – No such file or directory

https://stackoverflow.com/questions/45219049/android-studio-cmake-error-build-command-failed
以下の対応で解決
Build > “Refresh linked C++ project”

Objective-C(iOS)でスレッド処理するには?

2024年2月5日

https://stackoverflow.com/questions/27375134/how-to-use-the-background-thread-in-objective-c

dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
// Write your code here
});

Couldn’t find Qt4/5/6 — will not build xpdf

2024年1月31日
https://stackoverflow.com/questions/15639781/how-to-find-the-qt5-cmake-module-on-windows

xpdf の CMakeList.txt に
set (CMAKE_PREFIX_PATH “D:\\Qt\\5.15.2\\msvc2019_64”)
を追加して解決

Cordova カメラプラグインの使用後にXCodeのデバッガが切断される

2024年1月29日

https://forums.developer.apple.com/forums/thread/681037

.lldbinit を作成して1行追加する方法で、ひとまず解決した様子…

ディスプレイのスケーリング対応

2024年1月23日

https://stackoverflow.com/questions/70976583/get-real-screen-resolution-using-win32-api

https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getdpiforwindow?source=recommendations

https://learn.microsoft.com/en-us/windows/win32/api/windef/ne-windef-dpi_awareness

GoogleMLKit – DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead

2024年1月18日

https://stackoverflow.com/questions/77219650/dt-toolchain-dir-cannot-be-used-to-evaluate-library-search-paths-use-toolchain

Flutterではないが、私のケースではpodの削除と再インストールで解決↑

You don’t have write permissions for the /usr/bin directory. while installing Cocoapods

2024年1月18日

https://stackoverflow.com/questions/50422786/you-dont-have-write-permissions-for-the-usr-bin-directory-while-installing-co

私のケースは下の対応で解決

sudo gem install cocoapods -n /usr/local/bin

package R does not exist

2023年12月1日

https://stackoverflow.com/questions/12986301/package-r-does-not-exist

いろいろ原因がありようですが、今回は AndroidManifest.xml にpackageがなかったので、設定したらし治りました。

Flutter iOS – debug build crash when start by tapping icon

2023年7月20日

https://github.com/flutter/flutter/issues/60657