xcodebuilder 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/xcode_builder/configuration.rb +4 -3
- metadata +3 -3
@@ -46,14 +46,15 @@ module XcodeBuilder
|
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
|
-
def
|
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 (
|
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 =>
|
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:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Olivier Larivain
|