開発もリリースも同じバンドルIDで開発を進めていたが、PUSH通知でつまづいた。
なので、Apple Developer の Profiles に開発用のバンドルIDで作成が必要。
p8 ファイルは1つで大丈夫なのかな。
cordova-ios6.1 以降から splashScreen の設定が変わった。
ファイル名とファイルサイズは固定。
2x* universal any any 2732x2732 Default@2x~universal~anyany.png
2x universal com any 1278x2732 Default@2x~universal~comany.png
2x universal com com 1334x750 Default@2x~universal~comcom.png
3x* universal any any 2208x2208 Default@3x~universal~anyany.png
3x universal any com 2208x1242 Default@3x~universal~anycom.png
3x universal com any 1242x2208 Default@3x~universal~comany.png
scale idiom width height size filename
2x* iphone any any 1334x1334 Default@2x~iphone~anyany.png
2x iphone com any 750x1334 Default@2x~iphone~comany.png
2x iphone com com 1334x750 Default@2x~iphone~comcom.png
3x* iphone any any 2208x2208 Default@3x~iphone~anyany.png
3x iphone any com 2208x1242 Default@3x~iphone~anycom.png
3x iphone com any 1242x2208 Default@3x~iphone~comany.png
2x* ipad any any 2732x2732 Default@2x~ipad~anyany.png
2x ipad com any 1278x2732 Default@2x~ipad~comany.png
config.xml
==========================================================
<platform name="ios">
<splash src="res/screen/ios/Default@2x~universal~anyany.png" />
<splash src="res/screen/ios/Default@3x~universal~anyany.png" />
<preference name="SplashScreen" value="screen" />
<preference name="ShowSplashScreenSpinner" value="false"/>
<preference name="FadeSplashScreenDuration" value="0" />
<!-- <preference name="SplashScreenDelay" value="0"/> -->
</platform>
icon と splash 画面のファイル作成
icon.png 1024*1024
splash.png 2732*2732
のファイルを用意
未インストール時は以下でコマンドを追加
npm install cordova-res-generator -g
resources フォルダに上記 png を配置
cordova-res-generator
でリサイズされたファイルが作成される
No version of NDK matched the requested version 21.0.6113669. Versions available locally: 22.1.7171670
android Studio でプロジェクトを実行するために、NDKやgradleをupdateしてしまったため、既存のcordova プロジェクトのビルドでエラーになった。
NDKの古いバージョンを入れるか、gradle を古いバージョンにするか・・・
とりあえず、android Studio の File -> Settings -> Android SDK -> SDK Tools から NDK(Side by Side)を外したところビルドは通った。
これからどのように対応していくべきか・・・
Dreamweaver 拡張子追加
バージョンアップする度に初期化されるのを何とかしたいのだが・・・
.php 以外の拡張子も .php と同じエディタレイアウトにする方法。
C:\Users\[ユーザー名]\AppData\Roaming\Adobe\Dreamweaver 2021\ja_JP\Configuration\DocumentTypes\MMDocumentTypes.xml
<documenttype id="PHP_MySQL" servermodel="PHP MySQL" internaltype="Dynamic" winfileextension="xxx,php,php3,php4,php5,phtml" macfileextension="xxx,php,php3,php4,php5,phtml" file="Default.php" writebyteordermark="false" mimetype="text/html">
C:\Users[ユーザー名]\AppData\Roaming\Adobe\Dreamweaver 2021\ja_JP\Configuration\Extensions.txt
にも念のために追加しておく
cordova-plugin-wkwebview-engine/CDVWKWebViewEngine.m:104:80: Property ‘userAgent’ not found on object of type ‘CDVViewController *’
UIWebView が WKWebView に変わって追加した
plugin がエラー?
iOS@6.2.0 にしたので組み込まれたのかな?
とりあえず、以下でエラーがなくなった。
cordova plugin rm cordova-plugin-wkwebview-engine
ITMS-90034: Missing or invalid signature
1年ぶりにiOSアプリを更新。証明書を作成、プロビジョニングファイルも作成。
更新日付にも問題ない。
なのに、アーカイブ&アップロードすると ITMS-90034: Missing or invalid signature のエラーがメールで届いていた。
証明書が正しくないとのことだが、全く問題ないように思う。
3,4回再度ダウンロードして申請するが同じ。
結果的に、 xcode での Project -> clean か、OSをアップデートしたからかの
どちらかで解消された。
Failed to install ‘cordova-plugin-firebasex’: Error: pod: Command failed with exit code 1 久しぶりにビルドしたら・・・
以前にも発生していたので、軽い気持ちですぐに対応できると考えていた。
pod repo update
cordova platform rm ios
cordova platform add ios
だが、全く直らない。
cordova を 9 にしたり、 10にしたり、
iOS5.1.1 にしてみたり、 iOS6.2.0 にしてみたり、
cordova-plugin-firebasex@latest-cli 版をいれてみたり、
何をしてもエラーが消えない。
だが、正しく動作するプロジェクトもある。
比較してみると。
config.xml にミスが・・・
<preference name=”deployment-target” value=”1″ />
だと、ターゲットOSが古すぎてダメみたい。
きちんと指定すれば、エラー解消。
ターゲット自体を指定しなくても良かったのかもしれない。
<preference name=”deployment-target” value=”12.1″ />
以前はエラーにならなかったのに・・・
unable to install xcode
Unity から xcode を出力時、unable to install xcode のエラーで
端末にインストールできなかった。
理由はよくわかっていないが
証明書設定の Signing & Capabilities の設定で
Release と Debug で設定を変えているとうまくいかない。
All の状態で Automatically manage signing で
Release と Debug ともに同じ状態にしておくと転送できた。
アップロードできませんでした プライバシー ポリシーが必要な権限(android.permission.CAMERA)が APK または Android App Bundle で使用されています。
androidmanifest.xml が正しくないのかなと勘違いしたんだけど
androidmanifest.xml に android.permission.CAMERA が記載されているので
Google Play Console サイトより
アプリのコンテンツ → プライバシー ポリシー
より、プライバシーポリシーのURLを設定する必要がある
