Apple Mach Linker Not found,Missing dependency Rreact - ios

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.

Related

React Native linker command failed with exit code 1 with default app

I used React Native a few years back and am starting up using it again so I was just testing with the default app to check it builds ok in iOS. It runs ok in the simulator in xcode after opening the xcworkspace file but when selecting to build for release it fails with the classic linker error.
I noticed 'main.jsbundle' is red and thus missing from the project which I used to need to create but not sure if we still need to or how it is done? I checked the official documentation and there is a section for submitting to the play store...but no section about submitting to the Apple App store?? Can we not submit to the Apple store anymore?
The versions are:
"react": "16.8.6",
"react-native": "0.60.4",
I looked around for guides on submitting to the iOS store written by third parties but they are either a 1-2 years old or more or don't mention anything I haven't done. Again, no idea why there is no official documentation on iOS submission, unless it is harder to find than the Android one.
Error message in full:
Ld /Users/hasen/Library/Developer/Xcode/DerivedData/app-eeaxrfrnodznmfdedeoxgnyekkae/Build/Intermediates.noindex/app.build/Release-iphoneos/appTests.build/Objects-normal/arm64/appTests normal arm64 (in target: appTests)
cd /Volumes/Orchestra/Projects/reactnative/app/ios
export IPHONEOS_DEPLOYMENT_TARGET=9.0
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -L/Users/hasen/Library/Developer/Xcode/DerivedData/app-eeaxrfrnodznmfdedeoxgnyekkae/Build/Products/Release-iphoneos -F/Users/hasen/Library/Developer/Xcode/DerivedData/app-eeaxrfrnodznmfdedeoxgnyekkae/Build/Products/Release-iphoneos -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -filelist /Users/hasen/Library/Developer/Xcode/DerivedData/app-eeaxrfrnodznmfdedeoxgnyekkae/Build/Intermediates.noindex/app.build/Release-iphoneos/appTests.build/Objects-normal/arm64/appTests.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #loader_path/Frameworks -miphoneos-version-min=9.0 -dead_strip -bundle_loader /Users/hasen/Library/Developer/Xcode/DerivedData/app-eeaxrfrnodznmfdedeoxgnyekkae/Build/Products/Release-iphoneos/app.app/app -Xlinker -object_path_lto -Xlinker /Users/hasen/Library/Developer/Xcode/DerivedData/app-eeaxrfrnodznmfdedeoxgnyekkae/Build/Intermediates.noindex/app.build/Release-iphoneos/appTests.build/Objects-normal/arm64/appTests_lto.o -fobjc-arc -fobjc-link-runtime -ObjC -lc++ -lstdc++ -framework JavaScriptCore -framework XCTest -lPods-appTests -Xlinker -dependency_info -Xlinker /Users/hasen/Library/Developer/Xcode/DerivedData/app-eeaxrfrnodznmfdedeoxgnyekkae/Build/Intermediates.noindex/app.build/Release-iphoneos/appTests.build/Objects-normal/arm64/appTests_dependency_info.dat -o /Users/hasen/Library/Developer/Xcode/DerivedData/app-eeaxrfrnodznmfdedeoxgnyekkae/Build/Intermediates.noindex/app.build/Release-iphoneos/appTests.build/Objects-normal/arm64/appTests
Undefined symbols for architecture arm64:
"_RCTSetLogFunction", referenced from:
-[appTests testRendersWelcomeScreen] in appTests.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Integrating Facebook Login into Swift Framework

I have an IOS project in Swift Framework target. I follow the tutorials to integrate Facebook SDK (for Login) into my framework. I compile my framework with no error.
Then I create a Swift Application that integrate my framework. I compile it with an error as below:
Ld /Users/youngworld/Library/Developer/Xcode/DerivedData/App3-bsiqheuhcocalbbvjkulchclprhg/Build/Products/Debug-iphonesimulator/App3.app/App3 normal x86_64
cd /Users/youngworld/IOSProjects/App3
export IPHONEOS_DEPLOYMENT_TARGET=8.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.1.sdk -L/Users/youngworld/Library/Developer/Xcode/DerivedData/App3-bsiqheuhcocalbbvjkulchclprhg/Build/Products/Debug-iphonesimulator -F/Users/youngworld/Library/Developer/Xcode/DerivedData/App3-bsiqheuhcocalbbvjkulchclprhg/Build/Products/Debug-iphonesimulator -F/Users/youngworld/IOSProjects/App3 -F/Users/youngworld/IOSProjects/App3/App3 -filelist /Users/youngworld/Library/Developer/Xcode/DerivedData/App3-bsiqheuhcocalbbvjkulchclprhg/Build/Intermediates/App3.build/Debug-iphonesimulator/App3.build/Objects-normal/x86_64/App3.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -mios-simulator-version-min=8.0 -Xlinker -objc_abi_version -Xlinker 2 -L/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -Xlinker -add_ast_path -Xlinker /Users/youngworld/Library/Developer/Xcode/DerivedData/App3-bsiqheuhcocalbbvjkulchclprhg/Build/Intermediates/App3.build/Debug-iphonesimulator/App3.build/Objects-normal/x86_64/App3.swiftmodule -framework YWSDK -framework YWSDK -Xlinker -dependency_info -Xlinker /Users/youngworld/Library/Developer/Xcode/DerivedData/App3-bsiqheuhcocalbbvjkulchclprhg/Build/Intermediates/App3.build/Debug-iphonesimulator/App3.build/Objects-normal/x86_64/App3_dependency_info.dat -o /Users/youngworld/Library/Developer/Xcode/DerivedData/App3-bsiqheuhcocalbbvjkulchclprhg/Build/Products/Debug-iphonesimulator/App3.app/App3
ld: framework not found FBSDKLoginKit for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Someone show me the way to fix it.
Thank you!
Make sure that your Project contains Bolts.framework, FBSDKCoreKit.framework and FBSDKLoginKit.framework for facebook login integration in your application.
Given link will help you:
https://developers.facebook.com/apps/174570549964701/fb-login/quickstart/
(Note: If you manually added frameworks to your project then recheck that frameworks are in your project's folder not anywhere else like in Downloads folder. And if you added frameworks by installing pods then that are in your project's "Frameworks" folder.)

Xcode Apple Mach-O Linker Error 1

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!

'linker command failed', 'GenerateDSYMFile errors', and 'Lipo error'

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.

Build error when compiling Xcode project containing iOS 8 App Extension

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.

Resources