Skip to content

Commit

Permalink
iOS: Search for the library depending on the target
Browse files Browse the repository at this point in the history
  • Loading branch information
badboy committed Feb 12, 2021
1 parent b9184a6 commit 70b9135
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions glean-core/ios/Glean.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -774,6 +774,9 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
"LIBRARY_SEARCH_PATHS[sdk=iphoneos*][arch=arm64]" = "../../target/aarch64-apple-ios/debug";
"LIBRARY_SEARCH_PATHS[sdk=iphonesimulator*][arch=arm64]" = "../../target/aarch64-apple-ios-sim/debug";
"LIBRARY_SEARCH_PATHS[sdk=iphonesimulator*][arch=x86_64]" = "../../target/x86_64-apple-ios/debug";
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = org.mozilla.Glean;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand Down Expand Up @@ -807,6 +810,9 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
"LIBRARY_SEARCH_PATHS[sdk=iphoneos*][arch=arm64]" = "../../target/aarch64-apple-ios/release";
"LIBRARY_SEARCH_PATHS[sdk=iphonesimulator*][arch=arm64]" = "../../target/aarch64-apple-ios-sim/release";
"LIBRARY_SEARCH_PATHS[sdk=iphonesimulator*][arch=x86_64]" = "../../target/x86_64-apple-ios/release";
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = org.mozilla.Glean;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand Down
1 change: 0 additions & 1 deletion glean-core/ios/base.xcconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include "../../xcconfig/common.xcconfig"

INFOPLIST_FILE = Glean/Info.plist
LIBRARY_SEARCH_PATHS = "../../target/universal/$(buildvariant)"

0 comments on commit 70b9135

Please sign in to comment.