xcodeproj 1.4.1 → 1.4.2

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: 82fb2422799fc5fa094226e291b0f4aca3907a4e
4
- data.tar.gz: 55cdcde243f6c7e81d4a2090e5d5d33fd0a4076a
3
+ metadata.gz: fa8a409c54e197e786e678afed596dfd1372d65e
4
+ data.tar.gz: 4a0d52c5c12c034bcc939e79360f39f309b28c0f
5
5
  SHA512:
6
- metadata.gz: db09ae7860636eb6e65f01bdb7c529b59582f34a0e2973aa8a462d4ebeb361178920d14b0f2c66c4df13d4544ee4593ff3ccc3fe8b99a4548814e56078fd08db
7
- data.tar.gz: 6cdaa2eff8c4f197ea2f77bde4e0008dfff76a26e26b79f6325fa15a8c7c20eeceb56beb66dbeb6d08cc6e2b7143298f23c272bdccb02dc7a25d291ab903bc88
6
+ metadata.gz: f1c744888421b694c27c3992e4277f434cd59a0e947ec7f484959556e9d0cfb38a95fecb9b6a43bd09a59bed5221c5ac7c018e6a1a6aebf17bd10bf6d86f249d
7
+ data.tar.gz: d4206f55ae1bf92ee7909159d78f0fcd882dea212eaeb035bec7cb82d0d95bc5e77358ea0f106246e3c4a74a647f875a6576d9a024ce4972e1e906106778fca1
data/lib/xcodeproj.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  module Xcodeproj
2
2
  require 'pathname'
3
3
  require 'claide'
4
+ require 'colored'
4
5
 
5
6
  class PlainInformative < StandardError
6
7
  include CLAide::InformativeError
@@ -137,6 +137,9 @@ module Xcodeproj
137
137
  :bundle => 'bundle',
138
138
  :octest_bundle => 'octest',
139
139
  :unit_test_bundle => 'xctest',
140
+ :app_extension => 'appex',
141
+ :watch2_extension => 'appex',
142
+ :watch2_app => 'app',
140
143
  }.freeze
141
144
 
142
145
  # @return [Hash] The common build settings grouped by platform, and build
@@ -1,5 +1,5 @@
1
1
  module Xcodeproj
2
2
  # The version of the xcodeproj gem.
3
3
  #
4
- VERSION = '1.4.1'.freeze unless defined? Xcodeproj::VERSION
4
+ VERSION = '1.4.2'.freeze unless defined? Xcodeproj::VERSION
5
5
  end
@@ -202,7 +202,7 @@ module Xcodeproj
202
202
  @root_object = new_from_plist(plist['rootObject'], plist['objects'], self)
203
203
  @archive_version = plist['archiveVersion']
204
204
  @object_version = plist['objectVersion']
205
- @classes = plist['classes']
205
+ @classes = plist['classes'] || {}
206
206
  @dirty = false
207
207
 
208
208
  unless root_object
@@ -189,7 +189,7 @@ module Xcodeproj
189
189
  # @!group Build Phases Helpers
190
190
 
191
191
  # @return [PBXFrameworksBuildPhase]
192
- # the copy files build phases of the target.
192
+ # the frameworks build phases of the target.
193
193
  #
194
194
  def frameworks_build_phases
195
195
  build_phases.find { |bp| bp.class == PBXFrameworksBuildPhase }
@@ -203,7 +203,7 @@ module Xcodeproj
203
203
  end
204
204
 
205
205
  # @return [Array<PBXShellScriptBuildPhase>]
206
- # the copy files build phases of the target.
206
+ # the shell script build phases of the target.
207
207
  #
208
208
  def shell_script_build_phases
209
209
  build_phases.grep(PBXShellScriptBuildPhase)
@@ -51,7 +51,8 @@ module Xcodeproj
51
51
  def native_target_uuid
52
52
  return target.uuid if target
53
53
  return target_proxy.remote_global_id_string if target_proxy
54
- raise 'Expected target or target_proxy, from which to fetch a uuid'
54
+ raise "Expected target or target_proxy, from which to fetch a uuid for target '#{display_name}'." \
55
+ "Find and clear the PBXTargetDependency entry with uuid '#{@uuid}' in your .xcodeproj."
55
56
  end
56
57
 
57
58
  # @note This override is necessary because Xcode allows for circular
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcodeproj
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-02 00:00:00.000000000 Z
11
+ date: 2016-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -78,14 +78,14 @@ dependencies:
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: 0.2.0
81
+ version: 0.2.3
82
82
  type: :runtime
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: 0.2.0
88
+ version: 0.2.3
89
89
  description: Xcodeproj lets you create and modify Xcode projects from Ruby. Script
90
90
  boring management tasks or build Xcode-friendly libraries. Also includes support
91
91
  for Xcode workspaces (.xcworkspace) and configuration files (.xcconfig).
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  version: '0'
174
174
  requirements: []
175
175
  rubyforge_project:
176
- rubygems_version: 2.6.7
176
+ rubygems_version: 2.4.5.1
177
177
  signing_key:
178
178
  specification_version: 3
179
179
  summary: Create and modify Xcode projects from Ruby.