New Mobile SDK 1.4.0 broke Developer
Hi
Setting my project to Mobile SDK 1.4.0 creates unforeseen problems..
Basically, Ti Developer just does the normal build routine but but stop short of launching the iphone simulator.
The Launch button in Developer also becomes available again.
OS: Leopard
iphone SDK 3.1.3
Ti Developer 1.2.1
Mobile SDK 1.4.0
Bugs? Workarounds?
7 Answers
-
Same here,
I would just add XCode Version 3.1.4 in my case. The last info line displayed in Titanium Developer before it blocks is "[INFO] iPhone SDK version: 3.1".
Going back to Mobile SDK 1.3 make the iPhone emulator launch.
Android emulator launch fine with Mobile SDK 1.4.0.
-
Same issue. Here is the error in the build log.
post-compile ** BUILD FAILED ** The following build commands failed: Graphite: CompileC build/Graphite.build/Debug-iphonesimulator/Graphite.build/Objects-normal/i386/TiMapView.o /Users/macbookpro/Sites/GraphiteWellnessLLC/Graphite/trunk/Titanium/Mobile/Graphite/build/iphone/Classes/TiMapView.m normal i386 objective-c com.apple.compilers.gcc.4_0 (1 failure) EXIT CODE WAS: 1 Exception detected in script: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py", line 836, in main execute_xcode("iphonesimulator%s" % iphone_version,["GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s" % (log_id,sdk_version)],False) File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py", line 758, in execute_xcode output = run.run(args,False,False,o) File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/run.py", line 31, in run sys.exit(rc) SystemExit: 1
-
And here is the specific error in TiMapView
build/iphone/Classes/TiMapView.m: In function '-[TiMapView removeAnnotation:]': build/iphone/Classes/TiMapView.m:156: error: request for member 'title' in something not a structure or union build/iphone/Classes/TiMapView.m: In function '-[TiMapView selectAnnotation:]': build/iphone/Classes/TiMapView.m:235: error: request for member 'title' in something not a structure or union build/iphone/Classes/TiMapView.m: In function '-[TiMapView deselectAnnotation:]': build/iphone/Classes/TiMapView.m:260: error: request for member 'title' in something not a structure or union
-
Do you guys found a solution ? I'm still getting errors at compilation :
BUILD FAILED
The following build commands failed:
test2:
CompileC build/test2.build/Debug-iphonesimulator/test2.build/Objects-normal/i386/TiMapView.o "/Users/bgp/Mobile Dev/Titanium/test2/build/iphone/Classes/TiMapView.m" normal i386 objective-c com.apple.compilers.gcc.4_0
(1 failure)EXIT CODE WAS: 1
Exception detected in script:
Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py", line 836, in main
execute_xcode("iphonesimulator%s" % iphone_version,["GCC_PREPROCESSOR_DEFINITIONS=LOGID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s" % (log_id,sdk_version)],False)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py", line 758, in execute_xcode
output = run.run(args,False,False,o)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/run.py", line 31, in run
sys.exit(rc)
SystemExit: 1I created a bright new app to test…
I am running Xcode 3.1.4, do you think I need to upgrade to 3.2.3 ?I also tried to replace the logger.py as suggested in the blog and removing the iphone folder from the build folder didn't help either.
One thing, I installed the app anyway on my iPhone with 4.0.1 and the install worked.. There must be something wrong with the simulator. Tell me guys if you still share the same problem or if you found a solution, thanks in advance ;)
-
I think I found the solution, my OS iOS is 4.0.1 but Xcode 3.1.4 only support up to iOS 3.1.*… Downgrade iOS or upgrade Xcode should do the trick, I ll tell you.
That's it, I upgraded to snow leopard and now everything is fine !
-
So far, I managed to do a build and the iphone launches with a black screen and hung there…
- OSX Snow Leopard
- Ti Developer 1.2.1
- Ti Mobile SDK 1.4.0
- Iphone SDK 3.2 and 4
- Latest xcode
-
It is working now.
What changed? Latest xcode with 4.0.1 SDK