0

I renamed my Mac's user folder (Users/somename).
After doing so, when trying to submit (archive) an app, I get:

error

I tried:

But the error persists.

How can update the path in which Xcode looks for this information?

Notes:

  • "dani" is the old name.
  • I am the only user of the Mac.
  • I never got this error before, and I have published several apps successfully.
  • Running: Xcode 10.1 (10B61)
  • Running: macOS Mojave 10.14.2 (18C54)
  • Did you try adding another user, logging into it and use xcode via it ? Hope it doesn't refer to old installation. Moreover, I think that xcode relevant caches weren't clear your side – NightFury Dec 17 '18 at 20:10
  • Haha I agree with you. Just shared an idea :) Did you try with xcode 9 ? – NightFury Dec 17 '18 at 20:30
  • Hmm. May be you can search for all xcode relevant folders and files in Library or other places. Good luck! – NightFury Dec 17 '18 at 20:34
  • **Note:** I gave up after hours with tech support and reverted the folder's name. That fixed it (if we can call it a fix), so I won't be trying eventual suggestions but we'll leave this up cuz docs. –  Dec 19 '18 at 16:38
  • 1
    Glad you were able to resume your work – NightFury Dec 20 '18 at 19:24

1 Answers1

0

I know its late but I encountered the same issue after taking over a work Mac from a coworker and changing the user folder. My solution to the problem was to create the requested directory and put the required file there. This solved the problem for me and the file in the desired directory was actually updated during the process so I believe the problem corrected itself.

  • I don't understand –  Mar 04 '21 at 20:51
  • Xcode is looking for a file that doesn't exist (in the place it is looking), if you copy the file from where it is now to where xcode is looking it will proceed as normal. This means you recreate the old user folder and only put the /Library/Caches/com.apple.amp.itmstransporter folder with its contents there. – Robert den Ouden Mar 29 '21 at 07:54