Another phenomenon I have is that ukrun has trouble finding bundle if there is a space in the test bundle name (for example "myframework test.bundle". Results seem rather random.. But stable if I have no space in test bundle name.
-- Johannes Lundberg Project leader and lead developer of Mirama OS (previously Viking OS) BRILLIANTSERVICE CO., LTD. My blog <http://brilliantobjc.blogspot.com> Mirama homepage <http://www.brilliantservice.co.jp/viking/> blog<http://hmdviking.blogspot.jp> Company homepage <http://www.brilliantservice.co.jp> On Thu, Oct 10, 2013 at 11:14 AM, Lundberg, Johannes < [email protected]> wrote: > Hi Quentin > > Thanks for the help! > > My situation is I have a framework with one target(1). I add another > target(2) which is the UnitKit test bundle. > > To get it working smoothly I had to add a run script to the target(1) that > I am testing > > rsync -av --ignore-existing > "$TARGET_BUILD_DIR/$PRODUCT_NAME.$WRAPPER_EXTENSION" > "$DEVELOPER_FRAMEWORKS_DIR/" > > Otherwise ukrun won't find the framework. Are there any options to pass to > ukrun to have it look for the framework/bundle/app in a certain location? > (for example the $TARGET_BUILD_DIR?) > > > references are invalid > > I'm having a similar problem with Xcode 5. The frameworks added by the > template have the wrong path. I can only find two options in places to add > the frameworks. > Frameworks > OtherFrameworks > > Depending on where i put them in the template the path is different. I > can't seem to be able to get it to link to frameworks in > /Library/Frameworks. It's either the path of the SDK or Developer > frameworks in Xcode.app. > > > > -- > Johannes Lundberg > Project leader and lead developer of Mirama OS (previously Viking OS) > BRILLIANTSERVICE CO., LTD. > > My blog <http://brilliantobjc.blogspot.com> > Mirama homepage <http://www.brilliantservice.co.jp/viking/> > blog<http://hmdviking.blogspot.jp> > Company homepage <http://www.brilliantservice.co.jp> > > > On Wed, Oct 9, 2013 at 10:20 PM, Quentin Mathé <[email protected]> wrote: > >> Hi Johannes, >> >> Thanks for the patch, I just committed your changes in r9227. >> >> To install everything (UnitKit.framework, ukrun and the templates), you >> can now do: >> >> cd Frameworks/UnitKit/Source >> sudo xcodebuild -target ukrun -configuration Release clean install >> >> Le 8 oct. 2013 à 08:12, Lundberg, Johannes a écrit : >> >> > Here's new version that sets the "is unit test" flag so that the target >> name is filled in automatically ("$name + Tests") when creating the test >> bundle. >> >> I'm not observing this behavior, but I'm using Xcode 4, so this might >> explain why. >> >> Also if I create a project using the template, the Foundation.framework >> and UnitKit.framework references are invalid. I'm not sure if there is a >> way to tweak the template plist, so Xcode looks for these frameworks in the >> right places. >> >> As a side note… Running tests in the build phase gives an output that >> looks a bit better, but if you need to debug the tests, the best is to run >> 'ukrun -q' using a scheme. >> I added a shared scheme for 'ukrun' in the UnitKit.xcodeproj that shows >> how to do so (see TestEtoileFoundation in EtoileFoundation.xcodeproj as >> another example). >> >> Cheers, >> Quentin. >> _______________________________________________ >> Etoile-dev mailing list >> [email protected] >> https://mail.gna.org/listinfo/etoile-dev >> > >
_______________________________________________ Etoile-dev mailing list [email protected] https://mail.gna.org/listinfo/etoile-dev
