Giter Site home page Giter Site logo

Comments (4)

atsusy avatar atsusy commented on June 12, 2024

Did you install Command Line Tools? If not, install Command Line Tools for Xcode 4.5.1.

Then run the command below:

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

from tipaperfold.

yagitoshiro avatar yagitoshiro commented on June 12, 2024

Open titanium.xcconfig and update TITANIUM_SDK path. Titanium SDKs are supposed to be installed in your home directory instead of in /Library recently.

Basic build instruction:

git clone --recursive git://github.com/atsusy/TiPaperFold.git
cd TiPaperFold/
(update titanium.xcconfig)
./builder.py

from tipaperfold.

yozef avatar yozef commented on June 12, 2024

Thank you @atsusy.
I have downloaded the Command Line Tools, and have run the command: sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

After doing so, I gave the build.py a run, and still got the same error:
QuadMac:~ yozef$ sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
QuadMac:~ yozef$ /Users/yozef/Documents/Titanium/atsusy-TiPaperFold/build.py
[WARN] please update the manifest key: 'description' to a non-default value
[WARN] please update the manifest key: 'copyright' to a non-default value
[WARN] please update the manifest key: 'license' to a non-default value
[WARN] please update the manifest key: 'copyright' to a non-default value
Traceback (most recent call last):
File "/Users/yozef/Documents/Titanium/atsusy-TiPaperFold/build.py", line 216, in
build_module(manifest,config)
File "/Users/yozef/Documents/Titanium/atsusy-TiPaperFold/build.py", line 161, in build_module
from tools import ensure_dev_path
ImportError: No module named tools

Thanks @yagitoshiro as well, as I have tried the commands mentioned, it seemed like it was going well :) (below is the terminal:
QuadMac:~ yozef$ git clone --recursive git://github.com/atsusy/TiPaperFold.git
Cloning into 'TiPaperFold'...
remote: Counting objects: 74, done.
remote: Compressing objects: 100% (48/48), done.
remote: Total 74 (delta 22), reused 70 (delta 18)
Receiving objects: 100% (74/74), 35.96 KiB, done.
Resolving deltas: 100% (22/22), done.
Submodule 'PaperFold-for-iOS' (https://github.com/atsusy/PaperFold-for-iOS.git) registered for path 'PaperFold-for-iOS'
Cloning into 'PaperFold-for-iOS'...
remote: Counting objects: 459, done.
remote: Compressing objects: 100% (189/189), done.
remote: Total 459 (delta 251), reused 438 (delta 239)
Receiving objects: 100% (459/459), 10.45 MiB | 2.45 MiB/s, done.
Resolving deltas: 100% (251/251), done.
Submodule path 'PaperFold-for-iOS': checked out 'bccd98cb4325d13e62b317c5063345d51ed4021a'
QuadMac:~ yozef$ cd TiPaperFold/

I go to the new TiPaperFold and see all the files and folders, I've opened titanium.xconfig, and see the following:
TITANIUM_SDK_VERSION = 2.1.0.GA
//
// THESE SHOULD BE OK GENERALLY AS-IS
//
TITANIUM_SDK = /Library/Application Support/Titanium/mobilesdk/osx/$(TITANIUM_SDK_VERSION)
TITANIUM_BASE_SDK = "$(TITANIUM_SDK)/iphone/include"
TITANIUM_BASE_SDK2 = "$(TITANIUM_SDK)/iphone/include/TiCore"
HEADER_SEARCH_PATHS= $(TITANIUM_BASE_SDK) $(TITANIUM_BASE_SDK2)

Even though I am using Mountain Lion (updated yesterday), when I go into (Home)/Library/Application Support/Titanium/ I don't see the mobilesdk, I am not sure what you meant by changing the TITANIUM_SDK, and I don't have the Titanium SDK in my Home Directory. I should also note, that my Titanium version is 2.1.2.

Update: When I go into Macintosh HD/Library/Application Support/Titanium/ I do see its content, not sure how to proceed from here, as when I Command+i the folder, I do see the same location: /Library/Application Support/Titanium/mobilesdk... as in the titanium.xconfig's TITANIUM_SDK.

from tipaperfold.

yozef avatar yozef commented on June 12, 2024

Turns out all you need to do is simply add the .zip in the Titanium SDK folder (now in Mountain Lion in HD/Library/.. as opposed to User/Library/...)

from tipaperfold.

Related Issues (20)

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.