Skip to content

Commit

Permalink
Use xcconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
bgoncal committed Feb 7, 2024
1 parent 534a731 commit fa536ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 144 deletions.
4 changes: 4 additions & 0 deletions Configuration/HomeAssistant.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
CLANG_ANALYZER_NONNULL = YES
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES
GCC_NO_COMMON_BLOCKS = YES

// Add ThreadNetwork weak reference for iOS and macOS
OTHER_LDFLAGS[sdk=iphoneos*] = $(inherited) -weak_framework ThreadNetwork
OTHER_LDFLAGS[sdk=macosx*] = $(inherited) -weak_framework ThreadNetwork
144 changes: 0 additions & 144 deletions HomeAssistant.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7042,54 +7042,6 @@
"$(inherited)",
"-fprofile-instr-generate",
);
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"$(inherited)",
"-ObjC",
"-l\"c++\"",
"-l\"z\"",
"-framework",
"\"Alamofire\"",
"-framework",
"\"Eureka\"",
"-framework",
"\"MBProgressHUD\"",
"-framework",
"\"PromiseKit\"",
"-framework",
"\"Security\"",
"-framework",
"\"SystemConfiguration\"",
"-framework",
"\"UIKit\"",
"$(inherited)",
"-fprofile-instr-generate",
"-weak_framework",
"\"ThreadNetwork\"",
);
"OTHER_LDFLAGS[sdk=macosx*]" = (
"$(inherited)",
"-ObjC",
"-l\"c++\"",
"-l\"z\"",
"-framework",
"\"Alamofire\"",
"-framework",
"\"Eureka\"",
"-framework",
"\"MBProgressHUD\"",
"-framework",
"\"PromiseKit\"",
"-framework",
"\"Security\"",
"-framework",
"\"SystemConfiguration\"",
"-framework",
"\"UIKit\"",
"$(inherited)",
"-fprofile-instr-generate",
"-weak_framework",
"\"ThreadNetwork\"",
);
PRODUCT_MODULE_NAME = HomeAssistant;
PRODUCT_NAME = "Home Assistant β";
SKIP_INSTALL = NO;
Expand Down Expand Up @@ -7305,54 +7257,6 @@
"$(inherited)",
"-fprofile-instr-generate",
);
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"$(inherited)",
"-ObjC",
"-l\"c++\"",
"-l\"z\"",
"-framework",
"\"Alamofire\"",
"-framework",
"\"Eureka\"",
"-framework",
"\"MBProgressHUD\"",
"-framework",
"\"PromiseKit\"",
"-framework",
"\"Security\"",
"-framework",
"\"SystemConfiguration\"",
"-framework",
"\"UIKit\"",
"$(inherited)",
"-fprofile-instr-generate",
"-weak_framework",
"\"ThreadNetwork\"",
);
"OTHER_LDFLAGS[sdk=macosx*]" = (
"$(inherited)",
"-ObjC",
"-l\"c++\"",
"-l\"z\"",
"-framework",
"\"Alamofire\"",
"-framework",
"\"Eureka\"",
"-framework",
"\"MBProgressHUD\"",
"-framework",
"\"PromiseKit\"",
"-framework",
"\"Security\"",
"-framework",
"\"SystemConfiguration\"",
"-framework",
"\"UIKit\"",
"$(inherited)",
"-fprofile-instr-generate",
"-weak_framework",
"\"ThreadNetwork\"",
);
PRODUCT_MODULE_NAME = HomeAssistant;
PRODUCT_NAME = "Home Assistant Δ";
SKIP_INSTALL = NO;
Expand Down Expand Up @@ -7396,54 +7300,6 @@
"$(inherited)",
"-fprofile-instr-generate",
);
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"$(inherited)",
"-ObjC",
"-l\"c++\"",
"-l\"z\"",
"-framework",
"\"Alamofire\"",
"-framework",
"\"Eureka\"",
"-framework",
"\"MBProgressHUD\"",
"-framework",
"\"PromiseKit\"",
"-framework",
"\"Security\"",
"-framework",
"\"SystemConfiguration\"",
"-framework",
"\"UIKit\"",
"$(inherited)",
"-fprofile-instr-generate",
"-weak_framework",
"\"ThreadNetwork\"",
);
"OTHER_LDFLAGS[sdk=macosx*]" = (
"$(inherited)",
"-ObjC",
"-l\"c++\"",
"-l\"z\"",
"-framework",
"\"Alamofire\"",
"-framework",
"\"Eureka\"",
"-framework",
"\"MBProgressHUD\"",
"-framework",
"\"PromiseKit\"",
"-framework",
"\"Security\"",
"-framework",
"\"SystemConfiguration\"",
"-framework",
"\"UIKit\"",
"$(inherited)",
"-fprofile-instr-generate",
"\"ThreadNetwork\"",
"-weak_framework",
);
PRODUCT_MODULE_NAME = HomeAssistant;
PRODUCT_NAME = "Home Assistant";
SKIP_INSTALL = NO;
Expand Down

0 comments on commit fa536ae

Please sign in to comment.