xCode 6.3 crashes when renaming "App" template project

Hi guys,

After xCode update to 6.3 renaming the default CoronaEnterprise “App” project results in xCode crash:

Process: Xcode [41990] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 6.3 (7569) Build Info: IDEFrameworks-7569000000000000~2 App Item ID: 497799835 App External ID: 812135760 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Xcode [41990] User ID: 501 Date/Time: 2015-04-11 15:33:48.582 +0300 OS Version: Mac OS X 10.10.3 (14D131) Report Version: 11 Anonymous UUID: 38D6FA67-D2E0-E14F-C8F2-B9B95774950B Sleep/Wake UUID: 3E3988AF-7250-4170-BFCD-41C30AA3EED3 Time Awake Since Boot: 12000 seconds Time Since Wake: 4600 seconds Crashed Thread: 0 Dispatch queue: IDEContainer - uniquing lock Exception Type: EXC\_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Application Specific Information: ProductBuildVersion: 6D570 ASSERTION FAILURE in /SourceCache/IDEFrameworks/IDEFrameworks-7569/IDEFoundation/ProjectModel/Containers/IDEContainer.m:564 Details: Error: Mismatch between existing container extension: \<DVTExtension 0x7fc55da55e20: Xcode 3 Project (Xcode.Xcode3ProjectSupport.Container.Xcode3project) v0.1\> and requested container extension: \<DVTExtension 0x7fc55c4c5b30: Folder (Xcode.IDEFoundation.Container.Folder) v0.1\> for file path: \<DVTFilePath:0x7fc56465b070:'/Users/sergey/IdeaProjects/rslots/rslots-client-enterprise/ios/rslots'\> Object: \<IDEContainer\> Method: +\_retainedContainerAtFilePath:fileDataType:workspace:options:error: Thread: \<NSThread: 0x7fc559c397b0\>{number = 1, name = main} Hints: None

This happens on CoronaEnterprise version 2015.2533 and latest to this day 2015.2611.

Could you take a look?

I was able to reproduce this so I’ve filed a bug report since I have code that causes this.

Case# 40183

Rob

Thank you Rob!

Hi Rob,

I have tried latest build, but the crash is still there. Could you provide with an estimate when this will be fixed?

If it takes a long time, do you know if it is feasible to setup enterprise project by oneself? I imagine I will have to go through existing App project and carefully copy Corona-specific settings to a clean xCode project, it doesn’t sound easy  :mellow:

Other option I might take would be xCode downgrade, but it is really a last resort…

This appears to be an Apple bug when trying to rename older projects.  There are also work arounds including renaming the project from the finder (this rename you’re doing is renaming the project file anyway, not the target.

It may be a while before we can get to this given our other priorities.

Rob

Having the same issue here. :frowning:

Can’t find how to rename the project, xCode always crashes. We need to do that in order to build a new version for our game.

Thank you for your help Rob!

I have submitted a bug report in Apple Bug Reporter too, number is 20571292

Project rename is not only renaming a file name, when done in xCode it replaces app ids in some other files, more like a refactoring.

Maybe I can write a bash script to perform the renaming operation, hopefully it will work.

I encountered this problem as well going though Rob’s great iOS Enterprise quick start tutorial and this work around enabled me to continue past the App renaming instruction in Xcode 6.3:

Manually rename in the finder App.xcodeproj and App-info.plist to YourNewAppName.xcodeproj and YouNewAppName-info.plist. Control click on YourNewAppName.xcodeproj and chose Show Package Contents, manually rename App.xcscheme to YouNewAppName.xcscheme 

Open project.pbxproj, YouNewAppName.xcscheme and xcschememanagement.plist files in your favorite text editor other than Xcode. Find and replace one at a time all instances of App to YourNewAppName then Save.

Control click on project.xcworkspace and chose Show Package Contents and open UserInterfaceState.xcusersate in text editor. Find and replace one at a time all instances of App to YourNewAppName then Save.

Open YourNewAppName.xcodeproj in Xcode and change under the Project Document settings:  Project Format Xcode 6.3-compatible

You might want to consider rolling back to Xcode 6.2. 

http://adcdownload.apple.com//Developer_Tools/Xcode_6.2/Xcode_6.2.dmg

Rob

I was able to reproduce this so I’ve filed a bug report since I have code that causes this.

Case# 40183

Rob

Thank you Rob!

Hi Rob,

I have tried latest build, but the crash is still there. Could you provide with an estimate when this will be fixed?

If it takes a long time, do you know if it is feasible to setup enterprise project by oneself? I imagine I will have to go through existing App project and carefully copy Corona-specific settings to a clean xCode project, it doesn’t sound easy  :mellow:

Other option I might take would be xCode downgrade, but it is really a last resort…

This appears to be an Apple bug when trying to rename older projects.  There are also work arounds including renaming the project from the finder (this rename you’re doing is renaming the project file anyway, not the target.

It may be a while before we can get to this given our other priorities.

Rob

Having the same issue here. :frowning:

Can’t find how to rename the project, xCode always crashes. We need to do that in order to build a new version for our game.

Thank you for your help Rob!

I have submitted a bug report in Apple Bug Reporter too, number is 20571292

Project rename is not only renaming a file name, when done in xCode it replaces app ids in some other files, more like a refactoring.

Maybe I can write a bash script to perform the renaming operation, hopefully it will work.

I encountered this problem as well going though Rob’s great iOS Enterprise quick start tutorial and this work around enabled me to continue past the App renaming instruction in Xcode 6.3:

Manually rename in the finder App.xcodeproj and App-info.plist to YourNewAppName.xcodeproj and YouNewAppName-info.plist. Control click on YourNewAppName.xcodeproj and chose Show Package Contents, manually rename App.xcscheme to YouNewAppName.xcscheme 

Open project.pbxproj, YouNewAppName.xcscheme and xcschememanagement.plist files in your favorite text editor other than Xcode. Find and replace one at a time all instances of App to YourNewAppName then Save.

Control click on project.xcworkspace and chose Show Package Contents and open UserInterfaceState.xcusersate in text editor. Find and replace one at a time all instances of App to YourNewAppName then Save.

Open YourNewAppName.xcodeproj in Xcode and change under the Project Document settings:  Project Format Xcode 6.3-compatible

You might want to consider rolling back to Xcode 6.2. 

http://adcdownload.apple.com//Developer_Tools/Xcode_6.2/Xcode_6.2.dmg

Rob