Check the schemes menu at the top of the Xcode project window. Look at the destination you’re trying to run in. If you run in the simulator, you don’t need to sign your project.
If you run in a device, you need to attach the actual device. It must not say “generic device”.
Related Posts:
- Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- How to update Xcode from command line
- Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) standard C memory issue
- UIStackView before iOS 9.0
- Xcode 10 Error: Multiple commands produce
- ld: warning: directory not found for option’
- Code signing is required for product type ‘Application’ in SDK ‘iOS 10.0’ – StickerPackExtension requires a development team error
- How to download Xcode DMG or XIP file?
- How to format code in Xcode?
- Xcode is not currently available from the Software Update server
- Xcode is not currently available from the Software Update server
- Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code
- Xcode build failure “Undefined symbols for architecture x86_64”
- Linker Command failed with exit code 1 (use -v to see invocation), Xcode 8, Swift 3
- Linker Command failed with exit code 1 (use -v to see invocation), Xcode 8, Swift 3
- A server with the specified hostname could not be found
- How do you update Xcode on OSX to the latest version?
- Xcode 10, Command CodeSign failed with a nonzero exit code
- Xcode – Warning: Implicit declaration of function is invalid in C99
- C++ on mac : linker command failed with exit code 1 (use -v to see invocation)
- Xcode couldn’t find any provisioning profiles matching
- symbol(s) not found for architecture x86_64 in xcode 10
- UITableView example for Swift
- Command CompileSwift failed with a nonzero exit code in Xcode 10
- How can I find out if I have Xcode commandline tools installed?
- Always get build error : No such module ‘Alamofire’
- Compiling simple Hello World program on OS X via command line
- Processing Symbol Files in Xcode
- Can you Run Xcode in Linux?
- Xcode error: This device is no longer connected
- LLVM Compiler 2.0: Warning with “using namespace std;”
- Why am I getting the “Expression is not assignable” error?
- “Could not find any information for class named ViewController”
- Xcode 11.1: iostream’ file not found
- Could not insert new outlet connection: Could not find any information for the class named
- Failed to launch macOS app built in Xcode
- Xcode: Could not locate device support files
- Storyboard warning: prototype table cells must have reuse identifiers
- Download Xcode simulator directly
- Terminating app due to uncaught exception ‘NSUnknownKeyException’
- Xcode: Download mp3 file
- Alert”Developer tools access needs to take control of another process for debugging to continue.Type your password to allow this.”
- Could not load NIB in bundle
- mailto link with HTML body
- Xcode error “Could not find Developer Disk Image”