[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:
@@ -1,6 +1,6 @@
|
||||
#import "MBXOrnamentsViewController.h"
|
||||
|
||||
@import Mapbox;
|
||||
#import <Mapbox/Mapbox.h>
|
||||
|
||||
@interface MBXOrnamentsViewController ()<MGLMapViewDelegate>
|
||||
|
||||
|
||||
@@ -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];
|
||||
}];
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#import <Mapbox/MGLCompassButton.h>
|
||||
#import "MGLCompassButton.h"
|
||||
|
||||
@class MGLMapView;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#import <Mapbox/Mapbox.h>
|
||||
#import "Mapbox.h"
|
||||
#import "MGLScaleBar.h"
|
||||
|
||||
static const CGFloat MGLFeetPerMile = 5280;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#import <Mapbox/MGLTypes.h>
|
||||
#import "MGLTypes.h"
|
||||
|
||||
#include <mbgl/style/image.hpp>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#import <Mapbox/Mapbox.h>
|
||||
#import "Mapbox.h"
|
||||
|
||||
@interface MGLAnnotationImage (Private)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user