[SWIFT] I can't build if I set the build destination to a simulator with XCode12!

If you set the build destination to a simulator, you cannot build!

It seems that the build system has changed from XCode12, building for iOS Simulator, but linking in object file built for iOS, for architecture arm64 It seems that some projects cannot be built due to an error.

Solutions

It seems that arm64 should be removed from Architectures.

Build Settings > Architectures > Excluded Architectures > Any iOS Simulator SDK = arm64

CocoaPods settings

If there is an error in the CocoaPods library, add ↓ to Podfile.

Podfile


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

Recommended Posts

I can't build if I set the build destination to a simulator with XCode12!
I tried to build the environment of PlantUML Server with Docker
[Ruby] I tried to diet the if statement code with the ternary operator
I tried to build a Firebase application development environment with Docker in 2020
Set the time of LocalDateTime to a specific time
I tried to set tomcat to run the Servlet.
I tried to break a block with java (1)
Rspec: I want to test the post-execution state when I set a method on subject
[Rails] I want to display the link destination of link_to in a separate tab
I want to hit the API with Rails on multiple docker-composes set up locally
What to do if the Rails server can't start
I tried to decorate the simple calendar a little
I want to dark mode with the SWT app
I want to monitor a specific file with WatchService
[Note] I suddenly can't build with Docker for windows.
I want to add a delete function to the comment function
I can't input Japanese with VS code (Visual Studio Code) of Ubuntu 18.04.5! ?? If you want to download VS Code to Ubuntu, go to the official website! !!
[JMH] What to do if the JMH Gradle Plugin says FAILURE: Build failed with an exception. A failure occurred while executing me.champeau.gradle.IsolatedRunner [Gradle]
I want to Flash Attribute in Spring even if I set a reverse proxy! (do not do)
[Rails] What to do if you can't get an error message with the errors method
Implemented a strong API for "I want to display ~~ on the screen" with simple CQRS
I want to return a type different from the input element with Java8 StreamAPI reduce ()
I can't find the docker image after updating to docker desktop 2.4.0.0
How to take a screenshot with the Android Studio emulator
I tried to create a java8 development environment with Chocolatey
I tried to modernize a Java EE application with OpenShift.
[Rails] I tried to create a mini app with FullCalendar
I made a plugin to execute jextract with Gradle task
I want to call a method and count the number
I want to create a form to select the [Rails] category
I tried to build the environment little by little using docker
What I was addicted to with the Redmine REST API
Even in Java, I want to output true with a == 1 && a == 2 && a == 3
A memo to build Jitsi Meet on Azure with docker-compose
I want to give a class name to the select attribute
Build a Node-RED environment with Docker to move and understand
I tried to build the environment of WSL2 + Docker + VSCode
I want to distinct the duplicated data with has_many through
I tried to create a padrino development environment with Docker
How to set up a proxy with authentication in Feign
I tried upgrading from CentOS 6.5 to CentOS 7 with the upgrade tool
I want to pass the startup command to postgres with docker-compose.
What to do if you can't use the rails command
How to change the file name with Xcode (Refactor Rename)
In iOS14 (xcode12 build), if the contentInset.top of WKWebView is set to a certain value or more, the bug that scrolls to the bottom while loading webView for some reason?
I tried to express the result of before and after of Date class with a number line
How to build an environment with Docker, which is the minimum required to start a Rails application
I tried to take a look at the flow of Android development environment construction with Android Studio
How to deal with the type that I thought about writing a Java program for 2 years
Create a playground with Xcode 12
Try to imitate the idea of a two-dimensional array with a one-dimensional array
I tried to solve the problem of "multi-stage selection" with Ruby
A story that I struggled to challenge a competition professional with Java
Do I need a test if I do DDD in a language with types?
I want to create a chat screen for the Swift chat app!
I want to make a button with a line break with link_to [Note]
What if I write a finally clause in the try-with-resources syntax?
I tried to illuminate the Christmas tree in a life game
What to do if validation doesn't work with the update action
I want to return to the previous screen with kotlin and java!
I tried to implement the image preview function with Rails / jQuery