[build] Fix iOS nits

- Hardcoded the bundle identifier on Info.plist, CMake is not
  picking it up.
- Do not use installed headers when building the framework.
This commit is contained in:
Thiago Marcos P. Santos
2019-08-09 19:11:38 +03:00
parent c507cc4c8a
commit 1304502f81
8 changed files with 8 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
#import "MBXOrnamentsViewController.h"
@import Mapbox;
#import <Mapbox/Mapbox.h>
@interface MBXOrnamentsViewController ()<MGLMapViewDelegate>

View File

@@ -729,7 +729,7 @@ CLLocationCoordinate2D randomWorldCoordinate() {
acrossDistance:100
pitch:60
heading:0];
__weak typeof(self) weakSelf = self;
__weak MBXViewController *weakSelf = self;
[self.mapView setCamera:camera withDuration:0.3 animationTimingFunction:nil completionHandler:^{
[weakSelf.mapView setContentInset:contentInsets animated:YES completionHandler:nil];
}];

View File

@@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<string>com.mapbox.core</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>

View File

@@ -1,7 +1,7 @@
#import "MGLCompassButton_Private.h"
#import "MGLCompassDirectionFormatter.h"
#import <Mapbox/MGLGeometry.h>
#import "MGLGeometry.h"
#import "MGLMapView_Private.h"
#import "UIImage+MGLAdditions.h"

View File

@@ -1,6 +1,6 @@
#import <UIKit/UIKit.h>
#import <Mapbox/MGLCompassButton.h>
#import "MGLCompassButton.h"
@class MGLMapView;

View File

@@ -1,4 +1,4 @@
#import <Mapbox/Mapbox.h>
#import "Mapbox.h"
#import "MGLScaleBar.h"
static const CGFloat MGLFeetPerMile = 5280;

View File

@@ -1,6 +1,6 @@
#import <UIKit/UIKit.h>
#import <Mapbox/MGLTypes.h>
#import "MGLTypes.h"
#include <mbgl/style/image.hpp>

View File

@@ -1,4 +1,4 @@
#import <Mapbox/Mapbox.h>
#import "Mapbox.h"
@interface MGLAnnotationImage (Private)