after renaming my project whenever I try to build the app I get an
Apple Mach-O Linker Error
below is the output from Xcode itself
Ld /Users/joshevans/Library/Developer/Xcode/DerivedData/Broadcast!-gbvxmzbukuqqgxcmlipegtnzosze/Build/Products/Debug-iphonesimulator/Broadcast!Tests.xctest/Broadcast!Tests normal x86_64
cd "/Users/joshevans/Desktop/sn app/SwifferApp"
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-arch x86_64 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk
-L/Users/joshevans/Library/Developer/Xcode/DerivedData/Broadcast!-gbvxmzbukuqqgxcmlipegtnzosze/Build/Products/Debug-iphonesimulator
-F/Users/joshevans/Library/Developer/Xcode/DerivedData/Broadcast!-gbvxmzbukuqqgxcmlipegtnzosze/Build/Products/Debug-iphonesimulator
-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/Developer/Library/Frameworks
-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks
-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/Developer/Library/Frameworks
-filelist /Users/joshevans/Library/Developer/Xcode/DerivedData/Broadcast!-gbvxmzbukuqqgxcmlipegtnzosze/Build/Intermediates/Broadcast!.build/Debug-iphonesimulator/Broadcast!Tests.build/Objects-normal/x86_64/Broadcast!Tests.LinkFileList
-Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #loader_path/Frameworks -bundle_loader /Users/joshevans/Library/Developer/Xcode/DerivedData/Broadcast!-gbvxmzbukuqqgxcmlipegtnzosze/Build/Products/Debug-iphonesimulator/SwifferApp.app/SwifferApp
-Xlinker -objc_abi_version -Xlinker 2 -framework XCTest -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator
-Xlinker -add_ast_path -Xlinker /Users/joshevans/Library/Developer/Xcode/DerivedData/Broadcast!-gbvxmzbukuqqgxcmlipegtnzosze/Build/Intermediates/Broadcast!.build/Debug-iphonesimulator/Broadcast!Tests.build/Objects-normal/x86_64/Broadcast_Tests.swiftmodule
-mios-simulator-version-min=8.0 -Xlinker -dependency_info -Xlinker /Users/joshevans/Library/Developer/Xcode/DerivedData/Broadcast!-gbvxmzbukuqqgxcmlipegtnzosze/Build/Intermediates/Broadcast!.build/Debug-iphonesimulator/Broadcast!Tests.build/Objects-normal/x86_64/Broadcast!Tests_dependency_info.dat
-o /Users/joshevans/Library/Developer/Xcode/DerivedData/Broadcast!-gbvxmzbukuqqgxcmlipegtnzosze/Build/Products/Debug-iphonesimulator/Broadcast!Tests.xctest/Broadcast!Tests ld: file not found: /Users/joshevans/Library/Developer/Xcode/DerivedData/Broadcast!-gbvxmzbukuqqgxcmlipegtnzosze/Build/Products/Debug-iphonesimulator/SwifferApp.app/SwifferApp clang: error: linker command failed with exit code 1 (use -v to see invocation)
thanks for your help, as I'm new to Xcode and the swift language.
Josh
After rename just go to your project file ( Where you will see tabs : General, Capabilities, Info etc)
And choose YourAppTests in the list of the left side
You probably will see this picture
Set Host Application to your project name and that's it.
I occasionally got Apple Mach-O Linker Error 1 while trying to implement AdMob Ads. The way I dealt with it was by first going into my app's build settings and locating "library search paths" and clearing all of the search paths. I then re-added the AdMob folder to the project, and the error disappeared.
Now obviously your situation is a little different. Personally, I would rename the file back to its previous name. If the error still persists, then clear the library search paths. Still an error? What I did when I kept receiving the error was create a new Xcode project with the name I want, and then copy all of the files into the new project. It's a simple process, especially if you're a beginner, it probably won't take too long. I hope this helps!
Related
After running react-native link to link all needed libraries, Xcode doesn't build the iOS version of the project. The problem is from react-native-vector-icons library being linked.
I am using .workspace file and using the Podfile to manage the dependencies for the iOS. I have tried both manual linking and react-native link for the library but the error i get is
ld: framework not found React clang: error: linker command failed with
exit code 1 (use -v to see invocation)
`Showing Recent Messages
Ld /Users/../ProjectX-agmovfcichistxhkaamivrarvpqp/Build/Products/Debug-iphonesimulator/RNVectorIcons/RNVectorIcons.framework/RNVectorIcons normal x86_64
cd /../ios/Pods
export IPHONEOS_DEPLOYMENT_TARGET=9.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk -L/../ProjectX-agmovfcichistxhkaamivrarvpqp/Build/Products/Debug-iphonesimulator/RNVectorIcons -F/../ProjectX-agmovfcichistxhkaamivrarvpqp/Build/Products/Debug-iphonesimulator/RNVectorIcons -F/../ProjectX-agmovfcichistxhkaamivrarvpqp/Build/Products/Debug-iphonesimulator/DoubleConversion -F/../ProjectX-agmovfcichistxhkaamivrarvpqp/Build/Products/Debug-iphonesimulator/Folly -F/../ProjectX-agmovfcichistxhkaamivrarvpqp/Build/Products/Debug-iphonesimulator/React -F/../ProjectX-agmovfcichistxhkaamivrarvpqp/Build/Products/Debug-iphonesimulator/glog -F/../ProjectX-agmovfcichistxhkaamivrarvpqp/Build/Products/Debug-iphonesimulator/yoga -filelist /../ProjectX-agmovfcichistxhkaamivrarvpqp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNVectorIcons.build/Objects-normal/x86_64/RNVectorIcons.LinkFileList -install_name #rpath/RNVectorIcons.framework/RNVectorIcons -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #loader_path/Frameworks -mios-simulator-version-min=9.0 -dead_strip -Xlinker -object_path_lto -Xlinker /../ProjectX-agmovfcichistxhkaamivrarvpqp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNVectorIcons.build/Objects-normal/x86_64/RNVectorIcons_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -fprofile-instr-generate -framework Foundation -framework React -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /../ProjectX-agmovfcichistxhkaamivrarvpqp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNVectorIcons.build/Objects-normal/x86_64/RNVectorIcons_dependency_info.dat -o /../ProjectX-agmovfcichistxhkaamivrarvpqp/Build/Products/Debug-iphonesimulator/RNVectorIcons/RNVectorIcons.framework/RNVectorIcons
ld: framework not found React
clang: error: linker command failed with exit code 1 (use -v to see invocation)
`
I expect a successful build for the iOS.
I believe that react-native-link should never be run on its own, for it causes breaks more than actually doing anything.
Reset your project's configuration, i.e. unlink and uninstall all dependencies, and delete the ios/build folder.
After installing them again, if you insist on using automatic linking, then run react-native link <library_name> for each one.
Alternatively, you could try the manual linking process.
IOS Manual Library Installation Steps
add the .xcodeproj of the component to the Libraries folder in XCode
add the lib{library_name}.a file to Linked Frameworks and Libraries under the General section in Target Project.
Additional Notes
Make sure you have checked that the font is copied in the Copy Bundle Resources in Build Phases. If not, re-check the manual configuration steps.
Make sure you kill the packager and re-run for changes to take effect.
I am new to iOS and I was working through this tutorial (scroll down to Prototype cells ), when I tried to compile my app, i got the following error below. the first part of my question is, how can I make sense of anything in there? I have no idea how to interpret it. Can you guide me on what could be the problem?
Ld /Users/nadirahmed/Library/Developer/Xcode/DerivedData/prototypeCustomCellExample-dgygyvcibtndywgeapixzpvxohkj/Build/Products/Debug-iphonesimulator/prototypeCustomCellExample.app/prototypeCustomCellExample normal x86_64
cd /Users/nadirahmed/Documents/iOS/prototypeCustomCellExample
export IPHONEOS_DEPLOYMENT_TARGET=9.0
export PATH="/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/nadirahmed/Library/Developer/Xcode/DerivedData/prototypeCustomCellExample-dgygyvcibtndywgeapixzpvxohkj/Build/Products/Debug-iphonesimulator -F/Users/nadirahmed/Library/Developer/Xcode/DerivedData/prototypeCustomCellExample-dgygyvcibtndywgeapixzpvxohkj/Build/Products/Debug-iphonesimulator -filelist /Users/nadirahmed/Library/Developer/Xcode/DerivedData/prototypeCustomCellExample-dgygyvcibtndywgeapixzpvxohkj/Build/Intermediates/prototypeCustomCellExample.build/Debug-iphonesimulator/prototypeCustomCellExample.build/Objects-normal/x86_64/prototypeCustomCellExample.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -mios-simulator-version-min=9.0 -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -dependency_info -Xlinker /Users/nadirahmed/Library/Developer/Xcode/DerivedData/prototypeCustomCellExample-dgygyvcibtndywgeapixzpvxohkj/Build/Intermediates/prototypeCustomCellExample.build/Debug-iphonesimulator/prototypeCustomCellExample.build/Objects-normal/x86_64/prototypeCustomCellExample_dependency_info.dat -o /Users/nadirahmed/Library/Developer/Xcode/DerivedData/prototypeCustomCellExample-dgygyvcibtndywgeapixzpvxohkj/Build/Products/Debug-iphonesimulator/prototypeCustomCellExample.app/prototypeCustomCellExample
duplicate symbol __players in:
/Users/nadirahmed/Library/Developer/Xcode/DerivedData/prototypeCustomCellExample-dgygyvcibtndywgeapixzpvxohkj/Build/Intermediates/prototypeCustomCellExample.build/Debug-iphonesimulator/prototypeCustomCellExample.build/Objects-normal/x86_64/AppDelegate.o
/Users/nadirahmed/Library/Developer/Xcode/DerivedData/prototypeCustomCellExample-dgygyvcibtndywgeapixzpvxohkj/Build/Intermediates/prototypeCustomCellExample.build/Debug-iphonesimulator/prototypeCustomCellExample.build/Objects-normal/x86_64/Player.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
just check:
1.Try finding in the whole project your class Player and make sure only one copy is available within your project.
2.You could also get this error if you mistakenly let XCode's auto-complete for #import statements specify the '.m" file for the
'duplicate' class instead of the '.h'.
THANKS
I'm starting a new project that built fine after I added MagicalRecord via CocoaPods (my first experience with CocoaPods).
Right after constructing my data model, I received an error telling me I had not included an expected inverse relationship between two entities. I went into the data model and corrected this, and now I'm receiving this error upon rebuild:
Ld /Users/myName/Library/Developer/Xcode/DerivedData/ProjectName-ewvswzrvrwxktphioghlirgkuyju/Build/Products/Debug-iphonesimulator/ProjectName.app/ProjectName normal x86_64
cd "/Users/myName/Desktop/Everything from DT 1:20:15/App projects/WMMG/ProjectName"
export IPHONEOS_DEPLOYMENT_TARGET=8.1
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -L/Users/myName/Library/Developer/Xcode/DerivedData/ProjectName-ewvswzrvrwxktphioghlirgkuyju/Build/Products/Debug-iphonesimulator -F/Users/myName/Library/Developer/Xcode/DerivedData/ProjectName-ewvswzrvrwxktphioghlirgkuyju/Build/Products/Debug-iphonesimulator -filelist /Users/myName/Library/Developer/Xcode/DerivedData/ProjectName-ewvswzrvrwxktphioghlirgkuyju/Build/Intermediates/ProjectName.build/Debug-iphonesimulator/ProjectName.build/Objects-normal/x86_64/ProjectName.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -objc_abi_version -Xlinker 2 -ObjC -lPods-MagicalRecord -framework CoreData -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=8.1 -lPods -Xlinker -dependency_info -Xlinker /Users/myName/Library/Developer/Xcode/DerivedData/ProjectName-ewvswzrvrwxktphioghlirgkuyju/Build/Intermediates/ProjectName.build/Debug-iphonesimulator/ProjectName.build/Objects-normal/x86_64/ProjectName_dependency_info.dat -o /Users/myName/Library/Developer/Xcode/DerivedData/ProjectName-ewvswzrvrwxktphioghlirgkuyju/Build/Products/Debug-iphonesimulator/ProjectName.app/ProjectName
ld: library not found for -lPods-MagicalRecord
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The error seems to point explicitly to a problem with the Linker and pods. The problem is that I have no experience debugging linker problems, and feel very out of my depth when the references I find to similar problems start talking about "dependencies" and such. It seems obvious that the MagicalRecord libraries aren't being found, but I don't know how the change I made might have caused the problem, and am even less sure how to correct it.
Can someone help, please?
That's very odd that Core Data would trigger this. To fix the link issue try typing pod install (cd to the folder containing your project workspace first).
I changed my project name recently and believe I may be having linking problems. I modified my Cocoapod files for Mixpanel yesterday and have been getting unclear error messages since.
I deleted the Mixpanel Cocoapod, so I could manually install Mixpanel with the git repository. I installed the git repo files in iOS project directory, but couldn't get Mixpanel working. I decided to revert back to using the Cocoapod.
Ever since I made that change, I have been getting 'linker command failed', 'GenerateDSYMFile errors', and 'Lipo error'. I have reverted my entire git repo back to before the problem existed, but I can't seem to shake the errors.
I deleted the derived data, snapshots, and restarted xcode. I have even tried to run the same repository of files on another computer. I am still having the issues.
For the curious, the repository is here: https://github.com/NewPublicArtFoundation/GraffitiFound
The current error I find is:
Ld /Users/lbogdono/Library/Developer/Xcode/DerivedData/GraffitiFound-axmdvgkvpehlnwgtxecternwbifq/Build/Products/Debug-iphonesimulator/Public\ Art.temp_caseinsensitive_renameTests.xctest/Public\ Art.temp_caseinsensitive_renameTests normal x86_64
cd /Users/lbogdono/Spaceship/GraffitiFound
export IPHONEOS_DEPLOYMENT_TARGET=7.12
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -L/Users/lbogdono/Library/Developer/Xcode/DerivedData/GraffitiFound-axmdvgkvpehlnwgtxecternwbifq/Build/Products/Debug-iphonesimulator -F/Users/lbogdono/Library/Developer/Xcode/DerivedData/GraffitiFound-axmdvgkvpehlnwgtxecternwbifq/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/Developer/Library/Frameworks -filelist /Users/lbogdono/Library/Developer/Xcode/DerivedData/GraffitiFound-axmdvgkvpehlnwgtxecternwbifq/Build/Intermediates/Public\ Art.build/Debug-iphonesimulator/Public\ Art.Tests.build/Objects-normal/x86_64/Public\ Art.temp_caseinsensitive_renameTests.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #loader_path/Frameworks -bundle_loader /Users/lbogdono/Library/Developer/Xcode/DerivedData/GraffitiFound-axmdvgkvpehlnwgtxecternwbifq/Build/Products/Debug-iphonesimulator/GraffitiFound.app/GraffitiFound -Xlinker -objc_abi_version -Xlinker 2 -framework XCTest -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.12 -Xlinker -dependency_info -Xlinker /Users/lbogdono/Library/Developer/Xcode/DerivedData/GraffitiFound-axmdvgkvpehlnwgtxecternwbifq/Build/Intermediates/Public\ Art.build/Debug-iphonesimulator/Public\ Art.Tests.build/Objects-normal/x86_64/Public\ Art.temp_caseinsensitive_renameTests_dependency_info.dat -o /Users/lbogdono/Library/Developer/Xcode/DerivedData/GraffitiFound-axmdvgkvpehlnwgtxecternwbifq/Build/Products/Debug-iphonesimulator/Public\ Art.temp_caseinsensitive_renameTests.xctest/Public\ Art.temp_caseinsensitive_renameTests
ld: file not found: /Users/lbogdono/Library/Developer/Xcode/DerivedData/GraffitiFound-axmdvgkvpehlnwgtxecternwbifq/Build/Products/Debug-iphonesimulator/GraffitiFound.app/GraffitiFound
clang: error: linker command failed with exit code 1 (use -v to see invocation)
As the error message indicates, you are trying to link a file into your executable that is not present on disk. Specifically, it is unable to find /Users/lbogdono/Library/Developer/Xcode/DerivedData/GraffitiFound-axmdvgkvpehlnwgtxecternwbifq/Build/Products/Debug-iphonesimulator/GraffitiFound.app/GraffitiFound I suspect you are trying to link that into the executable on accident as it doesn't really make sense for it to be there. You probably accidentally dragged "GraffitiFound.app" into the link phase of your target.
I'm currently trying to build an application that contains an iOS 8 app extension, but am running into a bit of an issue. Whenever I try to build and run (whether on device or in simulator), I get the following build error:
Ld /Users/Cory/Library/Developer/Xcode/DerivedData/Lockdown-aklxfnafpdlclwhfylbcjtzskpmb/Build/Products/Debug-iphoneos/Lockdown\ Auth.appex/Lockdown\ Auth normal arm64
cd "/Users/Cory/Documents/Programming/Cocoa App/Lockdown/Lockdown"
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk -L/Users/Cory/Library/Developer/Xcode/DerivedData/Lockdown-aklxfnafpdlclwhfylbcjtzskpmb/Build/Products/Debug-iphoneos -F/Users/Cory/Library/Developer/Xcode/DerivedData/Lockdown-aklxfnafpdlclwhfylbcjtzskpmb/Build/Products/Debug-iphoneos -filelist /Users/Cory/Library/Developer/Xcode/DerivedData/Lockdown-aklxfnafpdlclwhfylbcjtzskpmb/Build/Intermediates/Lockdown.build/Debug-iphoneos/Lockdown\ Auth.build/Objects-normal/arm64/Lockdown\ Auth.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #executable_path/../../Frameworks -dead_strip -ObjC -framework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk/System/Library/PrivateFrameworks/PlugInKit.framework/PlugInKit -e _NSExtensionMain -fobjc-arc -fobjc-link-runtime -fapplication-extension -miphoneos-version-min=8.0 -Xlinker -dependency_info -Xlinker /Users/Cory/Library/Developer/Xcode/DerivedData/Lockdown-aklxfnafpdlclwhfylbcjtzskpmb/Build/Intermediates/Lockdown.build/Debug-iphoneos/Lockdown\ Auth.build/Objects-normal/arm64/Lockdown\ Auth_dependency_info.dat -o /Users/Cory/Library/Developer/Xcode/DerivedData/Lockdown-aklxfnafpdlclwhfylbcjtzskpmb/Build/Products/Debug-iphoneos/Lockdown\ Auth.appex/Lockdown\ Auth
ld: framework not found /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk/System/Library/PrivateFrameworks/PlugInKit.framework/PlugInKit
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This is with no additional code inside of the extension target, simply creating an extension, then building gives me this error every time.
Has anyone else seen this issue before? I'm not doing anything out of the ordinary for this to be happening.
Check your today extension's Build settings > Other linker flags Xcode may have copied that from your existing app, it should be blank.