Skip to content

Commit

Permalink
update Unit Tests for Xcode 13 (mapbox#153)
Browse files Browse the repository at this point in the history
* Update notes for Xcode Configuration Settings

* Fix Tests for CI Scheme in Xcode 13
  • Loading branch information
roblabs authored Sep 5, 2021
1 parent fb73778 commit 206bca7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion platform/ios/platform/darwin/test/MGLMapSnapshotterTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ BOOL MGLEqualImages(MGLImage *leftImage, MGLImage *rightImage) {
#endif
}

MGLImage *MGLImageFromCurrentContext() {
MGLImage *MGLImageFromCurrentContext(void) {
#if TARGET_OS_IPHONE
return UIGraphicsGetImageFromCurrentImageContext();
#else
Expand Down
5 changes: 5 additions & 0 deletions platform/ios/platform/ios/ios.xcconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Xcode Configuration Settings `.xcconfig`
// [Add a build configuration (xcconfig) file](https://help.apple.com/xcode/mac/11.4/index.html?localePath=en.lproj#/deve97bde215?sub=dev40b8becae)
// [Configuration Settings File (xcconfig) format](https://help.apple.com/xcode/mac/11.4/index.html?localePath=en.lproj#/dev745c5c974?sub=dev40b8becae)
// [Map a configuration settings file to a build configuration](https://help.apple.com/xcode/mac/11.4/index.html?localePath=en.lproj#/deve97bde215?sub=dev40b8becae)

#include "../darwin/darwin.xcconfig"

LIBRARY_SEARCH_PATHS = $(LIBRARY_SEARCH_PATHS) $(PROJECT_DIR)/vendor/mapbox-accounts-ios

0 comments on commit 206bca7

Please sign in to comment.