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

iOS

-

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.

Comments (27)

  1. 23209e3370e0bedd2c699595e8e14450?d=mm

    ducklmg

    Jan 04, 2016 06:57

    Still happening in 4.7.0

  2. D748093f708010d2abc30e5825d27a77?d=mm

    Trungdv

    Nov 17, 2015 07:36

    Have this issue again in 4.6.9p2

  3. 6c9bf1ed533565ffe3aaf035adbf30db?d=mm

    Bedbug

    Oct 22, 2015 10:52

    Still happening in 4.6.9.

  4. 890bbe34928528c47f3b10ea11338c79?d=mm

    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.

  5. 4e05597e4b6519461cbddccc022eb30b?d=mm

    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

  6. A039b05f0c1e6f6a3b6978f141a4fc50?d=mm

    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.

  7. 9ee2ba829e41960243caa096b210a3de?d=mm

    floky

    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)

  8. 23353289868617b6445898c68856527f?d=mm

    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.

  9. 64947f81c796f4e9c0da23908f0dfdf3?d=mm

    capyvara

    Jul 01, 2015 16:42

    Still getting this error in 4.6.6p4, looks like a regression

  10. 6ec13c0381c32ffd92f88ace71e6e928?d=mm

    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.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.