15
11

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 5 years have passed since last update.

Cordovaでinfo.plistもしくはxcarchiveがないって言われた時の対処法

Last updated at Posted at 2018-10-13

#エラー

Cordova開発でiOSエミュレーター起動時に

~ios/build/emulator/--appname.app--/Info.plist file not found.

もしくは、build ios、run ios時に

error: archive not found at path '/Users/~/platforms/ios/appname.xcarchive'

みたいなエラーがでる

対処法

エミュレーターの場合は実行時に

cordova emulate ios --target="--device--" --buildFlag="-UseModernBuildSystem=0"

ビルド、もしくは実機テストする場合も実行時に

cordova run ios --buildFlag='-UseModernBuildSystem=0'
cordova build ios --buildFlag='-UseModernBuildSystem=0'

###とにかく

--buildFlag='-UseModernBuildSystem=0'

これがミソらしい

15
11
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
15
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?