Open vishnunairvp opened 2 years ago
Try deleting your derived data!
I tried deleting derived data but it didnt solved the problem.
To people who face the same issue, keep only a single podfile with multiple targets (native xcode project and unity xcode project). Refer the link for example https://stackoverflow.com/a/42480097/11061458 .
I have an iOS native project and a Unity project.
What i am trying to achieve? - On a button click from the native ios app, i want to show unity in which both the native and ios project contains firebase dependencies. What i am actually getting? - When i try to run the app in xcode, i am getting following errors (almost 4000 similar error but for different Targets): "Multiple commands produce '/Users/M_742794/Library/Developer/Xcode/DerivedData/MarkersLab-gpaeablwazuyowbfwysavwxcotrv/Build/Products/Debug-iphoneos/BoringSSL-GRPC/openssl_grpc.framework/Headers/cipher.h': 1) Target 'BoringSSL-GRPC' (project 'Pods') has copy command from '/Users/M_742794/Developer/iOS/Development/iOS AR Build/Pods/BoringSSL-GRPC/src/include/openssl/cipher.h' to '/Users/M_742794/Library/Developer/Xcode/DerivedData/MarkersLab-gpaeablwazuyowbfwysavwxcotrv/Build/Products/Debug-iphoneos/BoringSSL-GRPC/openssl_grpc.framework/Headers/cipher.h' 2) Target 'BoringSSL-GRPC' (project 'Pods') has copy command from '/Users/M_742794/Developer/iOS/Development/unity-AR-Build/Pods/BoringSSL-GRPC/src/include/openssl/cipher.h' to '/Users/M_742794/Library/Developer/Xcode/DerivedData/MarkersLab-gpaeablwazuyowbfwysavwxcotrv/Build/Products/Debug-iphoneos/BoringSSL-GRPC/openssl_grpc.framework/Headers/cipher.h'"
Steps i followed for unity integration to my native project -
followed the steps mentioned in this uaal link https://github.com/Unity-Technologies/uaal-example/blob/master/docs/ios.md properly like:
I have firebase dependencies in my native xcode project as well as unity xcode project and the podfiles are as below:
Unity Xcode project Podfile:
Native Xcode project Podfile:
I have installed the pods for both the projects and started building in xcode.
The build is failing with number of "Multiple commands produce" errors:
The errors might be causing due to firebase dependency in both native and unity projects but could not find proper solution for this issue. I am expecting solutions from this group for my problem, Thanks!