Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5841] Titanium Mobile 1.7.3 doesn't work on iOS 3.1.2

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionDuplicate
Resolution Date2011-10-24T10:49:54.000+0000
Affected Version/sn/a
Fix Version/sSprint 2011-43
ComponentsiOS
Labelscompatibility, crash, ios3.x
ReporterErik Bryn
AssigneeReggie Seagraves
Created2011-10-23T10:18:02.000+0000
Updated2017-03-07T19:53:11.000+0000

Description

According to the Titanium Compatibility Matrix (http://wiki.appcelerator.org/display/guides/Titanium+Compatibility+Matrix), the 1.7.x SDK is supposed to support iOS 3.1.2, however it appears to not. A newly created project with any code will crash at launch on an iPod touch running 3.1.2.
var win = Titanium.UI.createWindow({  
    title:'Window',
});

win.open();
The console has the following error:
Sun Oct 23 11:14:24 unknown UIKitApplication:com.erikbryn.ios312test[0x86d][749] <Notice>: dyld: Symbol not found: __NSConc
Sun Oct 23 11:14:24 unknown UIKitApplication:com.erikbryn.ios312test[0x86d][749] <Notice>: reteStackBlock
Sun Oct 23 11:14:24 unknown UIKitApplication:com.erikbryn.ios312test[0x86d][749] <Notice>:   Referenced from
Sun Oct 23 11:14:24 unknown UIKitApplication:com.erikbryn.ios312test[0x86d][749] <Notice>: : /var/mobile/Applications/77897
Sun Oct 23 11:14:24 unknown UIKitApplication:com.erikbryn.ios312test[0x86d][749] <Notice>: E72-FA2E-4692-A42C-374D9FA549A2/
Sun Oct 23 11:14:24 unknown UIKitApplication:com.erikbryn.ios312test[0x86d][749] <Notice>: ios312test.app/ios312test
Sun Oct 23 11:14:24 unknown UIKitApplication:com.erikbryn.ios312test[0x86d][749] <Notice>:   Expe
Sun Oct 23 11:14:24 unknown UIKitApplication:com.erikbryn.ios312test[0x86d][749] <Notice>: cted in: /usr/lib/libSystem.B.dy
Sun Oct 23 11:14:24 unknown UIKitApplication:com.erikbryn.ios312test[0x86d][749] <Notice>: lib
Sun Oct 23 11:14:24 unknown UIKitApplication:com.erikbryn.ios312test[0x86d][749] <Notice>:  in /var/mobile/Applications
Sun Oct 23 11:14:24 unknown UIKitApplication:com.erikbryn.ios312test[0x86d][749] <Notice>: /77897E72-FA2E-4692-A42C-374D9FA
Sun Oct 23 11:14:24 unknown UIKitApplication:com.erikbryn.ios312test[0x86d][749] <Notice>: 549A2/ios312test.app/ios312test
The application will run fine in the iOS Simulator. Here is output from running in the Simulator, which may include version/build numbers of use:
ejb-mbp3:ios312test ebryn$ titanium run --platform=iphone
[INFO] One moment, building ...
[DEBUG] Detecting modules in /Users/ebryn/Dev/Titanium Studio Workspace/ios312test/modules
[DEBUG] Detecting modules in /Users/ebryn/Library/Application Support/Titanium/modules
[INFO] Titanium SDK version: 1.7.3
[INFO] iPhone Device family: iphone
[INFO] iPhone SDK version: 5.0
[INFO] iPhone simulated device: iphone
[DEBUG] executing command: /usr/bin/killall iPhone Simulator
[DEBUG] No matching processes belonging to you were found
[DEBUG] finding old log files
[DEBUG] executing command: mdfind -onlyin /Users/ebryn/Library/Application Support/iPhone Simulator/5.0 -name e40f7c55-5d1a-4d91-b609-811bb7a1f3a8.log
[INFO] Launching application in Simulator
[INFO] Launched application in Simulator (9.08 seconds)
[DEBUG] executing command: xcodebuild -version
[DEBUG] Xcode 4.2
[DEBUG] Build version 4D199
[INFO] Found 5.0 patch installed
[INFO] Application started

[DEBUG] reading stylesheet from: /Users/ebryn/Library/Application Support/iPhone Simulator/5.0/Applications/1FC2B9C2-652B-4F0F-B204-90A87A9569D5/ios312test.app/stylesheet.plist

[INFO] ios312test/1.0 (1.7.3.dcf4257)

[DEBUG] Analytics is enabled = YES

2011-10-24 10:12:18.206 ios312test[17140:17903] Applications are expected to have a root view controller at the end of application launch

[DEBUG] loading: /Users/ebryn/Dev/Titanium Studio Workspace/ios312test/Resources/app.js, resource: Users/ebryn/Dev/Titanium Studio Workspace/ios312test/Resources/app_js

[DEBUG] application booted in 35.303950 ms

[DEBUG] App Spec: <DTiPhoneSimulatorApplicationSpecifier 0x100402180> specified by path /Users/ebryn/Dev/Titanium Studio Workspace/ios312test/build/iphone/build/Debug-iphonesimulator/ios312test.app
[DEBUG] SDK Root: <DTiPhoneSimulatorSystemRoot 0x100401230> path=/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk version=5.0 name=Simulator - iOS 5.0
[DEBUG] using device family iphone
[DEBUG] Session started
[DEBUG] Session did end with error (null)
[INFO] Application has exited from Simulator
This was tested with Xcode 4.2, Mac OS 10.7.2, and Titanium SDK version 1.7.3.

Comments

  1. Matthew Apperson 2011-10-24

    Erik, To accept this ticket we need a solid use case. For a full outline of all required information, please see our JIRA checklist here - http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist Best regards, Matt
  2. Erik Bryn 2011-10-24

    I'm very happy to report that I can verify that this bug is solved in the latest build: mobilesdk-1.7.4.v20111021181815-osx.zip sha1: 781b12f7ab6005b21ecd45daf3cbb61abeb82508
  3. Lee Morris 2017-03-07

    Closing ticket as duplicate.

JSON Source