Xcode 4.0.2 Crashes on launch - iphone

Xcode crashes on launch, and I do not have any idea why. I downloaded 4.0.2 + iOS SDK (4.3) and installed it. Then I tried to open it and it crashed on launch... Here is my console log that relates to the crash
enter cdyld: Library not loaded: /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication 6/14/11 6:10:55 PM [0x0-0x287287].com.apple.dt.Xcode[18402]
Referenced from: /iPhoneSDK/Applications/Xcode.app/Contents/MacOS/../../../../Library/PrivateFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation 6/14/11 6:10:55 PM [0x0-0x287287].com.apple.dt.Xcode[18402]
Reason: image not found 6/14/11 6:10:55 PM [0x0-0x287287].com.apple.dt.Xcode[18402]
catch_mach_exception_raise_state_identity(): PID: 18405 thread: 0x16c77 type: 0xa code: 0x1000f7044 codeCnt: 0x2 flavor: 0x1000f7054 old_state: 0x1000f705c old_stateCnt: 0x2c new_state: 0x1000f802c new_stateCnt: 0x1000f8028 6/14/11 6:10:55 PM com.apple.launchd.peruser.501[167]
(com.apple.ReportCrash.Self[18405]) Job appears to have crashed: Trace/BPT trap 6/14/11 6:10:55 PM com.apple.launchd.peruser.501[167]
catch_mach_exception_raise_state_identity(): PID: 18404 thread: 0x17037 type: 0xa code: 0x7fff5fbfdf14 codeCnt: 0x2 flavor: 0x7fff5fbfdf24 old_state: 0x7fff5fbfdf2c old_stateCnt: 0x2c new_state: 0x7fff5fbfe43c new_stateCnt: 0x7fff5fbfe438 6/14/11 6:10:55 PM com.apple.launchd.peruser.501[167]
(com.apple.ReportCrash[18404]) Job appears to have crashed: Trace/BPT trap 6/14/11 6:10:55 PM com.apple.launchd.peruser.501[167]
catch_mach_exception_raise_state_identity(): PID: 18402 thread: 0x1703b type: 0xa code: 0x7fff5fbfdf14 codeCnt: 0x2 flavor: 0x7fff5fbfdf24 old_state: 0x7fff5fbfdf2c old_stateCnt: 0x2c new_state: 0x7fff5fbfe43c new_stateCnt: 0x7fff5fbfe438 6/14/11 6:10:55 PM com.apple.launchd.peruser.501[167]
([0x0-0x287287].com.apple.dt.Xcode[18402]) Job appears to have crashed: Trace/BPT trap 6/14/11 6:10:55 PM com.apple.launchd.peruser.501[167]ode here

It looks like CoreSymbolication does not exist on your machine. I would uninstall and reinstall.

I had a similar problem with two Xcode versions which both failed to start.
I initially had Xcode 4.0.1 (back then the world was still a good place).
I wanted to see how our App looks when compiled with the current iOS SDK 5.0
So I installed Xcode 4.2 on top of Xcode 4.0.1 (overriding it completely)
I tested some stuff in my app and realized that I need to fallback to Xcode < 4.2
I installed Xcode 4.1. During the installation process the installer told me that the current installation would move from /Developer to /Developer-4.2
After all this neither of installed Xcode versions worked anymore which is bad.
I decided to uninstall Xcode 4.2 first and then reinstall Xcode 4.1 again.
I uninstalled Xcode 4.2 with the command sudo /Developer-4.2/Library/uninstall-devtools
I run the Xcode 4.1 installer again from /Applications/Install Xcode.app
After the installation Xcode 4.1 opened so it worked again...

I reinstalled via sudo /Developer/Library/uninstall-devtools and the App Store
But the offending source was restored, so Xcode crashed again. Boo!
I renamed the offending source's folder so Xcode couldn't find it.
Xcode couldn't find the source, and never crashed, which allowed me to get back to work.
Extremely Obvious Feature Request to Apple: hold 'option' to suppress previous projects from loading, plus a command line to do the same.

Related

ios application not published using adobe flash professional cc on mac

