However, I noticed the documentation says (highlighted in the attached picture) that this setting will be ignored when we choose "Generic iOS Device/Any Device" as the run destination, since it doesn't define any specific architecture. During archiving applications usually take the "Release" configuration and since this will be creating a release build considering only the active architecture of the current run destination, with this approach, we may lose the slices for armv7, armv7s, etc. One thing I was concerned about that what will be the impact of this when we actually archive the libraries and applications.
Target.build_configurations.each do |config|Ĭonfig.build_settings = "YES"
podspec, you can always update the settings during installation of the pods: post_install do |installer| However, if you don't have access to the. However, this could be necessary for successful linting of podspecs. So it should be the responsibility of the consumer project to override the setting by some means. For some reasons, I dont want to update to iOS 13.3.1 (Im on 13.2.3) and so far, tvOS 12 beta profile worked to prevent pop ups to update OTA but now it seems this profile is no longer valid and it seems tvOS 13 can no longer be installed on newer devices so, is there another way to prevent. I personally don't like the second line since pods shouldn't pollute the target project and it could be overridden in the target settings, itself. You have to do the same for the Pod project until all the Cocoa pod vendors are done adding following in their Podspec.
If you are using custom XCConfig files, you can simply add this line for excluding simulator architecture. To do that, navigate to Build Settings of your project and add Any iOS Simulator SDK with value arm64 inside Excluded Architecture. Basically, you have to exclude arm64 for the simulator architecture, both from your project and the Pod project,