-
Notifications
You must be signed in to change notification settings - Fork 3
EarlGrey
bootstraponline edited this page Mar 14, 2017
·
16 revisions
- Change custom framework's
DYLIB_INSTALL_NAME_BASEfrom@rpathto@executable_path-
CustomFrameworktarget →Build Settings→Dynamic Library Install Name Base
-
- Add custom framework to
CopyFilesBuildPhasein the app test target-
EarlGrey.frameworkmust also be in this Copy Files phase
-
- Update
DYLD_INSERT_LIBRARIESenvironment variable in the test target scheme to@executable_path/EarlGrey.framework/EarlGrey:@executable_path/CustomEarlGrey.framework/CustomEarlGrey-
Product→Scheme→Manage Schemes...→Edit...→Test→Arguments→Environment Variables
-