这是indexloc提供的服务,不要输入任何密码
Skip to content

README command-line example #8

@alloy

Description

@alloy

I think the examples should be copy-pastable and use the same values as other suggestions in the README. For instance, the README states to ‘make a directory called "schemas"’ and the default place for assets is the resources dir. Therefore I would suggest a version like so:

$ xcdm MyApplicationName ./schemas ./resources

A second issue is that the command seems to require 4 arguments, of which I believe the last one is the ‘Xcode application version’.

/Library/Ruby/Gems/2.0.0/gems/ruby-xcdm-0.0.7/lib/xcdm/schema.rb:87:in `initialize': wrong number of arguments (3 for 4) (ArgumentError)
    from /Library/Ruby/Gems/2.0.0/gems/ruby-xcdm-0.0.7/bin/xcdm:6:in `new'
    from /Library/Ruby/Gems/2.0.0/gems/ruby-xcdm-0.0.7/bin/xcdm:6:in `<top (required)>'
    from /usr/bin/xcdm:23:in `load'
    from /usr/bin/xcdm:23:in `<main>'

This is what I ended up using:

$ bundle exec xcdm MyApplicationName ./schemas ./resources 5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions