leavez / cocoapods-binary

integrate pods in form of prebuilt frameworks conveniently, reducing compile time
MIT License
1.3k stars 207 forks source link

Errors on realm when run app #150

Open aelam opened 3 years ago

aelam commented 3 years ago
error: Multiple commands produce '/Users/ST22956/Library/Developer/Xcode/DerivedData/demo-dhbuwwmhnykrrcakkwemvgtkdzep/Build/Products/Debug-iphonesimulator/Realm/Realm.framework.dSYM':
1) That command depends on command in Target 'Realm' (project 'Pods'): script phase “[CP] Copy dSYMs”
2) That command depends on command in Target 'Realm' (project 'Pods'): script phase “[CP] Copy dSYMs”
$ bundle exec pod env | egrep 'CocoaPods |Xcode|cocoapods-binary'
   CocoaPods : 1.10.1
       Xcode : 12.4 (12D4e)
Executable Path: /Users/ST22956/Documents/workspace/cocoapods-binary/demo/.bundler_cache/ruby/2.7.0/bin/pod
cocoapods-binary      : 0.4.4
plugin 'cocoapods-binary'
winstondu commented 1 year ago

This problem happens because you may be using another dependency that depended on and build a different realm version. For example, RxRealm.

You can also as a hack do: https://github.com/leavez/cocoapods-binary/issues/136