Re: Unit Test "runtime information does not match" private framework
Re: Unit Test "runtime information does not match" private framework
- Subject: Re: Unit Test "runtime information does not match" private framework
- From: Jerry Krinock <email@hidden>
- Date: Sun, 14 Jul 2013 07:58:20 -0700
On 2013 Jul 14, at 01:02, Joar Wingfors <email@hidden> wrote:
> The error message is probably misleading - there are other reasons for why you could fail like this, not related to GC.
Thank you, Joar. Yes, I'd concluded that.
> Please review your project settings, based on the information in this article:
There are two nontrivial project settings mentioned in that article. They are both Build Settings in the Test Bundle target…
• Bundle Loader. The article says to leave this empty for Logic Tests, and for Application Tests, set it to $(BUILT_PRODUCTS_DIR)/<app_name>.app/Contents/MacOS/<app_name>.
• Test Host. The article says to leave this empty for Logic Tests, and for Application Tests set it to $(BUNDLE_LOADER).
I'd already tried those, in all combinations, and also I've tried to set the Bundle Loader to the private framework instead of the app. None of this works.
In retrying all combinations, I've noticed another issue. When I add those non-empty settings for Application Tests, Xcode adds a second second target to Scheme > Builds. This second target is one that I use to build the application for Mac OS X 10.5. It won't build in Xcode 4.6, of course; to build this target I open the project in Xcode 3 on an older Mac. But once it's in there, I can't get rid of it. In Edit Scheme > Builds, if I select this 10.5 app target, the minus [-] button is disabled. Same thing if I expand it and try to delete any of its dependencies. Switching off the "Find Implicit Dependencies" checkbox does not help. In the Test Bundle target Build Phases, this 10.5 app target is *not* a dependency and is *not* linked. I have no idea where Xcode gets this idea. The only way I can get rid of this futile directive to build the 10.5 app target in the Test Scheme is to delete the Test Scheme and create a new one. But then when I set those two Build Settings, it comes back.
I hope someone has some good ideas on this!
Jerry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden