Skip to content

Commit af3fd49

Browse files
authored
fix ret type of entitlements & ambiguous initializers (#102)
1 parent cafdc83 commit af3fd49

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

MobileCoreServices/LSApplicationProxy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
API_AVAILABLE(ios(4.0))
66
@interface LSApplicationProxy : LSBundleProxy
77

8-
+ (instancetype)applicationProxyForIdentifier:(NSString *)identifier;
8+
+ (instancetype)applicationProxyForIdentifier:(NSString *)identifier NS_SWIFT_NAME(applicationProxy(forIdentifier:));
99

1010
@property (nonatomic, readonly) NSString *applicationIdentifier;
1111
@property (nonatomic, readonly) NSString *vendorName API_AVAILABLE(ios(7.0));

MobileCoreServices/LSBundleProxy.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ API_AVAILABLE(ios(8.0))
44
@interface LSBundleProxy : LSResourceProxy
55

66
+ (instancetype)bundleProxyForCurrentProcess API_AVAILABLE(ios(10.0));
7-
+ (instancetype)bundleProxyForIdentifier:(NSString *)identifier;
7+
+ (instancetype)bundleProxyForIdentifier:(NSString *)identifier NS_SWIFT_NAME(bundleProxy(forIdentifier:));
88
+ (instancetype)bundleProxyForURL:(NSURL *)url;
99

1010
@property (nonatomic, readonly) NSUUID *cacheGUID;
@@ -20,7 +20,7 @@ API_AVAILABLE(ios(8.0))
2020
@property (nonatomic, readonly) NSString *bundleType;
2121
@property (nonatomic, readonly) NSString *canonicalExecutablePath API_AVAILABLE(ios(10.3));
2222

23-
@property (nonatomic, readonly) NSDictionary <NSString *, NSString *> *entitlements;
23+
@property (nonatomic, readonly) NSDictionary <NSString *, id> *entitlements;
2424
@property (nonatomic, readonly) NSDictionary <NSString *, NSString *> *environmentVariables;
2525
@property (nonatomic, readonly) NSDictionary <NSString *, NSURL *> *groupContainerURLs;
2626

0 commit comments

Comments
 (0)