xcodebuilder 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,14 +46,15 @@ module XcodeBuilder
46
46
  end
47
47
  end
48
48
 
49
- def bundle_id
49
+ def final_bundle_id
50
+ final_plist_path = "#{app_bundle_path}/Info.plist"
50
51
  # no plist is found, return a nil version
51
- if (info_plist_path == nil) || (!File.exists? info_plist_path) then
52
+ if (final_plist_path == nil) || (!File.exists? final_plist_path) then
52
53
  return nil
53
54
  end
54
55
 
55
56
  # read the plist and extract data
56
- plist = CFPropertyList::List.new(:file => info_plist_path)
57
+ plist = CFPropertyList::List.new(:file => final_plist_path)
57
58
  data = CFPropertyList.native_types(plist.value)
58
59
  data["CFBundleIdentifier"]
59
60
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcodebuilder
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Olivier Larivain