Comments (4)
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.
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.
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.
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)
- Is it possible to add window with navigationGroup at RightView?
- Unlicensed Module Detected. HOT 2
- No click events on rightView with Titanium SDK 2.1.2 GA HOT 2
- MapView Pins can't get updated HOT 5
- No folds. HOT 7
- rightView and leftView params? HOT 1
- xcodebuild failed HOT 1
- build error HOT 1
- Center view doesn't get updated
- Cannot get it to work...
- Only one instance per app?
- enableLeftFoldDragging and enableRightFoldDragging ignored? HOT 4
- Top and Bottom folds?
- Unable to set leftView or rightView
- How to implement drawScreenshotOnFolds?
- Application Error: Can't find module HOT 1
- Doesn't bring in PaperFold-for-iOS @ 9b21a55
- PaperFold with Alloy HOT 1
- 64-bit Module HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tipaperfold.