Problems after switching to new iOS SDK
I switched over to apples new 4.1 SDK and Titanium 1.4. As soon as I do this there are many problems. I was done with the Program and now I get this shown below: —"AppName" is replacing my apps name!
Please Help!!!
Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
mmap$UNIX2003 called from function _Z20TCMalloc_SystemAllocmPmm in image "AppName".
Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
pthread_cond_init$UNIX2003 called from function _ZN3WTI17TCMalloc_PageHeap4initEv in image "AppName".
Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
pthread_cond_wait$UNIX2003 called from function _ZN3WTI17TCMalloc_PageHeap15scavengerThreadEv in image "AppName".
Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
mprotect$UNIX2003 called from function _ZN2TI3JIT35privateCompileCTIMachineTrampolinesEPN3WTI6RefPtrINS_14ExecutablePoolEEEPNS_12TiGlobalDataEPNS_21MacroAssemblerCodePtrES9_S9S9 in image "AppName".
[WARN] the 'url' property on ImageView has been deprecated. Please use 'image' instead
[WARN] the 'url' property on ImageView has been deprecated. Please use 'image' instead
[WARN] the 'url' property on ImageView has been deprecated. Please use 'image' instead
[WARN] the 'url' property on ImageView has been deprecated. Please use 'image' instead
…
Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
munmap$UNIX2003 called from function _ZN2TI14ExecutablePool13systemReleaseERKNS0_10AllocationE in image "AppName".
…
2010-09-14 11:09:43.035 "AppName"[5243:5c03] AddRunningClient starting device on non-zero client count
Please Help!!!
12 Answers
-
Please Help!
-
Hi Jason,
first you should install new sdk 1.4.1 , most of error comes from there.
(The url property has been depreced with imageview, just use "image:myurlimg".to install correctly the sdk go there.
http://developer.appcelerator.com/doc/mobile/get_continuous_buildslet me know
Andrea -
Ok I did change the url to image. I will update to 1.4.1 as you said. But one thing I noticed. I have an imageView that when dragged should follow the mouse/finger but does not. Instead it sporadically jumps around the screen.
-
Try first the upgrade, it fix and improve some animation/fluidity,
let me now about it, if not we should take a look to the code.
Andrea
(if you want to mark my answer right don't esitate :) -
Same Problem and Error Message here with a Hello World app.
So the Error isnt with your code it is with the Titanium SDK -
Ok getting the 1.4.1 does not work… It does not launch the iphone simulator… I get no errors, but nothing happens.
only ouput:
[INFO] Compiling JavaScript…one moment
[INFO] No JavaScript errors detected.
[INFO] One moment, building …
[INFO] Titanium SDK version: continuous-1.4.1
[INFO] iPhone Device family: iphone
[INFO] iPhone SDK version: 4.1and then nothing……
-
Why isnt there any Update from Appcelerator for the new iPhone SDK?
-
This did not work. I don't get errors in 1.4 and it launches, but imageView animations are jumpy or not working at all. Switching to iOS 4.1 and Titanium 1.4 screwed up everything.
-
Simply update to the latest build of 1.4.1 and the problems with the images not being found will be fixed (Well, removed, cause there technically wasn't anything wrong with it, from what I could tell…).
-
When this image is clicked, it is suppose to animate downward then be removed, as the code suggests. It does not get removed and will animate as suppose to to the bottom but pop back up again. What the hell. 1.3 sdk was fine. Now this does not work.
1.4.1 sdk latest does not launch!
<pre>
//Directions ANIMATION
var directionsDown = Titanium.UI.createAnimation();
directionsDown.duration = 1500;
directionsDown.zIndex = 100000;
directionsDown.repeat = 0;
directionsDown.autoreverse = false;
directionsDown.delay = 0;
directionsDown.top = 490;
directionsDown.opacity = 0.05;//////////////////////Directions
function animateDirectionsDown(){
imgDirections.animate(directionsDown, function(){
winGame.remove(imgDirections);});
}
</pre> -
See if anything in this thread I just made will help.
-
It did allow me to compile and launch the app, but I get alot of errors, and the imageView Animation is all screwed up, even more then 1.4.0… I also have audio messing up as well.
Should I revert to an earlier SDK?
I substituted NC for my app name!
My Output:
[INFO] Compiling JavaScript...one moment [INFO] No JavaScript errors detected. [INFO] One moment, building ... [INFO] Titanium SDK version: 1.4.1 [INFO] iPhone Device family: iphone [INFO] iPhone SDK version: 4.1 [INFO] Performing full rebuild. This will take a little bit. Hold tight... [INFO] Skipping JS compile, running from simulator [INFO] Launching application in Simulator [INFO] Launched application in Simulator (123.29 seconds) [INFO] Application started [INFO] NC/1.0 (1.4.1.5887ae) [INFO] In Wind1 2010-09-16 11:24:32.410 NC[24015:5c03] AddRunningClient starting device on non-zero client count Detected an attempt to call a symbol in system libraries that is not present on the iPhone: _Unwind_Resume called from function _ZN15ID3ParserHandleC2EPvPFlS0_mmmPS0_PmE in image AudioToolbox. [INFO] In Wind1 [INFO] In checkHit 1 [INFO] In updateScore [INFO] In updateScore2 [INFO] points:-1 [INFO] ch1 [INFO] ch2 [INFO] In ch6 [INFO] In ch7 [INFO] ch8 [INFO] ch9 [INFO] In check hit 2 [INFO] In Step Five [INFO] In Wind2 [INFO] In checkHit 1 [INFO] ch1 [INFO] In updateScore [INFO] In updateScore2 [INFO] points:-15 [INFO] ch2 [INFO] In ch6 [INFO] In ch7 [INFO] ch8 [INFO] ch9 [INFO] In check hit 2 [INFO] In Wind2 [INFO] In checkHit 1 [INFO] ch1 [INFO] ch2 [INFO] In ch6 [INFO] In ch7 [INFO] ch8 [INFO] ch9 [INFO] In updateScore [INFO] In updateScore2 [INFO] points:-1 [INFO] In check hit 2 2010-09-16 11:24:56.705 NC[24015:207] -[UIImageView zIndex]: unrecognized selector sent to instance 0x7e861b0 [ERROR] The application has crashed with an unhandled exception. Stack trace: 0 CoreFoundation 0x03876b7c __exceptionPreprocess + 156 1 libobjc.A.dylib 0x039c640e objc_exception_throw + 47 2 CoreFoundation 0x038786ab -[NSObject(NSObject) doesNotRecognizeSelector:] + 187 3 CoreFoundation 0x037e82b6 ___forwarding___ + 966 4 CoreFoundation 0x037e7e72 _CF_forwarding_prep_0 + 50 5 NC 0x00069f83 zindexSort + 36 6 CoreFoundation 0x037ddd1f __CFSimpleMergeSort + 591 7 CoreFoundation 0x037ddb16 __CFSimpleMergeSort + 70 8 CoreFoundation 0x037dd9bc CFSortIndexes + 268 9 CoreFoundation 0x0380077c -[NSArray sortedArrayWithOptions:usingComparator:] + 380 10 CoreFoundation 0x0380056a -[NSArray sortedArrayUsingFunction:context:] + 106 11 NC 0x0006ba4f -[TiUIView performZIndexRepositioning] + 260 12 NC 0x00059696 -[TiViewProxy setNeedsZIndexRepositioning] + 174 13 NC 0x0006bcd2 -[TiUIView repositionZIndex] + 58 14 NC 0x0006d1e7 -[TiUIView setZIndex_:] + 94 15 NC 0x000d2170 -[TiAnimation animate:] + 4124 16 NC 0x0006d92a -[TiUIView animate:] + 932 17 NC 0x00057456 -[TiViewProxy animate:] + 309 18 Foundation 0x0061e3ca __NSThreadPerformPerform + 251 19 CoreFoundation 0x03857faf __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15 20 CoreFoundation 0x037b639b __CFRunLoopDoSources0 + 571 21 CoreFoundation 0x037b5896 __CFRunLoopRun + 470 22 CoreFoundation 0x037b5350 CFRunLoopRunSpecific + 208 23 CoreFoundation 0x037b5271 CFRunLoopRunInMode + 97 24 GraphicsServices 0x0545d00c GSEventRunModal + 217 25 GraphicsServices 0x0545d0d1 GSEventRun + 115 26 UIKit 0x008adaf2 UIApplicationMain + 1160 27 NC 0x00004269 main + 362 28 NC 0x00003051 start + 53 29 ??? 0x00000001 0x0 + 1 2010-09-16 11:24:56.781 NC[24015:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIImageView zIndex]: unrecognized selector sent to instance 0x7e861b0' *** Call stack at first throw: ( 0 CoreFoundation 0x03876b99 __exceptionPreprocess + 185 1 libobjc.A.dylib 0x039c640e objc_exception_throw + 47 2 CoreFoundation 0x038786ab -[NSObject(NSObject) doesNotRecognizeSelector:] + 187 3 CoreFoundation 0x037e82b6 ___forwarding___ + 966 4 CoreFoundation 0x037e7e72 _CF_forwarding_prep_0 + 50 5 NC 0x00069f83 zindexSort + 36 6 CoreFoundation 0x037ddd1f __CFSimpleMergeSort + 591 7 CoreFoundation 0x037ddb16 __CFSimpleMergeSort + 70 8 CoreFoundation 0x037dd9bc CFSortIndexes + 268 9 CoreFoundation 0x0380077c -[NSArray sortedArrayWithOptions:usingComparator:] + 380 10 CoreFoundation 0x0380056a -[NSArray sortedArrayUsingFunction:context:] + 106 11 NC 0x0006ba4f -[TiUIView performZIndexRepositioning] + 260 12 NC 0x00059696 -[TiViewProxy setNeedsZIndexRepositioning] + 174 13 NC 0x0006bcd2 -[TiUIView repositionZIndex] + 58 14 NC 0x0006d1e7 -[TiUIView setZIndex_:] + 94 15 NC 0x000d2170 -[TiAnimation animate:] + 4124 16 NC 0x0006d92a -[TiUIView animate:] + 932 17 NC 0x00057456 -[TiViewProxy animate:] + 309 18 Foundation 0x0061e3ca __NSThreadPerformPerform + 251 19 CoreFoundation 0x03857faf __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15 20 CoreFoundation 0x037b639b __CFRunLoopDoSources0 + 571 21 CoreFoundation 0x037b5896 __CFRunLoopRun + 470 22 CoreFoundation 0x037b5350 CFRunLoopRunSpecific + 208 23 CoreFoundation 0x037b5271 CFRunLoopRunInMode + 97 24 GraphicsServices 0x0545d00c GSEventRunModal + 217 25 GraphicsServices 0x0545d0d1 GSEventRun + 115 26 UIKit 0x008adaf2 UIApplicationMain + 1160 27 NC 0x00004269 main + 362 28 NC 0x00003051 start + 53 29 ??? 0x00000001 0x0 + 1 ) terminate called after throwing an instance of 'NSException' [INFO] Application has exited from Simulator