xcode 5 crashes while opening xib developed in xcode6 - objective-c

I want to test my app for ios6. So, i downloaded xcode 5. In xcode5 While opening xib, xcode crashes with following log. Kindly suggest a solution.
Process: Xcode [2807]
Path: /Applications/Xcode 2.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 5.0 (3332.25)
Build Info: IDEApplication-3332025000000000~2
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [2807]
User ID: 501
Date/Time: 2015-07-14 12:55:38.017 +0500
OS Version: Mac OS X 10.10.3 (14D131)
Report Version: 11
Anonymous UUID: F20A6FAB-50EF-797B-17ED-DCA402DAE3BA
Time Awake Since Boot: 11000 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 5A1413
ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-3742/IBPlugin/Utilities/IBObjectMarshalling.m:36
Details: Failed to launch cocoa touch tool: Error Domain=com.apple.InterfaceBuilder Code=-1 "Interface Builder encountered an error communicating with the iOS Simulator." UserInfo=0x7fa34bda8380 {NSUnderlyingError=0x7fa34b78c2f0 "The operation couldn’t be completed. (IBMessageChannelErrorDomain error 1.)", NSLocalizedDescription=Interface Builder encountered an error communicating with the iOS Simulator., NSLocalizedRecoverySuggestion=Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information., NSLocalizedFailureReason="Interface Builder Cocoa Touch Tool" (2879) failed to launch and exited with status (null), signal 6.}
Object: <NSThread: 0x7fa341c2bb30>
Method: -cocoaTouchToolForTargetRuntime:
Thread: <NSThread: 0x7fa341c2bb30>{number = 1, name = main}
Hints: None

In the File Inspector of the XIB file, there's a "Interface Builder Document" popup and one of choices is "Opens in". And from there you can select "Xcode 5".
If you have auto-layout turned on, then the lowest you can go is Xcode 5.1.

Related

IntelliJ 2022.2 crashes on on MacOS opening project via "recently opened"

Since upgrading to Intellij IDEA 2022.2 the IDE crashes frequently, when I open a project via "File | Open Recent".
After that the IDE crashes on startup.
To solve the immediate problem, I can open /Users//Library/Application\ Support/IntelliJIdea2018.2/optionsJetBrains/IntelliJIdea2022.2/options/recentProjects.xml and delete opened="true" from the -Tag of the project causing the problem. But this only fixes it temporarily.
Apple Crash Report
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: idea [23792]
Path: /Applications/IntelliJ IDEA.app/Contents/MacOS/idea
Identifier: com.jetbrains.intellij
Version: 2022.2.3 (IU-222.4345.14)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
...
Date/Time: 2022-11-08 08:36:23.9671 +0100
OS Version: macOS 12.6.1 (21G217)
Report Version: 12
Bridge OS Version: 7.0 (20P411)
...
Time Awake Since Boot: 69000 seconds
Time Since Wake: 762 seconds
System Integrity Protection: enabled
Crashed Thread: 40 Java: Java2D Queue Flusher
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
VM Region Info: 0 is not in any region. Bytes before following region: 4367908864
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 104590000-104598000 [ 32K] r-x/r-x SM=COW ...ts/MacOS/idea
Kernel Triage:
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get

Creating a MoltenVK Buffer Crashes iOS App Only When Downloaded Through App Store

I have been developing a game in c++ using vulkan and moltenVK for porting to iOS and Mac. The game works fine when I run it through XCode on my iPhone, but when I distribute the app through TestFlight, it crashes immediately. Here is some of the crash report
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000048
Exception Codes: 0x0000000000000001, 0x0000000000000048
VM Region Info: 0x48 is not in any region. Bytes before following region: 4367466424
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 104524000-104798000 [ 2512K] r-x/r-x SM=COW ...ons And Mania
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [5132]
And the stack trace points to the first time my program calls MVKBuffer::MVKBuffer() via vkCreateBuffer.
I've verified that the build works when running from my machine, it's only when I build for a generic iOS device (arm64) and distribute through the app store that this is a problem.
Any idea why I would get a segfault when creating buffers?

Version 6.0 (6A313) crashing whenever i try to "Save for enterprise deployment"

Is anyone experiencing this?
Xcode will crash and throw the error below:
Process: Xcode [1208]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.0 (6299)
Build Info: IDEFrameworks-6299000000000000~8
Code Type: X86-64 (Native)
Parent Process: launchd [227]
Responsible: Xcode [1208]
User ID: 505
Date/Time: 2014-09-18 11:37:28.745 +0800
OS Version: Mac OS X 10.9.4 (13E28)
Report Version: 11
Anonymous UUID: A819F892-0B04-883D-E5AC-30EB917E651C
Crashed Thread: 11 Dispatch queue: com.apple.root.default-priority
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Getting very fustrating.

XCode6 keeps crashing when I try to export ad-hoc build

[UPDATE]
Problem has been solved after going Apple dev site and accept new Term and Condition agreement, this is the most strange problem I ever seen.
I am able to build and run app without any problem until create ad-hoc build, Xcode6 (version 6.0.1) will always crash after choosing account and team and throw below exception:
Process: Xcode [1861]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.0.1 (6528)
Build Info: IDEFrameworks-6528000000000000~2
App Item ID: 497799835
App External ID: 712682811
Code Type: X86-64 (Native)
Parent Process: launchd [258]
Responsible: Xcode [1861]
User ID: 501
Date/Time: 2014-09-26 13:07:23.360 +0700
OS Version: Mac OS X 10.9.5 (13F34)
Report Version: 11
Anonymous UUID: E2DD7234-2A56-B169-B657-56CFED90D316
Crashed Thread: 10 Dispatch queue: com.apple.root.default-priority
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6A317
UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]
UserInfo: (null)
Hints: None
Is anyone experiencing this? please help.
Note: I already choose team in Target config.

How to remove last selected file in Xcode 5 project navigator

My Xcode 5 is crashing continuously for one project when i am changing project navigator selection from xib file to any other file. so how to reset Xcode 5 preferences in mavericks?
Process: Xcode [11348]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 5.0 (3332.22)
Build Info: IDEApplication-3332022000000000~2
Code Type: X86-64 (Native)
Parent Process: launchd [476]
Responsible: Xcode [11348]
User ID: 501
Date/Time: 2013-11-19 20:17:51.222 +0530
OS Version: Mac OS X 10.9 (13A603)
Report Version: 11
Anonymous UUID: 7CAA04DB-9AE5-4DB6-4EA0-12DF215191FF
Sleep/Wake UUID: BC5C337A-14F4-4375-8EF4-397D0F2DB159
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 5A1412
ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilder/IDEInterfaceBuilder-4510/CocoaIntegration/ResourceManagement/IBCocoaResourceManager.m:73
Details: result should be an instance inheriting from NSImage, but it is IBCIImage
Object: <IBCocoaResourceManager: 0x7f85f54072a0>
Method: -placeholderResourceContentForMediaType:originalValue:
Thread: <NSThread: 0x7f85f0c150e0>{name = (null), num = 1}
Hints: None
Go to your .xcodeproj in Finder, and right click, select show package contents. Then select the project.xcworkspace file within and show package contents on that as well, then open the xcuserdata folder, open the yourusername.xcuserdatad folder. You will see a UserInterfaceState.xcuserstate file. Delete it. Then open back up your .xcodeproj file.