Giter VIP home page Giter VIP logo

apple-dev's Introduction

DEPRECATED / UNMAINTAINED

As of 2016/03, the scraping of Apple Developer site is broken.

I don't intend to maintain those scripts as I've migrated our infrastructure to Fastlane. You might want to use sigh, match or a custom solution using spaceship.

apple-dev's People

Contributors

aaronwatson avatar andrey-starodubtsev avatar bdejban avatar garyrudolph avatar lacostej avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apple-dev's Issues

Missing "require"'s

After I've updated ruby to 1.9.3, apple-dev started to fail with such errors:

./apple_dev_center.rb:102:in rescue in main': uninitialized constant OptionParser (NameError) from ./apple_dev_center.rb:100:inmain'
from ./apple_dev_center.rb:113:in `

'

This was fixed by adding "require 'optparse'"

And next it failed with:

./apple_dev_center.rb:16:in parse_config': uninitialized constant YAML (NameError) from ./apple_dev_center.rb:79:inparse_command_line'
from ./apple_dev_center.rb:102:in main' from ./apple_dev_center.rb:114:in

'

This was fixed by adding "require 'yaml'"

Please add this requires into apple-dev-center.rb
Thanks.

How can i use this?

Hi i am new to ruby kind of things, So please let me to know how can i use this repository?

I have mac laptop and installed the ruby in my terminal, so please guide me.

$end error in mobileprovision.rb

Please check main function. It contains some typos with "end" involved.

It's possibly should look like:

def main()
    options = parse_command_line(ARGV)

    pp = Apple::Dev::ProvisioningProfile.new(options[:profile], options[:certificate])

    if options[:verbose]
        pp.dump
    end                                 # <-- this "end" missed!!!

    if (options[:dump])
        dumpProfile(pp, options)
    elsif (options[:type])
        dumpProfileType(pp, options)
    end
end

While fetching devices: Certificate verify failed (OpenSSL::SSL::SSLError)

Hello,

I'm getting an SSL error while fetching the device list - any idea whats wrong here?

Best regards,
Thomas

~ ~
Fetching devices
/opt/local/lib/ruby2.0/2.0.0/net/http.rb:918:in connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError) from /opt/local/lib/ruby2.0/2.0.0/net/http.rb:918:inblock in connect'
from /opt/local/lib/ruby2.0/2.0.0/timeout.rb:52:in timeout' from /opt/local/lib/ruby2.0/2.0.0/net/http.rb:918:inconnect'
from /opt/local/lib/ruby2.0/2.0.0/net/http.rb:862:in do_start' from /opt/local/lib/ruby2.0/2.0.0/net/http.rb:857:instart'
from /opt/local/lib/ruby2.0/gems/2.0.0/gems/net-http-persistent-2.9/lib/net/http/persistent.rb:691:in start' from /opt/local/lib/ruby2.0/gems/2.0.0/gems/net-http-persistent-2.9/lib/net/http/persistent.rb:631:inconnection_for'
from /opt/local/lib/ruby2.0/gems/2.0.0/gems/net-http-persistent-2.9/lib/net/http/persistent.rb:981:in request' from /opt/local/lib/ruby2.0/gems/2.0.0/gems/mechanize-2.7.2/lib/mechanize/http/agent.rb:257:infetch'
from /opt/local/lib/ruby2.0/gems/2.0.0/gems/mechanize-2.7.2/lib/mechanize.rb:432:in get' from /Users/xonion/apple-dev/lib/apple-dev.rb:90:inload_page_or_login'
from /Users/xonion/apple-dev/lib/apple-dev.rb:262:in read_devices' from /Users/xonion/apple-dev/lib/apple-dev.rb:288:infetch_site_data'
from ./bin/apple_dev_center.rb:96:in dumpSite' from ./bin/apple_dev_center.rb:111:inmain'
from ./bin/apple_dev_center.rb:115:in `

'
~

Use new password manager

From the README:

Extract out the password storage functionality into an reusable encrypted password store for use by ruby scripts (in CI environments).

You could use the fastlane credential manager which uses the Mac OS X Keychain to store and retrieve passwords. It supports multiple Apple IDs.

PKCS7 not initialized

Hi Jerome,

I'm having problems running the new code on my build server. Using ruby 1.8.7 I get this error message when it tries to verify the provisioning profiles.

Any ideas?

/private/var/root/.jenkins/jobs/iOS Enterprise Provisioning Profiles/workspace/lib/apple-dev.rb:284:in verify': PKCS7 wasn't initialized. (RuntimeError) from /private/var/root/.jenkins/jobs/iOS Enterprise Provisioning Profiles/workspace/lib/apple-dev.rb:284:ininitialize'
from /private/var/root/.jenkins/jobs/iOS Enterprise Provisioning Profiles/workspace/lib/apple-dev.rb:244:in new' from /private/var/root/.jenkins/jobs/iOS Enterprise Provisioning Profiles/workspace/lib/apple-dev.rb:244:inpp_uuid'
from /private/var/root/.jenkins/jobs/iOS Enterprise Provisioning Profiles/workspace/lib/apple-dev.rb:252:in download_profiles' from /private/var/root/.jenkins/jobs/iOS Enterprise Provisioning Profiles/workspace/lib/apple-dev.rb:248:ineach'
from /private/var/root/.jenkins/jobs/iOS Enterprise Provisioning Profiles/workspace/lib/apple-dev.rb:248:in download_profiles' from /private/var/root/.jenkins/jobs/iOS Enterprise Provisioning Profiles/workspace/lib/apple-dev.rb:236:infetch_site_data'
from ./bin/apple_dev_center.rb:94:in dumpSite' from ./bin/apple_dev_center.rb:109:inmain'
from ./bin/apple_dev_center.rb:113

-n option broken

apple-dev / bin / apple_dev_center.rb: 50

opts.on( '-n', '--name', 'Use the profile name instead of its UUID as basename when saving them') do
options[:profileFileName] = :name

apple-dev / lib / apple-dev.rb: 254

if profileFileName == :uuid
basename = p.uuid
else
basename = p.name
end

It seams to me, that profileFileName will only ever get the value :name and never :uuid.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.