Skip to content

Commit ca81852

Browse files
Merge pull request #167 from TakayukiHoshi1984/modify_irkit_info_plist
IRKitのInfo.plistが追加されていない件の修正
2 parents 9b3a64f + f4ec408 commit ca81852

41 files changed

Lines changed: 100 additions & 92 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dConnectDevicePlugin/dConnectDeviceAWSIoT/dConnectDeviceAWSIoT/Classes/DPAWSIoTDevicePlugin.m

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,9 @@ - (NSString*)iconFilePath:(BOOL)isOnline
9595
NSString* filename = isOnline ? @"dconnect_icon" : @"dconnect_icon_off";
9696
return [bundle pathForResource:filename ofType:@"png"];
9797
}
98-
98+
#pragma mark - DevicePlugin's bundle
99+
- (NSBundle*)pluginBundle
100+
{
101+
return [NSBundle bundleWithPath:[[NSBundle mainBundle] pathForResource:@"dConnectDeviceAWSIoT_resources" ofType:@"bundle"]];
102+
}
99103
@end

dConnectDevicePlugin/dConnectDeviceAllJoyn/dConnectDeviceAllJoyn/Sources/DPAllJoynDevicePlugin.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,10 @@ - (NSString*)iconFilePath:(BOOL)isOnline
7070
NSString* filename = isOnline ? @"dconnect_icon" : @"dconnect_icon_off";
7171
return [bundle pathForResource:filename ofType:@"png"];
7272
}
73+
#pragma mark - DevicePlugin's bundle
74+
- (NSBundle*)pluginBundle
75+
{
76+
return [NSBundle bundleWithPath:[[NSBundle mainBundle] pathForResource:@"dConnectDeviceAllJoyn_resources" ofType:@"bundle"]];
77+
}
78+
7379
@end

dConnectDevicePlugin/dConnectDeviceAllJoyn/dConnectDeviceAllJoyn/Sources/Profiles/DPAllJoynSystemProfile.m

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ + (instancetype) systemProfileWithVersion:(NSString *)version {
5959
#pragma mark DConnectSystemProfileDataSource
6060

6161

62-
- (NSString *) versionOfSystemProfile:(DConnectSystemProfile *)profile
63-
{
64-
return _version;
65-
}
66-
6762

6863
- (UIViewController *) profile:(DConnectSystemProfile *)sender
6964
settingPageForRequest:(DConnectRequestMessage *)request

dConnectDevicePlugin/dConnectDeviceAllJoyn/dConnectDeviceAllJoyn_resources/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<key>CFBundlePackageType</key>
1414
<string>BNDL</string>
1515
<key>CFBundleShortVersionString</key>
16-
<string>1.0</string>
16+
<string>2.0.0</string>
1717
<key>CFBundleSignature</key>
1818
<string>????</string>
1919
<key>CFBundleVersion</key>

dConnectDevicePlugin/dConnectDeviceChromeCast/dConnectDeviceChromecast.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
ABA304001D7FC84F00B1CEEB /* GoogleCastResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = ABA303FF1D7FC84F00B1CEEB /* GoogleCastResources.bundle */; };
5656
ABAC40451D7E9E2600BBDD34 /* CoreBluetooth.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ABAC40441D7E9E2600BBDD34 /* CoreBluetooth.framework */; };
5757
ABAC40471D7E9E3600BBDD34 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ABAC40461D7E9E3600BBDD34 /* Accelerate.framework */; };
58+
ABC49C401F97436300DC9339 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = ABC5E3D31A9736F9003D2634 /* Info.plist */; };
5859
ABC5E3E41A973741003D2634 /* DPChromecastDevicePlugin.m in Sources */ = {isa = PBXBuildFile; fileRef = ABC5E3E11A973741003D2634 /* DPChromecastDevicePlugin.m */; };
5960
ABC5E3EA1A97375D003D2634 /* DPChromecastGuideViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = ABC5E3E71A97375D003D2634 /* DPChromecastGuideViewController.m */; };
6061
ABC5E3EB1A97375D003D2634 /* DPChromecastSettingViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = ABC5E3E91A97375D003D2634 /* DPChromecastSettingViewController.m */; };
@@ -624,6 +625,7 @@
624625
isa = PBXResourcesBuildPhase;
625626
buildActionMask = 2147483647;
626627
files = (
628+
ABC49C401F97436300DC9339 /* Info.plist in Resources */,
627629
ABCB4A511AB53E0100805F25 /* icon-cast-connected.png in Resources */,
628630
AB311FDA1D7E879100B2D886 /* CastComponents.storyboard in Resources */,
629631
ABCB4A521AB53E0100805F25 /* icon-cast-identified.png in Resources */,

dConnectDevicePlugin/dConnectDeviceChromeCast/dConnectDeviceChromecast/Classes/DPChromecastDevicePlugin.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ - (NSString*)iconFilePath:(BOOL)isOnline
9595
NSString* filename = isOnline ? @"dconnect_icon" : @"dconnect_icon_off";
9696
return [bundle pathForResource:filename ofType:@"png"];
9797
}
98+
#pragma mark - DevicePlugin's bundle
99+
- (NSBundle*)pluginBundle
100+
{
101+
return [NSBundle bundleWithPath:[[NSBundle mainBundle] pathForResource:@"dConnectDeviceChromecast_resources" ofType:@"bundle"]];
102+
}
98103

99104
@end
100105

dConnectDevicePlugin/dConnectDeviceChromeCast/dConnectDeviceChromecast/Classes/DPChromecastSystemProfile.m

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@ - (id)init
5656
return self;
5757
}
5858

59-
// デバイスプラグインのバージョン
60-
-(NSString *) versionOfSystemProfile:(DConnectSystemProfile *)profile
61-
{
62-
return @"2.0.0";
63-
}
6459

6560
// デバイスプラグインの設定画面用のUIViewControllerを要求する
6661
-(UIViewController *) profile:(DConnectSystemProfile *)sender

dConnectDevicePlugin/dConnectDeviceChromeCast/dConnectDeviceChromecast/Resources/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundlePackageType</key>
2020
<string>FMWK</string>
2121
<key>CFBundleShortVersionString</key>
22-
<string>1.0.0</string>
22+
<string>2.0.0</string>
2323
<key>CFBundleSignature</key>
2424
<string>????</string>
2525
<key>CFBundleVersion</key>

dConnectDevicePlugin/dConnectDeviceHitoe/dConnectDeviceHitoe/Classes/DPHitoeDevicePlugin.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,5 +228,10 @@ - (NSString*)iconFilePath:(BOOL)isOnline
228228
return [bundle pathForResource:filename ofType:@"png"];
229229
return nil;
230230
}
231+
#pragma mark - DevicePlugin's bundle
232+
- (NSBundle*)pluginBundle
233+
{
234+
return [NSBundle bundleWithPath:[[NSBundle mainBundle] pathForResource:@"dConnectDeviceHitoe_resources" ofType:@"bundle"]];
235+
}
231236

232237
@end

dConnectDevicePlugin/dConnectDeviceHitoe/dConnectDeviceHitoe/Classes/Profile/DPHitoeSystemProfile.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@ - (instancetype)init
7777

7878
#pragma mark - DConnectSystemProfileDataSource
7979

80-
- (NSString *) versionOfSystemProfile:(DConnectSystemProfile *)profile {
81-
return @"1.0.0";
82-
}
83-
8480
- (UIViewController *) profile:(DConnectSystemProfile *)sender
8581
settingPageForRequest:(DConnectRequestMessage *)request
8682
{

0 commit comments

Comments
 (0)