-
Notifications
You must be signed in to change notification settings - Fork 102
Can't merge user_target_xcconfig for pod targets #161
Comments
@thomaskwan, are there any issues besides the Note: LibTorch-Lite is C++14 and hermes-engine is C++17 (IIRC). I am not aware of any way to fix this besides patching libraries locally. If anyone knows a fix, please let me know or submit a PR |
@raedle thanks for getting back. When I run "npx react-native run-ios", I get the following errors
Running on the actual phone is fine tho. Not sure if my original reported messages are related the simulator issue or not. Are we supposed to be able to run it on Simulator? Thanks |
@thomaskwan try running your Xcode in Rosetta mode. Go to your Application folder, double-tap on Xcode icon and select "Get Info". Select the option |
Also, could you try opening the workspace in Xcode, clean the Derived Data directory and rebuild everything? |
@shahidjabbar thanks for the idea. I tried Rosetta mode and cleaning the derived data directory and that did not help. I read from another project (https://code.videolan.org/videolan/VLCKit/-/issues/498) that user_target_xcconfig has been deprecated and should be avoided. |
Here is my Podfile. There are some options that you might want to turn on or off:
|
Version
LibTorch-Lite (1.12.0), react-native-pytorch-core (0.2.2)
Problem Area
react-native-pytorch-core (core package)
Steps to Reproduce
Environment:
8.3.1
Integrating client project
Pod installation complete! There are 60 dependencies from the Podfile and 51 total pods installed.
[!] Can't merge user_target_xcconfig for pod targets: ["LibTorch-Lite", "Core", "Torch", "hermes-engine"]. Singular build setting CLANG_CXX_LANGUAGE_STANDARD has different values.
[!] Can't merge user_target_xcconfig for pod targets: ["LibTorch-Lite", "Core", "Torch", "hermes-engine"]. Singular build setting CLANG_CXX_LIBRARY has different values.
[!] Can't merge user_target_xcconfig for pod targets: ["LibTorch-Lite", "Core", "Torch", "hermes-engine"]. Singular build setting CLANG_CXX_LANGUAGE_STANDARD has different values.
[!] Can't merge user_target_xcconfig for pod targets: ["LibTorch-Lite", "Core", "Torch", "hermes-engine"]. Singular build setting CLANG_CXX_LIBRARY has different values.
[!] Can't merge user_target_xcconfig for pod targets: ["LibTorch-Lite", "Core", "Torch", "hermes-engine"]. Singular build setting CLANG_CXX_LANGUAGE_STANDARD has different values.
[!] Can't merge user_target_xcconfig for pod targets: ["LibTorch-Lite", "Core", "Torch", "hermes-engine"]. Singular build setting CLANG_CXX_LIBRARY has different values.
Expected Results
Dont expect to see the "Can't merge user_target_xcconfig for pod targets" messagesDon't
Code example, screenshot, or link to repository
No response
The text was updated successfully, but these errors were encountered: