GithubHelp home page GithubHelp logo

sdk-builder's Introduction

#SDK Builder Script

This is a python script that will build and SDK bundle for Xcode that will appear in the drop-down under build settings. Additional resources are added by creating a SDK template directory with an SDKSettings.plist (see the included sample and this project to see how it is done).

###Usage: $ python usage: SDKBuilder.py [-h] -s SDK [-u] [-f] [-v]

	required arguments:
	  	-s SDK, --sdk SDK  path to sdk template to build
	  			
	optional arguments:
		-h, --help         show this help message and exit
		-u, --update       update sdk from template
 		-f, --force        force action
		-v, --verbose      add verbosity

sdk-builder's People

Contributors

samdmarshall avatar

Stargazers

Mikal avatar Albert Long avatar Jevin Sweval avatar Derek Hartley avatar snare avatar

Watchers

Jevin Sweval avatar James Cloos avatar  avatar

sdk-builder's Issues

SDK not being created (possibly permissions error)

I have another error :

Creating SDK from template...
Copying additional SDK resources...
Traceback (most recent call last):
  File "SDKBuilder.py", line 239, in <module>
    main(sys.argv[1:]);
  File "SDKBuilder.py", line 226, in main
    copy_internal(sdk_item_dir, args.sdk, kPrivateSDK, kVerboseLogLevel);
  File "SDKBuilder.py", line 114, in copy_internal
    iterate_sdk(path, template_path, sdk_path, kVerboseLogLevel)
  File "SDKBuilder.py", line 91, in iterate_sdk
    make_dir(private_sdk_item_path);
  File "SDKBuilder.py", line 27, in make_dir
    os.mkdir(path)
OSError: [Errno 2] No such file or directory: '/AppleInternal/OrderFiles'

Seems /AppleInternal/OrderFiles doesn't exist. And, it's true, it doesn't exist on my HD (but it does exist in the PrivateSDK)

Quoted from samdmarshall/OSXPrivateSDK#10, original issue closed as it is on the wrong repo. I've created this issue here to further investigate the problem.

@perfaram Could you please re-run the script with the flag "-vvvvvvvvvv" so it turns on more verbose logging and there might be more information as to what the issue is. You may need to check to see if an invalid SDK folder was created, you can find them by entering xcrun --show-sdk-path --sdk macosx in a terminal and then navigating up a folder from there. In a stock install of Xcode 6.X you should only have MacOSX10.10.sdk and MacOSX10.9.sdk. If there are other folders, please remove them and re-run the script. If the problem persists please try executing as sudo because it might be a permissions problem from an Mac App Store install vs installing Xcode when downloaded on a dmg from the developer portal.

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.