Quantcast
Viewing all articles
Browse latest Browse all 8068

Can not build iOS project

Hi, I am having a trouble in building my iOS application. Earlier I was using Xcode 4.5 and building the application with iOS 6 and everything was working fine. Now I have purchased a new mac machine running on OSX mavericks, Xcode 5 installed in it. I have installed the latest SDK and Studio in my machine. Then I have copied the older Titanium SDKs to the mobileSDK folder inside the Application Support folder. But when I selected SDK version to 3.0.2 I am unable to build my application and getting the folllowing error. It works fine when I change the SDk to 3.2.2 (latest installed).

/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:185
        throw e;
              ^
TypeError: Arguments to path.join must be strings
    at path.js:360:15
    at Array.filter (native)
    at exports.join (path.js:358:36)
    at exports.detect (/Users/anand/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.GA/node_modules/node-appc/lib/android.js:40:30)
    at /Users/anand/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.GA/android/cli/commands/_build.js:41:11
    at /Users/anand/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.GA/node_modules/titanium-sdk/lib/titanium.js:105:5
    at /Users/anand/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.GA/node_modules/async/lib/async.js:454:21
    at /Users/anand/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.GA/node_modules/async/lib/async.js:185:13
    at /Users/anand/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.GA/node_modules/async/lib/async.js:86:13
    at Array.forEach (native)
---------------------------------------------
    at Object.run (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:59:8)
    at find (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:96:14)
    at q.process (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:731:21)
    at processImmediate (timers.js:330:15)
Can anybody help me to how to fix this issue?

Viewing all articles
Browse latest Browse all 8068

Trending Articles