Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2857] iOS: Regression, can no longer build using 3.1

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2011-04-15T03:31:20.000+0000
Affected Version/sn/a
Fix Version/sBacklog
ComponentsiOS
Labelsbuild, ios, regression
ReporterJeff Haynie
AssigneeRalf Pfeiffer
Created2011-04-15T03:31:19.000+0000
Updated2017-03-02T21:03:05.000+0000

Description

Starting at least in 1.4.1.1 (also tested in 1.5.1) you can no longer build using 3.1 of the iOS SDK. Most people should be updating to 3.2, but we still support 3.1 (or at least that was the intention, however, this is now a regression).

Here's the build errors:

CompileC build/sjcs.build/Debug-iphonesimulator/sjcs.build/Objects-normal/i386/TiMapView.o /Users/jhaynie/Desktop/ginny/sjcs/build/iphone/Classes/TiMapView.m normal i386 objective-c com.apple.compilers.gcc.4_0
    cd /Users/jhaynie/Desktop/ginny/sjcs/build/iphone
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wunused-function -D__LOG__ID__=eac4af05-c380-4871-8f61-03f08e7ba4ed -DDEPLOYTYPE=development -DTI_DEVELOPMENT=1 -DDEBUG=1 -DTI_VERSION=1.4.1.1 -D__IPHONE_OS_VERSION_MIN_REQUIRED=30000 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Users/jhaynie/Desktop/ginny/sjcs/build/iphone/build/sjcs.build/Debug-iphonesimulator/sjcs.build/sjcs-generated-files.hmap -I/Users/jhaynie/Desktop/ginny/sjcs/build/iphone/build/sjcs.build/Debug-iphonesimulator/sjcs.build/sjcs-own-target-headers.hmap -I/Users/jhaynie/Desktop/ginny/sjcs/build/iphone/build/sjcs.build/Debug-iphonesimulator/sjcs.build/sjcs-all-target-headers.hmap -iquote /Users/jhaynie/Desktop/ginny/sjcs/build/iphone/build/sjcs.build/Debug-iphonesimulator/sjcs.build/sjcs-project-headers.hmap -F/Users/jhaynie/Desktop/ginny/sjcs/build/iphone/build/Debug-iphonesimulator -I/Users/jhaynie/Desktop/ginny/sjcs/build/iphone/build/Debug-iphonesimulator/include -I/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.sdk/usr/include/libxml2 -Iheaders -I/Users/jhaynie/Desktop/ginny/sjcs/build/iphone/build/sjcs.build/Debug-iphonesimulator/sjcs.build/DerivedSources/i386 -I/Users/jhaynie/Desktop/ginny/sjcs/build/iphone/build/sjcs.build/Debug-iphonesimulator/sjcs.build/DerivedSources -DDEBUG -DTI_POST_1_2 -include /var/folders/-Q/-QOOtL79HkO32grwQemDn++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/sjcs_Prefix-eummnwrxorruitbkkyatymbdpgqv/sjcs_Prefix.pch -c /Users/jhaynie/Desktop/ginny/sjcs/build/iphone/Classes/TiMapView.m -o /Users/jhaynie/Desktop/ginny/sjcs/build/iphone/build/sjcs.build/Debug-iphonesimulator/sjcs.build/Objects-normal/i386/TiMapView.o
/Users/jhaynie/Desktop/ginny/sjcs/build/iphone/Classes/TiMapView.m: In function '-[TiMapView removeAnnotation:]':
/Users/jhaynie/Desktop/ginny/sjcs/build/iphone/Classes/TiMapView.m:156: error: request for member 'title' in something not a structure or union
/Users/jhaynie/Desktop/ginny/sjcs/build/iphone/Classes/TiMapView.m: In function '-[TiMapView selectAnnotation:]':
/Users/jhaynie/Desktop/ginny/sjcs/build/iphone/Classes/TiMapView.m:235: error: request for member 'title' in something not a structure or union
/Users/jhaynie/Desktop/ginny/sjcs/build/iphone/Classes/TiMapView.m: In function '-[TiMapView deselectAnnotation:]':
/Users/jhaynie/Desktop/ginny/sjcs/build/iphone/Classes/TiMapView.m:260: error: request for member 'title' in something not a structure or union

thomas, we need to also make sure we test for 3.1 and 3.2 (or at least until we drop support for 3.1).

ralf, please schedule into the appropriate 1.6 milestone. this should be an easy fix.

Comments

  1. Blain Hamon 2011-04-15

    There's building against 3.1 and there's building with 3.1 support. We already do the latter, and have no need for the former. That is, it degrades gracefully for 3.1, but does require a newer SDK.

    Also, hoping we can drop support for 3.1 sometime soon. Hideous workarounds are hideous.

  2. Lee Morris 2017-03-02

    Closed as invalid.

JSON Source