Reinstall 1.0 after a clean 1.1 install

You must Login before you can answer or comment on any questions.

After all of the 1.1 issues I was having after the 1.1 install today, I did a complete uninstall to make sure nothing was clashing:

  • rm -rf /Library/Application Support/Titanium
  • rm -rf ~/Library/Application Support/Titanium
  • rm -rf /Applications/Titanium Developer.app

and did a clean install of 1.1. Now, I've completely hosed myself.

Is there anyway to install the Mobile SDK 1.0 once the 1.1 SDK is installed?

  • OS X 10.5.8

13 Answers

unfortunately, not easily.

what problems are you having with 1.1? I would ideally like to get you through those.

I'm having the issue where Developer crashes when starting the iphone sim.

  • mac osx 10.5.8
  • iphone sdk 3.1

With 1.0, everything worked fine. as soon as i installed 1.1 this morning, i was unable to rollback to 1.0 and run successfully.

do you have one of the 0.9.x versions? if so, can you try this

copy this file

/Library/Application Support/Titanium/mobilesdk/osx/0.9.x/iphone/iphonesim

(where 0.9.x is your version of 0.9 that you have)

to

/Library/Application Support/Titanium/mobilesdk/osx/1.1.0/iphone/iphonesim

then try again

No. As noted in the question, I deleted all the Titanium related directories after the failures started happening after installing 1.1.

right. sorry - too many questions.

download this file:

http://www.mediafire.com/?eniybke5zyy

and place it in

/Library/Application Support/Titanium/mobilesdk/osx/1.1.0/iphone/

After installing the file from mediafile, TD no longer crashes. However, the application (brand new project) crashes inside the sim:

Thread 2 Crashed:
0   libSystem.B.dylib               0x92366f30 strlen + 16
1   Test2                           0x0008ed75 -[PlatformModule init] + 745
2   Test2                           0x00073753 -[TiProxy _initWithPageContext:] + 36
3   Test2                           0x000809e6 -[TiHost moduleNamed:context:] + 157
4   Test2                           0x000a6463 -[AnalyticsModule platform] + 110
5   Test2                           0x000a778a -[AnalyticsModule enroll] + 523
6   Test2                           0x000a8943 -[AnalyticsModule begin] + 158
7   Test2                           0x000a7550 -[AnalyticsModule startup] + 353
8   Test2                           0x00077ea8 -[TiModule _configure] + 39
9   Test2                           0x00073827 -[TiProxy _initWithPageContext:] + 248
10  Test2                           0x000809e6 -[TiHost moduleNamed:context:] + 157
11  Test2                           0x0002f107 -[TitaniumObject initWithContext:host:context:baseURL:] + 379
12  Test2                           0x0002f968 -[KrollBridge didStartNewContext:] + 195
13  Test2                           0x0003162e -[KrollContext main] + 781
14  Foundation                      0x003edf7d -[NSThread main] + 45
15  Foundation                      0x003edb18 __NSThread__main__ + 280
16  libSystem.B.dylib               0x9238f155 _pthread_start + 321
17  libSystem.B.dylib               0x9238f012 thread_start + 34

can you try the following:

1) remove your /Library/Application Support/Titanium/mobilesdk/osx/1.1.0 directory 2) download this file:

http://www.mediafire.com/?zzivmihwqmq

3) from a terminal window do:

cd /Library/Application Support/Titanium

then do

unzip [path to zip file]/mobilesdk-1.1.0-osx.zip

then re-start developer and see it works

When starting the sim, Developer crashes immediately and the app does not install.

Thread 1 Crashed:
0   libSystem.B.dylib               0x9243a136 __semwait_signal_nocancel + 10
1   libSystem.B.dylib               0x92433013 usleep$NOCANCEL$UNIX2003 + 61
2   libSystem.B.dylib               0x9244a685 abort + 85
3   libSystem.B.dylib               0x924277df internal_catch_exception_raise + 114
4   libSystem.B.dylib               0x92414814 _Xexception_raise + 250
5   libSystem.B.dylib               0x924146e7 exc_server + 117
6   ...elerator.titanium.developer  0x0006f01c google_breakpad::ExceptionHandler::WaitForMessage(void*) + 812
7   libSystem.B.dylib               0x9238f155 _pthread_start + 321
8   libSystem.B.dylib               0x9238f012 thread_start + 34
You caught me right before upgrading to Snow Leopard. Do you want me to hold off on upgrading?

we did find the issue, if you are still having trouble try installing this file:

http://www.mediafire.com/?45wmyhmnjgj

in /Library/Application Support/Titanium/mobilesdk/osx/1.1.0/iphone

ok, here's where I stand:

  • upgraded to Snow Leopard (10.6.2)
  • uninstalled iPhone SDK 3.1.3 with Xcode 3.1.4
  • installed iPhone SDK 3.2 beta 5 with Xcode 3.2.2
  • clean install of TD 1.0 and Mobile SDK 1.1.0

Now when I try to run a newly created project, the sim starts but the app stops immediately:

[INFO] Compiling JavaScript...one moment
[INFO] No JavaScript errors detected.
[INFO] One moment, building ...
[INFO] Detected pre-compiled app, will run in interpreted mode to speed launch
[DEBUG] executing command: /usr/bin/killall iPhone Simulator
[DEBUG] removing old log file: /Users/dpope/Library/Application Support/iPhone Simulator/3.1/Applications/00B66FAD-AA62-468E-AE90-51A0F2FB17ED/Documents/798a02f9-1e13-433d-985c-1ebd30d03704.log
[INFO] Launching application in Simulator
[DEBUG] App Spec: specified by path /Users/dpope/DevelopmentProjects/Test1/build/iphone/build/Debug-iphonesimulator/Test1.app
[DEBUG] SDK Root: path=/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.sdk version=3.1 name=Simulator - iPhone OS 3.1
[DEBUG] using device family iphone
[INFO] Launched application in Simulator (3.84 seconds)
[DEBUG] Session started
[DEBUG] executing command: xcodebuild -version
[INFO] Application started
[DEBUG] Analytics is enabled = YES
[DEBUG] Session did end with error (null)
[INFO] Application has exited from Simulator
If I reboot the box, I can run the app once, but if I try starting the app a 2nd time, the error above happens from that point forward.

can you install the file from my previous post and see if that solves your problem

I may have found it. When the problem started happening again, I shutdown my Cisco VPN connection and it started working fine. When I bring up my VPN again, after one or two times, the session error starts again.

Your Answer

Think you can help? Login to answer this question!