i am trying to publish an ios application using adobe flash cc on mac and flash professional cs6 on windows.
when i publish my application using cs6 ( air sdk 3.7, air sdk 3.6 ) on windows ipa is created and installed only on jail-break phone and when i try to install jailed phone its simply shows application failed to install.
when i start to publish with flash professional CC on mac (Size of Ram is 768MB) ipa is not created but the following errors are shown:
"Restore windows
The application “java” unexpectedly quit while trying to restore its windows.
Do you want to try to restore its windows again?"
and
"ADT quit unexpectedly while using the libjvm.dylib plug-in.
Click Reopen to open the application again.
Click Report to see more detailed information and send a report to Apple."
and at last a error report
if anyone face this issue or have sorted out this please let me know.
thanks
Virender
Error report:
Process: java [1175]
Path: /usr/bin/java
Identifier: net.java.openjdk.cmd
Version: 1.0 (1.0)
Code Type: X86-64 (Native)
Parent Process: sh [1174]
PlugIn Path: /Applications/Adobe Flash CC/Adobe Flash CC.app/Contents/jre/jre1.7.0_10.jre/Contents/Home/lib/server/libjvm.d ylib
PlugIn Identifier: libjvm.dylib
PlugIn Version: ??? (???)
Date/Time: 2013-07-11 22:10:34.716 -0700
OS Version: Mac OS X 10.7.4 (11E53)
Report Version: 9
Interval Since Last Report: 37146 sec
Crashes Since Last Report: 41
Per-App Interval Since Last Report: 6085 sec
Per-App Crashes Since Last Report: 41
Anonymous UUID: CDBA110A-A463-40BB-9E1F-2321B9E94AFE
Crashed Thread: 18 Java: Java2D Queue Flusher
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000003b0
VM Regions Near 0x3b0:
For a quick solution you can try using IfunBox with install IPA on a non jailbreack phone. By the way i had the same probrem, I was unable to instal my IPA on a non Jailbreack phone but wen i upload to Apple every thing goes fine! One of the reasons of the intalation fail could be that u didnt mach the license id and software name wen um create the IPA.

Why does ADT let's me export once. 2nd Export it crashes OSX 10.6

I have a weird problem since a few days. After exporting a project for android once it works fine the 2nd export I do eclipse crashes with this error:
Identifier: org.eclipse.eclipse
Version: 3.8 (3.8)
Code Type: X86-64 (Native)
Parent Process: launchd [269]
Date/Time: 2013-03-12 21:36:13.365 +0100
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report: 321292 sec
Crashes Since Last Report: 3
Per-App Interval Since Last Report: 44806 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 52A136CA-CDAE-4661-B166-51B04A18C21C
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: 0x000000000000000a, 0x000000011f1c965f
Crashed Thread: 46 Java: ModalContext
Any clues. Running: adt-bundle-mac-x86_64-20130219
SIGBUS looks like bad RAM but then other things would act up aswell?
B
I guess that's random. As mentioned in this thread it looks like it can happen if eclipse is building your project at the same time as you're exporting it. You could try to disable the "build automatically" option in eclipse while you're exporting it.

Xcode says Build is successful, but app is not installed on iPhone

I'm using Xcode 4.3.2 with the deployment target set to 4.1 and the iOS is 4.2.1 on an iPhone 3Gs. Whenever I build and run the application with the iPhone 3Gs as the target, it says "finished running 'app name' on 'iPhone 3Gs'.
I have a provision profile setup for this iPhone 3Gs
I checked organizer, and the circle to the right of the iPhone name is green
I ran the same app on my iPhone 4s with the deployment target set to 4.1 and it installed and runs on my iPhone 4s.
Any ideas as to what might be going on that is not installing the app on the iPhone 3Gs? I even tried searching for the app using spotlight, and nothing came up.
Thanks!
EDIT:
this is what appears in my device console log:
Fri May 18 15:27:39 unknown lockdownd[16] <Error>: 2ff68000 handle_connection: Could not receive USB message #6 from iTunes. Killing connection
Fri May 18 15:27:39 unknown com.apple.mobile.lockdown[16] <Notice>: Could not receive size of message
Fri May 18 15:27:51 unknown MobileStorageMounter[4978] <Notice>: (0x3e7518b8) platform_supports_camera_import: Platform is NOT configured for camera import
Fri May 18 15:28:01 unknown MobileStorageMounter[4978] <Notice>: (0x3e7518b8) idle_timer_callback: Exiting after idle
Make sure you have armv6 and armv7 for your 'Valid Architectures' in Build settings, because the 3Gs won't work on the defaulted armv7 only

app not launching on iPhone (iOS 5)

