LoginSignup
2

More than 1 year has passed since last update.

[XCode, M1] no such module in simulator

Last updated at Posted at 2021-01-15

no such module 'RxSwift'の場合Podfileに以下を追加

TARGETS -> Build Settings -> Architectures -> Excluded Architecturesに「arm64」追加

post_install do |installer|
  installer.pods_project.build_configurations.each do |config|
    config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
  end
end

*実機にするときは「arm64」削除必要

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
What you can do with signing up
2