LoginSignup
0
0

More than 5 years have passed since last update.

cordovaでネイティブプラグイン作ろうとして、iOSのバージョンで怒られる時の対処法

Last updated at Posted at 2016-09-24

怒られた内容

ld: warning: object file (/Users/junichi/work/cordova/cmdtest/platforms/ios/CmdTest/Plugins/com.example.hello/HelloMrubyPlugin/libmruby.a(array.o)) was built for newer iOS version (10.0) than being linked (8.0)

対処方法

platforms/ios/cordova/build.xconfigを編集する。

IPHONEOS_DEPLOYMENT_TARGET = 10.0

IPHONEOS_DEPLOYMENT_TARGETを変更する。

追記

リンクエラーが出て、これに対処していたが、
どうやら、この警告だけでは、ビルド自体完了して、
実機でも動く模様。

関連記事

0
0
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
0