LoginSignup
10
2

More than 3 years have 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」削除必要

10
2
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
10
2