When I want launch the xcode, this doesn't open and show me this message "Xcode quit unexpectedly" and the report is:
Process: Xcode [2585]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.3.1 (7703)
Build Info: IDEFrameworks-7703000000000000~4
App Item ID: 497799835
App External ID: 812230896
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [2585]
User ID: 393298473
Date/Time: 2015-05-14 13:36:02.941 -0300
OS Version: Mac OS X 10.10.3 (14D136)
Report Version: 11
Anonymous UUID: F6EF1A43-CD47-CDDB-8754-7B593A5DBE45
Time Awake Since Boot: 8200 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6D1002
Dyld Error Message:
Symbol not found: _ASI_CopyHostUUID
Referenced from: /Applications/Xcode.app/Contents/MacOS/../SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
Expected in: /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSystemInfo
How can I make it open?
When I had a EXC_BREAKPOINT (SIGTRAP) exception I used terminal to navigate to the Expected in: part of the Dyld error message.
For my problem I could remove the file that was being referred to by the Expected in: part of the Dyld error message.
I hope this helps you out.
EDIT:
I do not advise that you remove the system private frameworks. Sorry for the careless wording.
What I meant was that if you go to Expected in: /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSystemInfo you might find what needs to be changed.
Related
I am trying to open a project made in Xcode 12 using Xcode 13.1 and I get crash. In Xcode 12 it opens without problems Log shown below. Can you help me ? Thank you.
P.S. I found that the problem is in Info.plist but could not localize it
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Xcode [7074]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 13.1 (19466)
Build Info: IDEFrameworks-19466000000000000~20 (13A1030d)
App Item ID: 497799835
App External ID: 844664792
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2021-11-05 16:39:48.5109 +0200
OS Version: macOS 12.0.1 (21A559)
Report Version: 12
Anonymous UUID: D316D717-0D90-660E-6F7F-7597A80EED19
Time Awake Since Boot: 25000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[__NSArrayM allKeys]: unrecognized selector sent to instance 0x7fef2821dc60
Problem did fix. While reading Info.plist Xcode 13 did crash on 'App Transport Security Settings' key parsing. I removed it from .plist & manually recreated 'App Transport Security Settings' key hierarchy. Strange situation...
I can run my app on device but when I run it on simulator, I got an error, how can I run it on a simulator?
xcode version: 12.1
simulator version: 14.1
I can't lunch the simulator now
Process: SpringBoard [8490]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/CoreServices/SpringBoard.app/SpringBoard
Identifier: SpringBoard
Version: 1.0 (50)
Code Type: X86-64 (Native)
Parent Process: launchd_sim [8020]
Responsible: SimulatorTrampoline [784]
User ID: 501
Date/Time: 2020-11-04 18:33:21.811 +0800
OS Version: Mac OS X 10.15.7 (19H2)
Report Version: 12
Anonymous UUID: 4B907FF2-14B6-5989-E5EB-360FD491CCA0
Time Awake Since Boot: 5400 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x5] Code Signature
Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_SHARED_CACHE_DIR=/Users/apple/Library/Developer/CoreSimulator/Caches/dyld/19H2/com.apple.CoreSimulator.SimRuntime.iOS-14-1.18A8394
DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot
DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks
DYLD_FALLBACK_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib
Dyld Error Message:
Library not loaded: /System/Library/PrivateFrameworks/MediaPlatform.framework/MediaPlatform
Referenced from: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/MediaLibraryCore.framework/MediaLibraryCore
Reason: no suitable image found. Did find:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/MediaPlatform.framework/MediaPlatform: code signature invalid for '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/MediaPlatform.framework/MediaPlatform'
Binary Images:
0x10286f000 - 0x102875fff com.apple.springboard (1.0 - 50) <5E08B57A-06BC-3482-9CD7-3E821C3DBD85> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/CoreServices/SpringBoard.app/SpringBoard
I am new to iOS. I have created a ipa file using Xcode 6.4, which is working fine on 8.X. but recently we tried it on iPhone 6 with iOS 9, and the app get crashed after splash screen. does anyone faced this problem?
crash log
Incident Identifier: E4ACE339-8187-48DF-BACC-75B0E5476D58
CrashReporter Key: ac2769bff5db3be2b771695a24c3809680e077a9
Hardware Model: iPhone7,2
Process: <app name> [1851]
Path: <app path>
Identifier: <identifier>
Version: 2 (1.1)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2015-10-07 13:07:06.06 +0530
Launch Time: 2015-10-07 13:07:05.05 +0530
OS Version: iOS 9.0.2 (13A452)
Report Version: 105
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000000e7ffdefe
Triggered by Thread: 0
Filtered syslog:
None found
Dyld Error Message:
Dyld Message: Library not loaded: #executable_path/TestLib.dylib
Referenced from: /var/mobile/Containers/Bundle/Application/C92A5FDC-2C2E-4A64-B20D-4AF90BD3D8C0/<appName>.app/<appName>
Reason: no suitable image found. Did find:
/var/mobile/Containers/Bundle/Application/C92A5FDC-2C2E-4A64-B20D-4AF90BD3D8C0/<appName>.app/TestLib.dylib: mmap() error 22 at address=0x0060F000, size=0x00003000 segment=__DATA in Segment::map() mapping /var/mobile/Containers/Bundle/Application/C92A5FDC-2C2E-4A64-B20D-4AF90BD3D8C0/<appName>.app/TestLib.dylib
/private/var/mobile/Containers/Bundle/Application/C92A5FDC-2C2E-4A64-B20D-4AF90BD3D8C0/<appName>.app/TestLib.dylib: mmap() error 22 at address=0x00637000, size=0x00003000 segment=__DATA in Segment::map() mapping /private/var/mobile/Containers/Bundle/Application/C92A5FDC-2C2E-4A64-B20D-4AF90BD3D8C0/<appName>.app/TestLib.dylib
Dyld Version: 369.12
Binary Images:
0x8c000 - 0x42ffff <appName> armv7 <d171742a44fc36628a38796e5c37c9dc> /var/mobile/Containers/Bundle/Application/C92A5FDC-2C2E-4A64-B20D-4AF90BD3D8C0/<appName>.app/<appName>
0x1fee4000 - 0x1ff0bfff dyld armv7s <208fd9e5719439acb248b91286f1dd33> /usr/lib/dyld
Problem is solved. the above crash nothing to do with iOS 9 or Xcode 7. we were pushing the app through the MDM(Mobile device Management). MDM was doing a wrapping which was caused to this issue. this was identified by MDM support team. and its working now.
Sorry that I hadn't mentioned about MDM in my post(because I didn't thought that MDM can cause such problem)
Thanks for your comments.
Yesterday, I can run my project perfectly in xcode, but today when I open my project the xcode always quit unexpectedly. And my developer account expires today, and this app is built under my this expired account. I'm wondering is this the reason why the xcode quite unexpectedly?
Process: Xcode [1352]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.1 (6604)
Build Info: IDEFrameworks-6604000000000000~2
App Item ID: 497799835
App External ID: 752282650
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [1352]
User ID: 501
Date/Time: 2014-11-23 00:39:18.946 -0500
OS Version: Mac OS X 10.10.1 (14B25)
Report Version: 11
Anonymous UUID: 621A224C-863D-FF01-0409-8E03669992FE
Sleep/Wake UUID: 9C560417-B1A6-47C5-AA0D-7E5C5331F6FD
Time Awake Since Boot: 5500 seconds
Time Since Wake: 1800 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6A1052d
UNCAUGHT EXCEPTION (NSInvalidArgumentException): The index 9223372036854771711 is invalid
UserInfo: (null)
Hints: None
Backtrace:
From what I can see of the crash log, its more likely just an invalid value somewhere. That index is a 64 bit number that is very big (0x7FFFFFFFFFFFEFFF) and would be in invalid if it was somehow passed to an array or something.
Its best to run /Applications/Utilities/Console and see if there there are any errors that came from Xcode. They may have more details.
Usually, if an account expires, associate apps are removed from the store and you can't access resources on the developer portal. I have not heard of Xcode stopping before.
I've just migrated from Xcode 5.0.2 to 5.1.1 and I'm always getting an exception just when the app is opening and I'm really puzzled with it because I don't know what's happening, I need that version of xcode to test with my device iphone 5s.
This is the exception I'm getting:
Process: Xcode [7340]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 5.1.1 (5085)
Build Info: IDEFrameworks-5085000000000000~10
App Item ID: 497799835
App External ID: 520942841
Code Type: X86-64 (Native)
Parent Process: launchd [333]
Responsible: Xcode [7340]
User ID: 501
Date/Time: 2014-07-15 19:28:54.658 +0200
OS Version: Mac OS X 10.9.1 (13B42)
Report Version: 11
Anonymous UUID: 044342C4-F689-0487-D2A8-77FEE8704AB4
Sleep/Wake UUID: 0C4C242B-6F81-466E-A7E6-FF91D0887C3F
Crashed Thread: 0 Dispatch queue: IDESourceControlTree Change Queue
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 5B1008
ASSERTION FAILURE in /SourceCache/DVTFrameworks/DVTFrameworks-5074/DVTFoundation/Protocols/DVTInvalidation.m:254
Details: <IDESourceControlRepository, 0x7fe39514ff20> was never invalidated.
Open Xcode's preferences and get rid of all repositories in the Accounts pane.
If that's not sufficient, you may have to take this project out of source control completely.