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

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)

Related

Apple Mach Linker Not found,Missing dependency Rreact

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.

Xcode - Importing STTwitter causes Apple Mach-O Linker Error

Exactly what it says on the title. I've downloaded the STTwitter API several times making sure nothing went wrong with my download. I ran my project before importing the library and it runs fine.
I know there is nothing wrong with the STTwitter library because I used it in several projects, but it won't let me create another project with the import.
Ld /Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Products/Debug-iphonesimulator/JesusWalk.app/JesusWalk normal i386
cd /Users/michaelvillar/Desktop/JesusWalk
export IPHONEOS_DEPLOYMENT_TARGET=8.3
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 i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk -L/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Products/Debug-iphonesimulator -F/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Products/Debug-iphonesimulator -filelist /Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/JesusWalk.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=8.3 -framework Foundation -framework UIKit -framework CoreGraphics -Xlinker -dependency_info -Xlinker /Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/JesusWalk_dependency_info.dat -o /Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Products/Debug-iphonesimulator/JesusWalk.app/JesusWalk
duplicate symbol _STTwitterOSErrorCode in:
/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/STTwitterOS.o
/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/STTwitterAPI.o
duplicate symbol _STTwitterAppOnlyErrorCode in:
/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/STTwitterAPI.o
/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/STTwitterAppOnly.o
duplicate symbol _STTwitterOAuthErrorCode in:
/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/STTwitterAPI.o
/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/STTwitterOAuth.o
ld: 3 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please, if anyone knows something about importing the library, let me know :)
This pull request may fix the issue: https://github.com/nst/STTwitter/pull/189
Please checkout the very latest version from head.

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!

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.

Error while build an app in Xcode 6

I'm having some trouble to deploy my app on my device. The code works fine with the iOS simulator, but when I try to run it on my iOS device it shows the following error:
Ld /Users/user/Library/Developer/Xcode/DerivedData/App-dpvmxvpfnnbticgaudzudnxmumqu/Build/Intermediates/App.build/Debug-iphoneos/AppTests.build/Objects-normal/arm64/AppTests normal arm64
cd "/Users/user/Documents/Demo app/App"
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 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk -L/Users/user/Library/Developer/Xcode/DerivedData/App-dpvmxvpfnnbticgaudzudnxmumqu/Build/Products/Debug-iphoneos -F/Users/user/Library/Developer/Xcode/DerivedData/App-dpvmxvpfnnbticgaudzudnxmumqu/Build/Products/Debug-iphoneos -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk/Developer/Library/Frameworks -filelist /Users/user/Library/Developer/Xcode/DerivedData/App-dpvmxvpfnnbticgaudzudnxmumqu/Build/Intermediates/App.build/Debug-iphoneos/AppTests.build/Objects-normal/arm64/AppTests.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #loader_path/Frameworks -dead_strip -bundle_loader /Users/user/Library/Developer/Xcode/DerivedData/App-dpvmxvpfnnbticgaudzudnxmumqu/Build/Products/Debug-iphoneos/App.app/App -framework XCTest -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=8.0 -Xlinker -dependency_info -Xlinker /Users/user/Library/Developer/Xcode/DerivedData/App-dpvmxvpfnnbticgaudzudnxmumqu/Build/Intermediates/App.build/Debug-iphoneos/AppTests.build/Objects-normal/arm64/AppTests_dependency_info.dat -o /Users/user/Library/Developer/Xcode/DerivedData/App-dpvmxvpfnnbticgaudzudnxmumqu/Build/Intermediates/App.build/Debug-iphoneos/AppTests.build/Objects-normal
ld: file not found: /Users/user/Library/Developer/Xcode/DerivedData/App-dpvmxvpfnnbticgaudzudnxmumqu/Build/Products/Debug-iphoneos/App.app/App
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I can't understand what's wrong with my app. I searched on the web to try to understand what's wrong and I found the following solution:
Check if I import .h files and not .m files --> In my app all ok
Check the correct Framework --> In my app I use only the default Framework, so no problem
Check the Library search path --> In my app there are no problem about this
So what's the problem? Can you help me to fix it?

Resources