Xcode 5.1.1 crash on starting - ios

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.

Related

xcode 13.1 crash while project loading

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...

React Native, runs fine while react-native run-ios, crashing when deployed via testflight

So I'm a bit stuck here, my app runs fine whilst running locally via metro bundler react-native run-ios...
However when its deployed via testflight and I enter a particular screen I get a crash and the following crash report:
{"app_name":"myApp","app_cohort":"2|date=1540402200000&sf=143444&tid=bb84ca05a7be8e2da05f0db328a2ba46d76ab3285e3658175938c5ca87d6cd0f&ttype=i","app_version":"1.0","timestamp":"2018-10-24 18:37:52.73 +0100","slice_uuid":"2c0e8da0-b543-3014-808a-e0e35880f848","adam_id":1440030197,"build_version":"15","bundleID":"org.deliver.my.stuff.myApp","share_with_app_devs":true,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 11.3.1 (15E302)","incident_id":"68871235-3982-4B92-954B-E7205263E4E1","is_beta":true,"name":"myApp"}
Incident Identifier: 68871235-3982-4B92-954B-E7205263E4E1
Beta Identifier: D6077464-5670-4488-A863-51B4947CDF37
Hardware Model: iPhone9,3
Process: myApp [832]
Path: /private/var/containers/Bundle/Application/AB5305E3-6C91-48FE-89C7-CB5F6706A6DC/myApp.app/myApp
Identifier: org.deliver.my.stuff.myApp
Version: 15 (1.0)
Beta: YES
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: org.deliver.my.stuff.myApp [783]
Date/Time: 2018-10-24 18:37:52.6426 +0100
Launch Time: 2018-10-24 18:37:49.7676 +0100
OS Version: iPhone OS 11.3.1 (15E302)
Baseband Version: 2.03.12
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 3
Application Specific Information:
abort() called
Filtered syslog:
None found
Last Exception Backtrace:
(0x1841ded8c 0x1833985ec 0x1004fef20 0x1004fc9e0 0x1841e6580 0x1840c5748 0x1840ca56c 0x10051296c 0x100556de0 0x100556b40 0x183ad0b24 0x183ad0ae4 0x183adaa38 0x183adb380 0x183adbd4c 0x183ae411c 0x183e03e70 0x183e03b08)
myApp is just a name I've replaced the actual name of the app with - like I said it runs fine but I'm not quite sure how to decode this crash report?
I thought the backtrace should show the exception but it doesn't appear to?

Xcode 7 keeps crashing opening a project (xcworkspace)

I have already deleted the xcuserdata and installed the pods, please help
Process: Xcode [7657] Path:
/Applications/Xcode.app/Contents/MacOS/Xcode Identifier:
com.apple.dt.Xcode Version: 7.2.1 (9548.1)
Build Info: IDEFrameworks-9548001000000000~2 App Item ID:
497799835 App External ID: 816142004 Code Type:
X86-64 (Native) Parent Process: ??? [1] Responsible:
Xcode [7657] User ID: 501 Date/Time:
2016-03-08 14:31:23.339 -0300 OS Version: Mac OS X 10.11.3
(15D21) Report Version: 11 Anonymous UUID:
8FA68617-F453-C688-3C68-1CE8439AAB53 Sleep/Wake UUID:
D4A9457B-2985-4548-B57A-8D9462B68A23 Time Awake Since Boot: 20000
seconds Time Since Wake: 4600 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: ProductBuildVersion: 7C1002 UNCAUGHT
EXCEPTION (NSInvalidArgumentException): data parameter is nil
UserInfo: (null) Hints: None Backtrace:

Xcode 6.1 quit unexpected due to the expired developer account?

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.

Xcode 5.0.2 crashes on start-up (OSAKit plugin - code signature invalid)

Today Xcode is crashing for me every time I start it up. When I last used it last week it was working fine and I haven't changed anything.
I've tried reinstalling Xcode but it has made no difference. Does anybody have any ideas how I can get it working again?
Process: Xcode [1062]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 5.0.2 (3335.32)
Build Info: IDEApplication-3335032000000000~4
App Item ID: 497799835
App External ID: 106632651
Code Type: X86-64 (Native)
Parent Process: launchd [260]
Responsible: Xcode [1062]
User ID: 501
PlugIn Path: /System/Library/Frameworks/OSAKit.framework/Versions/A/OSAKit
PlugIn Identifier: com.apple.OSAKit
PlugIn Version: 1.4 (89)
Date/Time: 2014-01-14 14:09:05.686 +0000
OS Version: Mac OS X 10.9.1 (13B42)
Report Version: 11
Anonymous UUID: B2D995CA-38C1-0B1C-DA4E-8DD870BE2A37
Crashed Thread: 0 Dispatch queue: DVTPlugInExtensionFaultingLock
Exception Type: EXC_CRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000000, 0x0000000000000000
VM Regions Near 0x7fff7692ee40 (cr2):
__DATA 00007fff7691b000-00007fff76920000 [ 20K] rw-/rwx SM=COW /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
--> __DATA 00007fff76920000-00007fff76936000 [ 88K] rw-/rwx SM=COW /System/Library/Frameworks/OSAKit.framework/Versions/A/OSAKit
__DATA 00007fff76936000-00007fff76937000 [ 4K] rw-/rwx SM=COW /usr/lib/system/libsystem_m.dylib
Application Specific Information:
ProductBuildVersion: 5A3005
As pointed out by trojanfoe in the comment above, the OSAKit framework had become corrupted somehow. Copying an uncorrupted version of the files from another machine fixed the problem.

Resources