Just installed and app on my iPod touch using a developer provisioning profile. The app works fine some time but after some time it fails to start on iPod (iOS 5) touch, just tries to launch but in half way through closes .... even the splash is also not visible.
I checked the crash log from device says something like this.
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x00000001, 0xe7ffdefe
Crashed Thread: 0
Dyld Error Message:
Library not loaded: /Developer/Library/Frameworks/SenTestingKit.framework/SenTestingKit
Referenced from: /var/mobile/Applications/DBC8A071-F305-4095-8FF5-76DDC99DDDEE/ApplicationName.app/ApplicationName
Reason: image not found
Dyld Version: 199.5
Binary Images:
0x1000 - 0x72fff +ApplicationName armv7 <1f10c6b4168c3503908fead68d17ddb5> /var/mobile/Applications/DBC8A071-F305-4095-8FF5-76DDC99DDDEE/ApplicationName.app/ApplicationName
0x2fe79000 - 0x2fe9afff dyld armv7 /usr/lib/dyld
From log it seems like its failing to load the SenTestingKit library but how it works for some time????
And if I remove this framework what should be the alternative for iOS 5.
Please shed some light on this rather strange issue.
You should only be linking to SenTesting in your Testing target.
First:
Try to delete the derived Data, then clean the project and restart Xcode. If its still not working, check the Target dependencies of your library.
Second: Try to mark the SenTestingKit as "optional".
There are some problems with loading libraries in iOS 5, so just try to clean the project in xCode 4 and build it again. That maybe help you, because after a cleaning all paths will be set up for new.

iOS 4 app crashes at startup on iOS 3.1.3: Symbol not found: __NSConcreteStackBlock

I'm running Xcode 3.2.3 with the iOS 4.0 SDK. I built my app with Base SDK = iphoneos4.0, Active SDK = iphoneos4.0, Deployment Target = 3.1.3, and Architecture = standard (arm6 arm7). Compiler = GCC 4.2. As I understand it, this is the correct way to build an app for both iOS 4 and 3.
The app runs fine on devices running iOS 4. But it crashes on startup when you try to run it on a device with iOS 3.1.3 (an iPod Touch 1G):
dyld: Symbol not found: __NSConcreteStackBlock
Referenced from: /var/mobile/Applications/192B30ED-16AC-431E-B0E9-67C1F41FD5DA/MyApp.app/MyApp
Expected in: /usr/lib/libSystem.B.dylib
It appears to be an issue with a fairly "low level" dynamically-linked library, BEFORE my main() function even gets called. I have even tried re-starting the device, etc., with no luck. Here's part of the the crash log:
Process: MyApp [60]
Path: /var/mobile/Applications/192B30ED-16AC-431E-B0E9-67C1F41FD5DA/MyApp.app/MyApp
Identifier: MyApp
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2010-07-22 17:16:17.942 -0400
OS Version: iPhone OS 3.1.3 (7E18)
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x00000001, 0xe7ffdefe
Crashed Thread: 0
Dyld Error Message:
Symbol not found: __NSConcreteStackBlock
Referenced from: /var/mobile/Applications/192B30ED-16AC-431E-B0E9-67C1F41FD5DA/MyApp.app/MyApp
Expected in: /usr/lib/libSystem.B.dylib
Dyld Version: 149
Binary Images:
0x1000 - 0x80fff +MyApp armv6 <d5f0ff6f233b4b034c222c16438c88d9> /var/mobile/Applications/192B30ED-16AC-431E-B0E9-67C1F41FD5DA/MyApp.app/MyApp
0x2fe00000 - 0x2fe26fff dyld armv6 <544395a4b5546114b878d5131a84fd7f> /usr/lib/dyld
0x30410000 - 0x30536fff libSystem.B.dylib armv6 <0373fd64e915a17160732b29d343f95f> /usr/lib/libSystem.B.dylib
Thanks for any advice!
Ben Gottlieb pointed out yesterday that if you use blocks anywhere in your application, you'll see a crash similar to this on a pre-4.0 OS while building with the LLVM compiler. To work around this, you can specify the linker flag -weak-lSystem in your Xcode build settings.
Since most of these answers are specific to Xcode 3.x, just wanted to share what I did to fix this with Xcode 4.2.
Under your target in the "Build Phases" tab in the "Link Binary With Libraries" section I added "libSystem.dylib" and made it optional. This fixed the issue iOS 3.x devices while maintaining support for iOS 4.x and 5.0 devices.
If you happen to be using the cocos2d libraries, there is a cleaner way to do this, you should configure the cocos2d target's Deployment target to 3.0