Majid Lotfinia
Majid Lotfinia

Reputation: 714

interface builder Storyboard compiler error when build xcode project

I update my xcode to version 8.2.1 and when i build product on xcode the below error occurred:

error

and my main storyboard like this:

[![storyboard][2]][2]

i search many time but not found any correct solution for this error

anyone can help me?

Edit1: when i create new project on xcode this error occurred :

Ld /Users/****/Library/Developer/Xcode/DerivedData/test3-brvuxcfxdgdryzefaivvhtzorpiy/Build/Products/Debug-iphonesimulator/test3.app/test3 normal x86_64 cd /Users/****/Desktop/test3 export IPHONEOS_DEPLOYMENT_TARGET=10.2 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 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk -L/Users/****/Library/Developer/Xcode/DerivedData/test3-brvuxcfxdgdryzefaivvhtzorpiy/Build/Products/Debug-iphonesimulator -F/Users/****/Library/Developer/Xcode/DerivedData/test3-brvuxcfxdgdryzefaivvhtzorpiy/Build/Products/Debug-iphonesimulator -filelist /Users/****/Library/Developer/Xcode/DerivedData/test3-brvuxcfxdgdryzefaivvhtzorpiy/Build/Intermediates/test3.build/Debug-iphonesimulator/test3.build/Objects-normal/x86_64/test3.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=10.2 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/****/Library/Developer/Xcode/DerivedData/test3-brvuxcfxdgdryzefaivvhtzorpiy/Build/Intermediates/test3.build/Debug-iphonesimulator/test3.build/Objects-normal/x86_64/test3_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -Xlinker -add_ast_path -Xlinker /Users/****/Library/Developer/Xcode/DerivedData/test3-brvuxcfxdgdryzefaivvhtzorpiy/Build/Intermediates/test3.build/Debug-iphonesimulator/test3.build/Objects-normal/x86_64/test3.swiftmodule -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/****/Library/Developer/Xcode/DerivedData/test3-brvuxcfxdgdryzefaivvhtzorpiy/Build/Intermediates/test3.build/Debug-iphonesimulator/test3.build/test3.app.xcent -Xlinker -dependency_info -Xlinker /Users/****/Library/Developer/Xcode/DerivedData/test3-brvuxcfxdgdryzefaivvhtzorpiy/Build/Intermediates/test3.build/Debug-iphonesimulator/test3.build/Objects-normal/x86_64/test3_dependency_info.dat -o /Users/****/Library/Developer/Xcode/DerivedData/test3-brvuxcfxdgdryzefaivvhtzorpiy/Build/Products/Debug-iphonesimulator/test3.app/test3

ld: framework not found Foundation clang: error: linker command failed with exit code 1 (use -v to see invocation)

new project error

Upvotes: 3

Views: 3330

Answers (2)

Majid Lotfinia
Majid Lotfinia

Reputation: 714

I remove xcode Install again from app store and every things be allright

Upvotes: 2

Vidhya Sri
Vidhya Sri

Reputation: 1823

I solved this error by following the below steps in Xcode 8.3.3,

  1. Quit Xcode
  2. Clear derived data folder of Xcode
  3. Relaunch Xcode
  4. Clean and run the project again

Upvotes: 1

Related Questions