Xcode 10.1 Archiving - linker command failed with exit code 1 (use -v to see invocation)

Hi guys.


I'm using Xcode 10.1 (10B61). The original App was created with Unity 2018.2.15.f1. When I test the App on iOS devices everything works perfectly. Now I'm trying to post my project to Apple Connect, so, I unplugged the devices, clicked over Product -> Archive and this error is presented:


linker command failed with exit code 1 (use -v to see invocation)
clang


There's no more extra detail. I've been researching all day about it and nothing seems to work. Any idea of what to do. I literally don't understand what it means with: use -v to see invocation


I'll appreciate your help.


Thank you.

Using Xcode's Product menu again, with the option key pressed, choose 'clean build folder' and see if you can archive then.


Remember, you can't archive if:

  • a simulator is selected instead of a device*
  • there is an error when building*
  • you haven't finished the 'Prepare for Submission’ stage for that app in App Store Connect

- See: https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/ChangingAppStatus.html

  • you've recently renewed your (required) apple developer account, and not yet updated the provisions to reflect that activity
  • the backend is acting out...


* You must have at least one device registered in the Member Center, but it doesn’t have to be connected to your Mac/Xcode when building, in which case select ‘generic iOS/tvOS device'


- - - If this is just about testing to a device and you're getting a message that Xcode can't archive, try deleting all older versions of that app on the target device first



Also see TN2215: Why is the Archive menu item grayed out in Xcode ?

Xcode 10.1 Archiving - linker command failed with exit code 1 (use -v to see invocation)
 
 
Q