0
3

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.

Xcode12以降でシミュレータビルドできない時の対処法

Posted at

Xcode12以降でシミュレータビルドできない時の対処法

  • こちらはメモ的なものになります
  • いろいろ調べて対応したので残しておきます。

対応方法

project -> architectures -> Excluded Architectures

ここに

  • arm64を記入
  • Any SDKのままでもビルドできたけど、AnyiOS SDKの方が良いと思う

スクリーンショット 2021-01-25 11.49.30.png

Pods関係

  • これを記入する
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
    end
  end
end

参考

https://developer.apple.com/forums/thread/656509
https://stackoverflow.com/questions/63391793/xcode-12-build-target-in-wrong-order-for-simulator/63405201#63405201

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?