diff --git a/detox/ios/EarlGrey/EarlGrey.xcodeproj/project.pbxproj b/detox/ios/EarlGrey/EarlGrey.xcodeproj/project.pbxproj index bbe10f8cbb..7300e8be71 100755 --- a/detox/ios/EarlGrey/EarlGrey.xcodeproj/project.pbxproj +++ b/detox/ios/EarlGrey/EarlGrey.xcodeproj/project.pbxproj @@ -1000,6 +1000,8 @@ "-ObjC", "-framework", IOKit, + "-weak_framework", + XCTest, ); PRODUCT_BUNDLE_IDENTIFIER = com.google.earlgrey.EarlGrey; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -1046,6 +1048,8 @@ "-ObjC", "-framework", IOKit, + "-weak_framework", + XCTest, ); PRODUCT_BUNDLE_IDENTIFIER = com.google.earlgrey.EarlGrey; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -1087,10 +1091,7 @@ MODULEMAP_FILE = ""; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = NO; - OTHER_LDFLAGS = ( - "-weak_framework", - XCTest, - ); + OTHER_LDFLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = com.google.earlgrey.EarlGrey; PRODUCT_MODULE_NAME = EarlGrey; SDKROOT = iphoneos; @@ -1137,10 +1138,7 @@ MODULEMAP_FILE = ""; MTL_ENABLE_DEBUG_INFO = NO; ONLY_ACTIVE_ARCH = NO; - OTHER_LDFLAGS = ( - "-weak_framework", - XCTest, - ); + OTHER_LDFLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = com.google.earlgrey.EarlGrey; PRODUCT_MODULE_NAME = EarlGrey; SDKROOT = iphoneos;