0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Mac App Storeでインストールがうまく行かない場合に確認するログ

Last updated at Posted at 2022-01-19

Macアプリの審査が通ってリリースしたけど、自分のMacにインストールできない!

macOSアプリを作って無事リリースに漕ぎ着けましたが、実際にApp Storeからインストールしようとしたらうまくいきませんでした。
App Storeのインストールログはどこか、と思って調べたら以下のパスでした。

/var/log/install.log

tail等で中身を確認して問題解決してください。

私の失敗理由

ちなみに私がインストールに失敗した理由は以下の通りでした。
今回作成したmacOS版はすでにリリースされているiOS版のデスクトップ版という位置付けで、まずはリリースをするという目的だったので、バージョンはiOS版より低いものでした。
で、ログの中に以下のようなメッセージを見つけました。

install.log(抜粋)
...
2022-01-19 10:05:35+09 mymac installd[1148]: PackageKit: Skipping component "com.example.myapp" (1.2.0-5.0.0-*) because the version 1.3.0-1.3.0-* is already installed at /Users/account/AndroidStudioProjects/my_app/ios/DerivedData/Runner/Build/Products/Debug-iphoneos/.XCInstall/MyApp.app.
...

AndroidStudioで作っていたiOSアプリのビルドフォルダを削除していなかった、というお粗末な内容でしたが、ログファイルを確認したおかげで解決できました。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?