Search Issue Tracker
Fixed
Votes
2
Found in
4.6.2f1
Issue ID
669467
Regression
No
Error when trying to append a project after removing 'Unity-iPhone Tests' target in xcode
To Reproduce:
1. Open the attached project.
2. Build to iOS, make sure to Append to the existing project in the "XCode-iOS" folder.
3. "Error building Player: ArgumentException: An element with the same key already exists in the dictionary." is thrown in console.
Or simply create a new project, build , remove 'Unity-iPhone Tests' in xcode, build with append
Error building Player: NullReferenceException: Object reference not set to an instance of an object" is thrown.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Source Image property gets set to 'None' when using a specific Sprite and Play mode is entered
- Rendering locks up when not looking at a transparent material on Meta Quest 2
- Volumetrics break when using a Custom Pass to create a Thickness Buffer for Alpha Clipping
- All tests are run instead of only the failed ones when the "Rerun Failed" button is pressed
- GameObject is not masked when the "Render PostProcessing Effects" pass executes with a resolved non-MSAA Color target and MSAA DepthStencil target
ducklmg
Jan 04, 2016 06:57
Still happening in 4.7.0
Trungdv
Nov 17, 2015 07:36
Have this issue again in 4.6.9p2
Bedbug
Oct 22, 2015 10:52
Still happening in 4.6.9.
JonnyHilly
Oct 20, 2015 19:15
Still happenning. 4.6.8
Would be nice if the error message gave some information about What 'key' is the duplicate. Could then track it down in the project file.
endlesspeed
Aug 23, 2015 08:01
Just delete xcode project file that is placed in your game project file. and regenerate xcode project file again by unity compiling
anirudha_vfx
Aug 11, 2015 20:30
Try closing the project in xCode before building and appending the project folder. It has worked quite a few times for me.
zalogic
Jul 29, 2015 12:56
Can confirm it's still happening on 4.6.7p2! I'm trying to build with "Append". (using XCode 6.4 on OSX 10.10.4)
Voxel-Busters
Jul 02, 2015 19:09
Confirming that this issue still happens in 4.6.7f2 . If I execute build and run this happens. And sadly no proper log even from where its happening.
Glad that i found thats a known issue. Else would have screwed my recently added dictionary just before this error :P.
capyvara
Jul 01, 2015 16:42
Still getting this error in 4.6.6p4, looks like a regression
Bay
Jun 20, 2015 10:36
ERROR WHEN TRYING TO APPEND A PROJECT AFTER REMOVING 'UNITY-IPHONE TESTS' TARGET IN XCODE
DO NOT DELETE
'UNITY-IPHONE TESTS'
When you replace first, you should not delete 'UNITY-IPHONE TESTS'.
That's all.