Le 10 oct. 2013 à 04:14, Lundberg, Johannes a écrit : > 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
There are two solutions… The easy one (valid for Xcode 4/5) is to put the UnitKit.xcodeproj inside your project workspace, this way Xcode will build UnitKit just for your project and automatically find it. The other advantage is that if you make changes to UnitKit or UnitKit gets updated, you project will automatically use the latest version of UnitKit (without reinstalling it). The other solution is to change the DYLD_FRAMEWORK_PATH which is used to find frameworks. For Xcode 3, I was using the following: export DYLD_FRAMEWORK_PATH=$LIBRARY_SEARCH_PATHS:$TARGET_BUILD_DIR in the target Run script build phase. For a scheme, you can probably do something similar using the environments variable in the Run section. > 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. ok. Let me know if you figure it out. Cheers, Quentin. _______________________________________________ Etoile-dev mailing list [email protected] https://mail.gna.org/listinfo/etoile-dev
