grab / grab/cocoapods-binary-cache
Error: Unable to find matching slice for arm64
- Dominant language
- Ruby
- Stars
- 488
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
### Checklist
- [x] Updated the plugin to the latest version
- [x] I've read the [Contribution Guidelines](https://github.com/grab/cocoapods-binary-cache/blob/master/CONTRIBUTING.md)
- [x] I've searched for [existing GitHub issues](https://github.com/grab/cocoapods-binary-cache/issues)
### Issue Description
#### Command executed
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
```
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 go here]
### Environment
Xcode 13.4.1 and Xcode 14.2
macOS Monterey 12.6.2 (21G320)
#### Plugin version
Using cocoapods-core 1.11.3
Using cocoapods 1.11.3
Using cocoapods-binary-cache 0.1.14
#### Installed CocoaPods plugins
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
Contributor guide
Assessment
This issue has not been assessed yet.