Skip to content

Error: Unable to find matching slice for arm64 #117

Description

@Buju77

Checklist

Issue Description

Command executed

Details
bundle exec pod binary prebuild && bundle exec pod deintegrate && bundle exec pod install

What went wrong?

When I open my workspace and compile my target for iPhone SE simulator on my M1 MacBook, Xcode fails with:

ld: framework not found RTSettings

And then there is this warning for the RTSettings aggregate target (my pod dependency where I turned on binary cache):

warning: [CP] RTSettings.xcframework: Unable to find matching slice in 'ios-arm64 ios-x86_64-simulator' for the current build architectures (arm64) and platform (-iphonesimulator).

Why is ios-arm64-simulator slice missing?

I'm getting the same error with Xcode 13.4.1 and 14.2

Podfile

Details
plugin 'cocoapods-binary-cache'

config_cocoapods_binary_cache(
  cache_repo: {
      "default" => {
          "remote" => "ssh://git@.../cocoapods-binary-cache.git",
          "local" => "~/.cocoapods-binary-cache/"
      }
  },
  excluded_pods: ["CocoaLumberjack"],
  bitcode_enabled: true,
  device_build_enabled: true,
  xcframework: true
)

platform :ios, '13.0'
inhibit_all_warnings!
use_frameworks!

source 'ssh://git@...'
source 'https://cdn.cocoapods.org/'

target 'PlaygroundSimple' do
  pod 'runtastic-iphone-settings', '~> 2.0', :binary => true

  target 'UnitTests' do
  end
end

Stack trace

Details
[Details go here]

Environment

Xcode 13.4.1 and Xcode 14.2
macOS Monterey 12.6.2 (21G320)

Plugin version

Details
Using cocoapods-core 1.11.3
Using cocoapods 1.11.3
Using cocoapods-binary-cache 0.1.14

Installed CocoaPods plugins

Details
Installed CocoaPods Plugins:
    - cocoapods-binary-cache : 0.1.14 (pre_install and post_install hooks)
    - cocoapods-deintegrate  : 1.0.5
    - cocoapods-plugins      : 1.0.0
    - cocoapods-run-scripts  : 1.0.1 (pre_install and post_install hooks)
    - cocoapods-search       : 1.0.1
    - cocoapods-simplifier   : 1.2.0
    - cocoapods-trunk        : 1.6.0
    - cocoapods-try          : 1.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions