-
Hello!
I understand that this problem does not directly relate to the axmol engine, but there is probably a problem in the project settings that is causing this to happen. Perhaps someone has an idea why this could be.
Steps to Reproduce:
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 4 replies
-
@Dazlonar Out of curiosity, which version of Cocos2d-x are you migrating from? |
Beta Was this translation helpful? Give feedback.
-
Just did a test using the steps you provided.
You can see the location if you click on "Pods_axmoltest" under the Frameworks branch within the Xcode project. Building it now resulted in the same error: So, in order to see if the paths are the issue, I added this to the Re-generate the xcode project Re-run Open So, the search path may be the issue. What I'm not entirely sure about is what you would need to set |
Beta Was this translation helpful? Give feedback.
-
@Dazlonar Try he following to see if it works for you. Add this to your
You also need to add For example:
In my case, the podfile is located in the root folder of the project, and the Xcode project that cmake created is
|
Beta Was this translation helpful? Give feedback.
-
@Dazlonar |
Beta Was this translation helpful? Give feedback.
-
@Dazlonar Based on what @bintester posted, this also works:
I'm not sure if this or the |
Beta Was this translation helpful? Give feedback.
-
@rh101 @bintester
In this case,
But Thank you very much you helped me a lot! |
Beta Was this translation helpful? Give feedback.
@Dazlonar Based on what @bintester posted, this also works:
set(CMAKE_XCODE_ATTRIBUTE_FRAMEWORK_SEARCH_PATHS "\${BUILD_DIR}/\$(CONFIGURATION)\$(EFFECTIVE_PLATFORM_NAME)")
I'm not sure if this or the
CONFIGURATION_BUILD_DIR
method is the correct way to deal with this specific issue, but at least there is a solution to it.