xcodebuilder 0.0.17 → 0.0.18
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d59aaff9c4a2068306dd0a2b76da9b55b067887
|
4
|
+
data.tar.gz: b7a552232e3d331c52ecf6c10145702534dbb3f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a34aeb8934fa4e1033c6b5bb9330683c35d53fe7daa43afdcbf2236a7bfcb2109fc16d36d7dea2f1b2b1ae55ad9c2a40e81c5eed57e1902957d00a8261fb1b33
|
7
|
+
data.tar.gz: 006e89e42ced76e226e84b084991fbf6531bd3c5f67d816f0784d21174cad79b44427f3d5512d2b40e448a83b17315f7bebad8d18cbb5aa2d3cc94b205b006f6
|
data/lib/xcode_builder.rb
CHANGED
@@ -95,7 +95,15 @@ module XcodeBuilder
|
|
95
95
|
|
96
96
|
# desc "Builds an IPA from the built .app"
|
97
97
|
def package_ios_app
|
98
|
-
print "Packaging and Signing..."
|
98
|
+
print "Packaging and Signing..."
|
99
|
+
if (@configuration.signing_identity != nil) then
|
100
|
+
puts ""
|
101
|
+
print "Signing identity: #{@configuration.signing_identity}"
|
102
|
+
end
|
103
|
+
if (@configuration.provisioning_profile != nil) then
|
104
|
+
puts ""
|
105
|
+
print "Provisioning profile: #{@configuration.provisioning_profile}"
|
106
|
+
end
|
99
107
|
raise "** PACKAGE FAILED ** No Signing Identity Found" unless @configuration.signing_identity
|
100
108
|
# trash and create the dist IPA path if needed
|
101
109
|
FileUtils.rm_rf @configuration.package_destination_path unless !File.exists? @configuration.package_destination_path
|
@@ -109,7 +117,7 @@ module XcodeBuilder
|
|
109
117
|
cmd << "-v '#{@configuration.built_app_path}'"
|
110
118
|
cmd << "-o '#{@configuration.ipa_path}'"
|
111
119
|
cmd << "--sign '#{@configuration.signing_identity}'" unless @configuration.signing_identity == nil
|
112
|
-
cmd << "--embed '#{@configuration.provisioning_profile}'"
|
120
|
+
cmd << "--embed '#{File.expand_path(@configuration.provisioning_profile)}'" unless @configuration.provisioning_profile == nil
|
113
121
|
if @configuration.xcrun_extra_args then
|
114
122
|
cmd.concat @configuration.xcrun_extra_args if @configuration.xcrun_extra_args.is_a? Array
|
115
123
|
cmd << @configuration.xcrun_extra_args if @configuration.xcrun_extra_args.is_a? String
|
@@ -27,7 +27,7 @@ module XcodeBuilder
|
|
27
27
|
|
28
28
|
if xcodebuild_extra_args
|
29
29
|
args.concat xcodebuild_extra_args if xcodebuild_extra_args.is_a? Array
|
30
|
-
args << "#{xcodebuild_extra_args}" if
|
30
|
+
args << "#{xcodebuild_extra_args}" if xcodebuild_extra_args.is_a? String
|
31
31
|
end
|
32
32
|
|
33
33
|
args
|
@@ -130,7 +130,6 @@ module XcodeBuilder
|
|
130
130
|
|
131
131
|
def increment_plist_number
|
132
132
|
if !increment_plist_version then
|
133
|
-
puts "increment is false"
|
134
133
|
return false
|
135
134
|
end
|
136
135
|
|
@@ -51,13 +51,12 @@ module XcodeBuilder
|
|
51
51
|
response = RestClient.post(ENDPOINT, payload, :accept => :json)
|
52
52
|
statusCode = response.code
|
53
53
|
rescue => e
|
54
|
+
puts "TestFlight upload failed with exception:\n#{e}Response\n#{e.response}"
|
54
55
|
end
|
55
56
|
|
56
57
|
if (statusCode == 201) || (statusCode == 200)
|
57
58
|
puts "Done."
|
58
|
-
|
59
|
-
puts "Failed."
|
60
|
-
puts "#{response}"
|
59
|
+
|
61
60
|
end
|
62
61
|
end
|
63
62
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcodebuilder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Olivier Larivain
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: CFPropertyList
|