I have a custom platform that I use in my regular App target program, as well as the corresponding UnitTest target. It turns out that this confuses the runtime in such a way that it cannot choose the correct implementation, since it has several options:
objc[35580]: Class AClass is implemented in both ../MyApp.app/MyApp and ../MyApp.app/MyAppTests. One of the two will be used. Which one is undefined.
This, of course, leads to strange behavior if you try to check the hierarchy of object classes or perform other class checks.
So, this boils down to the following two questions:
- I do not see similar magazines, for example. UIKit, but this structure is also associated with both goals. Did I compile the framework incorrectly?
- Is this just a trivial configuration issue that I missed?
PS: I already checked similar messages, such as 1 or 2 , but although everything is configured as described, the problem remains.
user816328
source
share