I downloaded and installed final version of Xcode 4. I opened my iPad project and realised that breakpoint's doesn't work on the device. They work ok on simulator though.
Before I was using Xcode 3.2 and everything was working fine.
I also tried creating an empty view based iOS application from scratch and have exactly this same issue. I was googling on that issue, but all solutions were based on previous versions of Xcode.
Any suggestions what am I doing wrong ?
Here is output from a console when running application
Mar 10 14:34:44 unknown installd[547] : entitlement 'keychain-access-groups' has value not permitted by a provisioning profile
Mar 10 14:34:44 unknown installd[547] : entitlement 'application-identifier' has value not permitted by a provisioning profile
Mar 10 14:34:44 unknown SpringBoard[29] : Killing me.device-debugging-test activate: deactivate: for app installation
Mar 10 14:34:44 unknown installd[547] : entitlement 'keychain-access-groups' has value not permitted by a provisioning profile
Mar 10 14:34:44 unknown installd[547] : entitlement 'application-identifier' has value not permitted by a provisioning profile
Mar 10 14:34:44 unknown SpringBoard[29] : Reloading application state for 'me.device-debugging-test' as its modification date has changed
Mar 10 14:34:45 unknown SpringBoard[29] : Reloading and rendering all application icons.
Mar 10 14:34:46 unknown com.apple.debugserver-48[551] : debugserver-48 for armv6 Copyright (c) 2007-2009 Apple, Inc. All Rights Reserved.
Mar 10 14:34:46 unknown com.apple.debugserver-48[551] : Connecting to com.apple.debugserver service...
Mar 10 14:34:47 unknown com.apple.launchd[1] : (UIKitApplication:me.device-debugging-test[0x4309]) Spawned and waiting for the debugger to attach before continuing...
Mar 10 14:34:47 unknown com.apple.debugserver-48[551] : Got a connection, waiting for debugger instructions for task "(null)".
Mar 10 14:34:47 unknown kernel[0] : lockbot[544] Builtin profile: debugserver (sandbox)
Mar 10 14:34:47 unknown kernel[0] : launchd[552] Builtin profile: container (sandbox)
Mar 10 14:34:47 unknown kernel[0] : launchd[552] Container: /private/var/mobile/Applications/(...) [69] (sandbox)
Reboot your device.
Short, sweet, and simple solution.
After hours spent digging through all the XCode options.
Related
I'm getting the following lines on app startup.
Application works fine though:
Jun 22 18:29:54 Alexeys-iPod-touch xxx[1169] : WARNING: The
runtime version supported by this application is unavailable. Jun 22
18:29:54 Alexeys-iPod-touch xxx[1169] : Using default
runtime: v4.0.30319
What should I do about it (and should I)?
This is just some debug spew we haven't had time to remove yet.
You can safely ignore it.
I'm new to OSX and running Mountain Lion in a Virtual Box VM. Xcode was running fine and I managed to create a simple Hello World App. I restarted the VM and when I tried to reopen my project Xcode crashed. I didn't think anything of this at the time but every time that I have relaunched Xcode since, it has frozen at this stage:
The CPU goes up to 95%ish usage and I have to force quit Xcode.
The following is in Xcode_Timestamp.hang:
Date/Time: 2013-06-07 12:02:37 +0100
OS Version: 10.8 (Build 12A269)
Architecture: x86_64
Report Version: 11
Command: Xcode
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Version: 4.6.2 (2067.2)
Build Version: 2
Project Name: IDEApplication
Source Version: 2067002000000000
App Item ID: 497799835
App External ID: 15055625
Parent: launchd [121]
PID: 353
Event: hang
Duration: 0.88s
Steps: 9 (100ms sampling interval)
Hardware model: MacPro3,1
Active cpus: 1
Free pages: 433637 pages (+16260)
Pageins: 1 pages
Pageouts: 0 pages
Process: Xcode [353]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Architecture: x86_64
Parent: launchd [121]
UID: 501
Task size: 175291 pages (-18383)
CPU Time: 0.456s
And in system.log:
Jun 7 12:16:07 imorelaptop.hkc2k3.local Dock[136]: no information back from LS about running process
Jun 7 12:16:17 imorelaptop.hkc2k3.local WindowServer[86]: CGXDisableUpdate: UI updates were forcibly disabled by application "Xcode" for over 1.00 seconds. Server has re-enabled them.
Jun 7 12:16:31 imorelaptop.hkc2k3.local WindowServer[86]: disable_update_likely_unbalanced: UI updates still disabled by application "Xcode" after 15.00 seconds (server forcibly re-enabled them after 1.00 seconds). Likely an unbalanced disableUpdate call.
Jun 7 12:16:39 imorelaptop.hkc2k3.local WindowServer[86]: reenable_update_for_connection: UI updates were finally reenabled by application "Xcode" after 23.15 seconds (server forcibly re-enabled them after 1.00 seconds)
Jun 7 12:17:11 imorelaptop.hkc2k3.local sandboxd[461] ([38]): mds(38) deny mach-lookup �#�:�*��;�j�Z��=�����~�הz�Q�F���N�m�mR���>wD+֍�T#���)�`�ثw�T78۲��r���-�j�&��ň����P�6EAM-�0b
���Q��Xh�R��S�^��
Jun 7 12:17:11 imorelaptop kernel[0]: Sandbox: sandboxd(461) deny mach-lookup com.apple.coresymbolicationd
Jun 7 12:17:11 imorelaptop.hkc2k3.local sandboxd[461] ([38]): mds(38) deny mach-lookup �#�:�*��;�j�Z��=�����~�הz�Q�F���N�m�mR���>wD+֍�T#���)�`�ثw�T78۲��r���-�j�&��ň����P�6EAM-�0b
���Q��Xh�R��S�^��
Jun 7 12:19:51 imorelaptop.hkc2k3.local WebProcess[306]: CoreAnimation: unhandled combiner function: 11
I have tried restarting my VM, increasing the RAM to 4GB (from 2GB) and reinstalling Xcode but still experiencing the same issue. I have also tried opening specific apps and files in Xcode, but the application still hangs at the same point.
After upgrading our Jenkins CI Mac mini to Lion and Xcode 4.3.2 (4E2002) we now receive an
unrecognized status -67068 from code signing
In the past code signing worked just fine, before we upgraded to Lion and the new Xcode. Now that all our developers are using Lion and the new version of Xcode, we were forced to update our CI box. Any help would be greatly appreciated.
May 10 18:17:49 unknown installd[70] : unrecognized status -67068 from codesigning library
May 10 18:17:49 unknown installd[70] : 00281000 verify_signer_identity: Could not copy validate signature: -402620415
May 10 18:17:49 unknown installd[70] : 00281000 preflight_application_install: Could not verify executable at /var/tmp/install_staging.aKaDJC/foo_extracted/Payload/Test.app
May 10 18:17:49 unknown installd[70] : 00281000 install_application: Could not preflight application install
May 10 18:17:49 unknown com.apple.itunesstored[110] : MobileInstallationInstall: failed with -1
May 10 18:17:50 unknown installd[70] : 00281000 handle_install: API failed
May 10 18:17:50 unknown installd[70] : 00281000 send_message: failed to send mach message of 71 bytes: 10000003
May 10 18:17:50 unknown installd[70] : 00281000 send_error: Could not send error response to client
May 10 18:18:18 unknown profiled[65] : (Note ) profiled: Idled.
May 10 18:18:18 unknown profiled[65] : (Note ) profiled: Service stopping.
Thanks to ThomasW I was able to Google, "Cannot find code object on disk", and found this article.
I have the newest cocos2d, Xcode4 and iOS5 SDK. I am testing my app on my iPhone 4 (5.0.1). No crashes occur on the simulator - only on devices.
On first run, my app crashes before entering the first scene, which it does by CCTransitionFade. It crashes in CCLayer at the line:
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
If i load the app again, it boots fine - no crashes.
I removed the CCTransition and made the first scene boot up without a transition, and i received no crash on first run (great!). However, during the game there is a point where i put a colorlayer over the top of the gamescene and fade the opacity of the color layer down to 50% or so. The game crashes here.
These crashes ONLY occur if the app is being run for the first time. Both crashes have opacity fading in common. Both crashes fail at the same line, in CCLayer.
This crash occurs on iPhone 4 (iOS 5.0.1) and iPad (iOS 5.0.1), but NOT iPhone 4 (iOS 4.2.1).
Does anyone have any thoughts, ideas or suggestions? I'm at a complete loss!
debug version running on device via xcode, crash at start:
Mar 6 23:36:53 unknown Boco[10699] : cocos2d: surface size: 640x960
Mar 6 23:37:08 unknown securityd[10702] : MS:Notice: Installing: (null) [securityd] (675.00)
Mar 6 23:37:08 unknown ReportCrash[10700] : MS:Notice: Installing: (null) [ReportCrash] (675.00)
Mar 6 23:37:09 unknown ReportCrash[10700] : Formulating crash report for process Boco[10699]
Mar 6 23:37:09 unknown com.apple.launchd[1] : (UIKitApplication:com.sunlight.boco[0x79a]) Bug: launchd_core_logic.c:3730 (25147):3
Mar 6 23:37:09 unknown com.apple.launchd[1] : (UIKitApplication:com.sunlight.boco[0x79a]) Assuming job exited: : 10: No child processes
Mar 6 23:37:09 unknown com.apple.launchd[1] : (UIKitApplication:com.sunlight.boco[0x79a]) Job appears to have crashed: Segmentation fault: 11
Mar 6 23:37:09 unknown SpringBoard[10505] : Application 'boco' exited abnormally with signal 11: Segmentation fault: 11
Mar 6 23:37:09 unknown ReportCrash[10700] : Saved crashreport to /var/mobile/Library/Logs/CrashReporter/Boco_2012-03-06-233708_James-iPhone.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
release version running on device ad hoc, crashing at color layer opacity change
Mar 6 23:57:40 unknown ReportCrash[343] : MS:Notice: Installing: (null) [ReportCrash] (675.00)
Mar 6 23:57:41 unknown ReportCrash[343] : Formulating crash report for process Boco[338]
Mar 6 23:57:41 unknown com.apple.launchd[1] : (UIKitApplication:com.sunlight.boco[0xe5d6]) Job appears to have crashed: Bus error: 10
Mar 6 23:57:41 unknown SpringBoard[28] : Application 'boco' exited abnormally with signal 10: Bus error: 10
Mar 6 23:57:41 unknown ReportCrash[343] : Saved crashreport to /var/mobile/Library/Logs/CrashReporter/Boco_2012-03-06-235740_James-iPhone.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
Didn't find a solution to this problem (see http://www.cocos2d-iphone.org/forum/topic/29958?replies=10#post-147371), so I created a new xcode project and ported all my code over. Solved the problem!
I recently updated to Xcode 4.2. I also updated my new iPad 2 and iPod (latest generation) to iOS 5. I build my app and can debug them no problem.
My older iPod running iOS 4.2.1 (8C148) doesn't run and doesn't give any errors.
The top center panel says "Finished running MyApp on iPod One". (iPod One is the name of my first iPod touch)
There is a flicker at the bottom of Xcode as if it almost went into the debugger and was about to show the bottom output panel but it doesn't. A break point in main doesn't stop it either.
I have no errors and nothing to go on.
I have renewed all provisioning profiles, restored the device, selected "use for development", nothing has helped.
Since there is no feed back from Xcode I do not know what to do.
p.s. The app runs in all of the simulators fine as well.
When I initially select the iPod I see the following series of messages in the console for the devices as shown from the Organizer:
Thu Oct 20 09:42:49 unknown lockdownd[16] : 2ffea000
handle_connection: Could not receive USB message #6 from Xcode.
Killing connection Thu Oct 20 09:42:49 unknown
com.apple.mobile.lockdown[16] : Could not receive size of
message Thu Oct 20 09:42:50 unknown
/Developer/Library/Daemons/DTFetchSymbols[308] : Found paths:
Thu Oct 20 09:42:50 unknown
/Developer/Library/Daemons/DTFetchSymbols[308] : /usr/lib/dyld
Thu Oct 20 09:42:50 unknown
/Developer/Library/Daemons/DTFetchSymbols[308] :
/System/Library/Caches/com.apple.dyld/dyld_shared_cache_armv6 Thu Oct
20 09:42:50 unknown com.apple.mobile.lockdown[16] : Could not
receive size of message Thu Oct 20 09:42:50 unknown lockdownd[16]
: 2ffea000 handle_connection: Could not receive USB message #6
from Xcode. Killing connection Thu Oct 20 09:42:56 unknown
lockdownd[16] : 2ffea000 handle_connection: Could not receive
USB message #6 from MDCrashReportTool. Killing connection
I had the same problem, but I solved it. The cause
unsuported architecture (by default Xcode4.2 uses standard arch= armv7 ) -> add armv6
In addition to adding the armv6 architecture, I had to remove the armv7 entry from my apps info.plist "Required Device Capabilities" entry.