I downloaded this project with AFNetworking and lumberjack, and it won't compile.
The following is the error I received, can you guide me as to how to interpret it and if you know the error what is it ?
Ld /Users/nader/Library/Developer/Xcode/DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/Build/Products/Debug-iphonesimulator/SimpleLink\ provisioning.app/SimpleLink\ provisioning normal x86_64
cd /Users/nader/Documents/iOS/source
export IPHONEOS_DEPLOYMENT_TARGET=7.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 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk -L/Users/nader/Library/Developer/Xcode/DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/Build/Products/Debug-iphonesimulator -L/Users/nader/Library/Developer/Xcode/DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/Build/Products/Debug-iphonesimulator/AFNetworking -L/Users/nader/Library/Developer/Xcode/DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/Build/Products/Debug-iphonesimulator/CocoaLumberjack -L/Users/nader/Documents/iOS/source/SmartConfigCC31XX -L/Users/nader/Documents/iOS/source/build/Debug-iphoneos -F/Users/nader/Library/Developer/Xcode/DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/Build/Products/Debug-iphonesimulator -F/Users/nader/Documents/iOS/source -filelist /Users/nader/Library/Developer/Xcode/DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/Build/Intermediates.noindex/SmartConfigCC31XX.build/Debug-iphonesimulator/SmartConfigCC31XX.build/Objects-normal/x86_64/SimpleLink\ provisioning.LinkFileList -mios-simulator-version-min=7.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/nader/Library/Developer/Xcode/DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/Build/Intermediates.noindex/SmartConfigCC31XX.build/Debug-iphonesimulator/SmartConfigCC31XX.build/Objects-normal/x86_64/SimpleLink\ provisioning_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -lAFNetworking -lCocoaLumberjack -framework CoreGraphics -framework MobileCoreServices -framework Security -framework SystemConfiguration -ObjC -lAFNetworking -lCocoaLumberjack -framework CoreGraphics -framework MobileCoreServices -framework Security -framework SystemConfiguration -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/nader/Library/Developer/Xcode/DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/Build/Intermediates.noindex/SmartConfigCC31XX.build/Debug-iphonesimulator/SmartConfigCC31XX.build/SimpleLink\ provisioning.app.xcent -lFirstTimeConfig -lCocoaLumberjack -framework SystemConfiguration -framework Security -framework AVFoundation -liconv -framework QuartzCore -framework CoreVideo -framework CoreMedia -framework CoreGraphics -framework UIKit -framework Foundation -lPods -lPods-SmartConfigCC31XX -Xlinker -dependency_info -Xlinker /Users/nader/Library/Developer/Xcode/DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/Build/Intermediates.noindex/SmartConfigCC31XX.build/Debug-iphonesimulator/SmartConfigCC31XX.build/Objects-normal/x86_64/SimpleLink\ provisioning_dependency_info.dat -o /Users/nader/Library/Developer/Xcode/DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/Build/Products/Debug-iphonesimulator/SimpleLink\ provisioning.app/SimpleLink\ provisioning
ld: library not found for -lPods
clang: error: linker command failed with exit code 1 (use -v to see invocation)
pod install
open your project from .xcworkspace
rebuild
Go to :
Yourproject -> Manage schemes -> tick on Pods-YourProject
It will add the pods project to your project.
Related
I constructed one project. The dependency is managed via CocoaPods.
When ran the project. It occurred errors as below:
Ld
/Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/iXueXi.app/iXueXi
normal x86_64
cd /Users/zhaoxinqiang/Desktop/iXueXi
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/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.3.sdk
-L/Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator
-L/Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/ACAlertController
-L/Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/AFNetworking
-L/Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/AliyunOSSiOS
-L/Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/BACustomAlertView
-L/Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/MBProgressHUD
-L/Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/MJRefresh
-L/Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/Mantle
-L/Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/Masonry
-L/Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/Reachability
-L/Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/ReactiveObjC
-L/Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/SDAutoLayout
-L/Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/SDCycleScrollView
-L/Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/SDWebImage
-L/Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/TYPagerController
-L/Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/TZImagePickerController
-L/Users/zhaoxinqiang/Desktop/iXueXi/Pods/JCore -L/Users/zhaoxinqiang/Desktop/iXueXi/iXueXi/Venders/AliPay -F/Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator
-F/Users/zhaoxinqiang/Desktop/iXueXi/Pods/AlipaySDK-2.0 -filelist /Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Intermediates/iXueXi.build/Debug-iphonesimulator/iXueXi.build/Objects-normal/x86_64/iXueXi.LinkFileList
-mios-simulator-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Intermediates/iXueXi.build/Debug-iphonesimulator/iXueXi.build/Objects-normal/x86_64/iXueXi_lto.o
-Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -lACAlertController -lAFNetworking -lAliyunOSSiOS -lBACustomAlertView -lMBProgressHUD -lMJRefresh -lMantle -lMasonry -lReachability -lReactiveObjC -lSDAutoLayout -lSDCycleScrollView -lSDWebImage -lTYPagerController -lTZImagePickerController -lc++ -ljcore-ios-1.1.1 -lresolv -lz -framework AlipaySDK -framework CFNetwork -framework CoreFoundation -framework CoreGraphics -framework CoreMotion
-framework CoreTelephony -framework Foundation -framework ImageIO -framework MobileCoreServices -framework QuartzCore -framework Security -framework SystemConfiguration -framework UIKit
-weak_framework UserNotifications -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Intermediates/iXueXi.build/Debug-iphonesimulator/iXueXi.build/iXueXi.app.xcent
-weak_framework NotificationCenter -framework SystemConfiguration -lresolv -lssl -lcrypto -framework MediaPlayer -framework AdSupport -lPods-iXueXi -Xlinker -dependency_info -Xlinker /Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Intermediates/iXueXi.build/Debug-iphonesimulator/iXueXi.build/Objects-normal/x86_64/iXueXi_dependency_info.dat
-o /Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/iXueXi.app/iXueXi
ld: library not found for -lssl clang: error: linker command failed
with exit code 1 (use -v to see invocation)
Sometimes after renaming a target or moving something, you can corrupt your pods installation. Luckily, there's an easier way to fix it than sudo make install's solution.
Run pod deintegrate to remove any trace of Cocoapods from your
project.
Run pod install again to add it all back
One of the possible solution in My case go to xcode Preferences -> Locations -> Derived Data then clean this folder and run again. it worked for me.
I had same problem once and resolved it by removing duplicate items from Target. Find any duplicate folder or file in your project and remove all duplicate from Project. That will solve your problem.
I'm trying to put some Firebase pods into my application and I got this error when trying to build it. I've tried cleaning my code and using a different sim, but its still not fixing it. I hope that one of you can point me in the right direction to fix this. It worked smoothly right before I installed these pods :-/
My Podfile
Ld /Users/DAW/Library/Developer/Xcode/DerivedData/ExteriorBuildingProducts-hizhkwodsaswcsbishxbptsdpqgv/Build/Products/Debug-iphonesimulator/ExteriorBuildingProducts.app/ExteriorBuildingProducts normal x86_64
cd /Users/DAW/Desktop/ExteriorBuildingProducts
export IPHONEOS_DEPLOYMENT_TARGET=10.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 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk -L/Users/DAW/Library/Developer/Xcode/DerivedData/ExteriorBuildingProducts-hizhkwodsaswcsbishxbptsdpqgv/Build/Products/Debug-iphonesimulator -F/Users/DAW/Library/Developer/Xcode/DerivedData/ExteriorBuildingProducts-hizhkwodsaswcsbishxbptsdpqgv/Build/Products/Debug-iphonesimulator -F/Users/DAW/Desktop/ExteriorBuildingProducts/Pods/FirebaseAnalytics/Frameworks/frameworks -F/Users/DAW/Desktop/ExteriorBuildingProducts/Pods/FirebaseAuth/Frameworks/frameworks -F/Users/DAW/Desktop/ExteriorBuildingProducts/Pods/FirebaseDatabase/Frameworks -F/Users/DAW/Desktop/ExteriorBuildingProducts/Pods/FirebaseInstanceID/Frameworks/frameworks -F/Users/DAW/Desktop/ExteriorBuildingProducts/Pods/FirebaseStorage/Frameworks/frameworks -F/Users/DAW/Desktop/ExteriorBuildingProducts/Pods/GoogleInterchangeUtilities/Frameworks -F/Users/DAW/Desktop/ExteriorBuildingProducts/Pods/GoogleNetworkingUtilities/Frameworks -F/Users/DAW/Desktop/ExteriorBuildingProducts/Pods/GoogleSymbolUtilities/Frameworks -F/Users/DAW/Desktop/ExteriorBuildingProducts/Pods/GoogleUtilities/Frameworks -filelist /Users/DAW/Library/Developer/Xcode/DerivedData/ExteriorBuildingProducts-hizhkwodsaswcsbishxbptsdpqgv/Build/Intermediates/ExteriorBuildingProducts.build/Debug-iphonesimulator/ExteriorBuildingProducts.build/Objects-normal/x86_64/ExteriorBuildingProducts.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #loader_path/Frameworks -Xlinker -rpath -Xlinker #executable_path/Frameworks -mios-simulator-version-min=10.0 -Xlinker -object_path_lto -Xlinker /Users/DAW/Library/Developer/Xcode/DerivedData/ExteriorBuildingProducts-hizhkwodsaswcsbishxbptsdpqgv/Build/Intermediates/ExteriorBuildingProducts.build/Debug-iphonesimulator/ExteriorBuildingProducts.build/Objects-normal/x86_64/ExteriorBuildingProducts_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/DAW/Library/Developer/Xcode/DerivedData/ExteriorBuildingProducts-hizhkwodsaswcsbishxbptsdpqgv/Build/Intermediates/ExteriorBuildingProducts.build/Debug-iphonesimulator/ExteriorBuildingProducts.build/Objects-normal/x86_64/ExteriorBuildingProducts.swiftmodule -ObjC -lc++ -licucore -lsqlite3 -lz -framework AdSupport -framework AddressBook -framework CFNetwork -framework CoreGraphics -framework FirebaseAnalytics -framework FirebaseAuth -framework FirebaseDatabase -framework FirebaseInstanceID -framework FirebaseStorage -framework GoogleInterchangeUtilities -framework GoogleNetworkingUtilities -framework GoogleSymbolUtilities -framework GoogleUtilities -framework MobileCoreServices -framework Security -framework StoreKit -framework SystemConfiguration -framework Pods_ExteriorBuildingProducts -Xlinker -dependency_info -Xlinker /Users/DAW/Library/Developer/Xcode/DerivedData/ExteriorBuildingProducts-hizhkwodsaswcsbishxbptsdpqgv/Build/Intermediates/ExteriorBuildingProducts.build/Debug-iphonesimulator/ExteriorBuildingProducts.build/Objects-normal/x86_64/ExteriorBuildingProducts_dependency_info.dat -o /Users/DAW/Library/Developer/Xcode/DerivedData/ExteriorBuildingProducts-hizhkwodsaswcsbishxbptsdpqgv/Build/Products/Debug-iphonesimulator/ExteriorBuildingProducts.app/ExteriorBuildingProducts
ld: framework not found Pods_ExteriorBuildingProducts
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The error message is this:
Ld /Users/RMacMini/Library/Developer/Xcode/DerivedData/ParseStarterProject-Swift-ckffbprwvtawqmhfaxjbyvhaipts/Build/Products/Debug-iphoneos/ParseStarterProject-Swift.app/ParseStarterProject-Swift normal arm64
cd "/Users/RMacMini/Desktop/Mystery Date/parse-starter-project-1.10.0/ParseStarterProject-Swift"
export IPHONEOS_DEPLOYMENT_TARGET=9.0
export PATH="/Volumes/R TM/Apps from old MM HD/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Volumes/R TM/Apps from old MM HD/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Volumes/R\ TM/Apps\ from\ old\ MM\ HD/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Volumes/R\ TM/Apps\ from\ old\ MM\ HD/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -L/Users/RMacMini/Library/Developer/Xcode/DerivedData/ParseStarterProject-Swift-ckffbprwvtawqmhfaxjbyvhaipts/Build/Products/Debug-iphoneos -L/Users/RMacMini/Desktop/Mystery\ Date/parse-starter-project-1.10.0/ParseStarterProject-Swift -F/Users/RMacMini/Library/Developer/Xcode/DerivedData/ParseStarterProject-Swift-ckffbprwvtawqmhfaxjbyvhaipts/Build/Products/Debug-iphoneos -F/Users/RMacMini/Desktop/Mystery\ Date/parse-starter-project-1.10.0/ParseStarterProject-Swift -filelist /Users/RMacMini/Library/Developer/Xcode/DerivedData/ParseStarterProject-Swift-ckffbprwvtawqmhfaxjbyvhaipts/Build/Intermediates/ParseStarterProject-Swift.build/Debug-iphoneos/ParseStarterProject-Swift.build/Objects-normal/arm64/ParseStarterProject-Swift.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -miphoneos-version-min=9.0 -dead_strip -L/Volumes/R\ TM/Apps\ from\ old\ MM\ HD/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -Xlinker -add_ast_path -Xlinker /Users/RMacMini/Library/Developer/Xcode/DerivedData/ParseStarterProject-Swift-ckffbprwvtawqmhfaxjbyvhaipts/Build/Intermediates/ParseStarterProject-Swift.build/Debug-iphoneos/ParseStarterProject-Swift.build/Objects-normal/arm64/ParseStarterProject_Swift.swiftmodule -lsqlite3 -lstdc++.6.0.9 -lsqlite3 -lz -framework ParseUI -framework QuartzCore -framework Security -framework ParseFacebookUtils -framework StoreKit -framework SystemConfiguration -framework CoreLocation -framework CoreGraphics -framework CFNetwork -framework AudioToolbox -framework AddressBook -framework AddressBookUI -framework Parse -framework Bolts -framework AdSupport -framework AssetsLibrary -Xlinker -dependency_info -Xlinker /Users/RMacMini/Library/Developer/Xcode/DerivedData/ParseStarterProject-Swift-ckffbprwvtawqmhfaxjbyvhaipts/Build/Intermediates/ParseStarterProject-Swift.build/Debug-iphoneos/ParseStarterProject-Swift.build/Objects-normal/arm64/ParseStarterProject-Swift_dependency_info.dat -o /Users/RMacMini/Library/Developer/Xcode/DerivedData/ParseStarterProject-Swift-ckffbprwvtawqmhfaxjbyvhaipts/Build/Products/Debug-iphoneos/ParseStarterProject-Swift.app/ParseStarterProject-Swift
ld: entry point (_main) undefined. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I recently updated my Xcode from 6.4 to 7, and have fixed all my code to be Swift 2 compatible.
I am having an issue: when building my project, the following error arises:
ld: framework not found -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have tried to alter the library search path in the build settings by adding:
$(PROJECT_DIR)
$(inherited)
but have not resulted in any progress.
This is the complete error note:
Ld
/Users/UserName/Library/Developer/Xcode/DerivedData/Appname\1-eekisechftoomidopihcmbkefaua/Build/Products/Debug-iphonesimulator/Appname\1.app/Appname\1
normal x86_64
cd "/Users/UserName/Desktop/Appname1 - iOS app/Appname1 - Swift 2 : xcode 7 - New/Appname1"
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 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk
-L/Users/UserName/Library/Developer/Xcode/DerivedData/Appname\1-eekisechftoomidopihcmbkefaua/Build/Products/Debug-iphonesimulator
-F/Users/UserName/Library/Developer/Xcode/DerivedData/Appname\1-eekisechftoomidopihcmbkefaua/Build/Products/Debug-iphonesimulator
-F. -FFacebookSDKStrings.bundle -FAppname\1 -FAppname\1Tests -FAppname\1UITests -FFacebookSDKStrings.bundle/Resources -FAppname\1/PNChart -FAppname\1/Appname_o.xcdatamodeld -FAppname\1/VoteLogDataBase.xcdatamodeld -FAppname\1/PNChart/PNBarChart -FAppname\1/PNChart/PNLineChart -FAppname\1/Appname_o.xcdatamodeld/Appname_o.xcdatamodel -FAppname\1/VoteLogDataBase.xcdatamodeld/VoteLogDataBase.xcdatamodel -filelist /Users/UserName/Library/Developer/Xcode/DerivedData/Appname\1-eekisechftoomidopihcmbkefaua/Build/Intermediates/Appname\1.build/Debug-iphonesimulator/Appname\1.build/Objects-normal/x86_64/Appname\1.LinkFileList
-Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker /Users/UserName/Desktop/Appname\1\ -\ iOS\ app/Appname\1\ -\ Swift\ 2\ :\ xcode\ 7\ -\ New/Appname\1
-mios-simulator-version-min=9.0 -Xlinker -objc_abi_version -Xlinker 2 -ObjC -framework -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator
-Xlinker -add_ast_path -Xlinker /Users/UserName/Library/Developer/Xcode/DerivedData/Appname\1-eekisechftoomidopihcmbkefaua/Build/Intermediates/Appname\1.build/Debug-iphonesimulator/Appname\1.build/Objects-normal/x86_64/Appname_o.swiftmodule
-framework Accounts -framework AudioToolbox -framework ParseFacebookUtilsV4 -framework ParseFacebookUtils -framework
FBSDKShareKit -framework CFNetwork -framework ParseCrashReporting
-framework CoreData -framework FBAudienceNetwork -framework CoreGraphics -framework CoreLocation -framework ParseUI -lsqlite3.0
-framework FBSDKMessengerShareKit -lz -framework Bolts -framework FBSDKLoginKit -framework MobileCoreServices -framework QuartzCore
-framework ParseTwitterUtils -framework Security -framework Social -framework SystemConfiguration -framework FBSDKCoreKit -framework Twitter -framework Bolts -Xlinker -dependency_info -Xlinker
/Users/UserName/Library/Developer/Xcode/DerivedData/Appname\1-eekisechftoomidopihcmbkefaua/Build/Intermediates/Appname\1.build/Debug-iphonesimulator/Appname\1.build/Objects-normal/x86_64/Appname\1_dependency_info.dat
-o /Users/UserName/Library/Developer/Xcode/DerivedData/Appname\1-eekisechftoomidopihcmbkefaua/Build/Products/Debug-iphonesimulator/Appname\1.app/Appname\1
ld: framework not found
-L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
I am trying to create a Custom Framework following this url
http://www.makeandbuild.com/blog/post/watchkit-with-shared-core-data
However When I am creating a custom framework called "DataStore"
Ld /Users/harshadkhedekar/Library/Developer/Xcode/DerivedData/TestScanner-fsxgnfdpdqvxdlasdbbjeurajlkj/Build/Intermediates/TestScanner.build/Debug-iphonesimulator/TestScanner.build/Objects-normal/x86_64/TestScanner normal x86_64
cd "/Users/harshadkhedekar/Documents/Harshad/Projects/Sandvik/Start Value/17 Aug"
export IPHONEOS_DEPLOYMENT_TARGET=7.0
export PATH="/Applications/Xcode-beta 3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode-beta 3.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode-beta\ 3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode-beta\ 3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/harshadkhedekar/Library/Developer/Xcode/DerivedData/TestScanner-fsxgnfdpdqvxdlasdbbjeurajlkj/Build/Products/Debug-iphonesimulator -L/Users/harshadkhedekar/Documents/Harshad/Projects/Sandvik/Start\ Value/17\ Aug/TestScanner/RedLaserSDK -F/Users/harshadkhedekar/Library/Developer/Xcode/DerivedData/TestScanner-fsxgnfdpdqvxdlasdbbjeurajlkj/Build/Products/Debug-iphonesimulator -F/Users/harshadkhedekar/Documents/Harshad/Projects/Sandvik/Start\ Value/17\ Aug/DataStore -filelist /Users/harshadkhedekar/Library/Developer/Xcode/DerivedData/TestScanner-fsxgnfdpdqvxdlasdbbjeurajlkj/Build/Intermediates/TestScanner.build/Debug-iphonesimulator/TestScanner.build/Objects-normal/x86_64/TestScanner.LinkFileList -Xlinker -rpath -Xlinker "" -Xlinker -rpath -Xlinker #executable_path/Frameworks -mios-simulator-version-min=7.0 -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -stdlib=libstdc++ -framework CoreLocation -framework Security -framework OpenGLES -liconv -framework Foundation -framework CoreVideo -framework CoreMedia -lRedLaserSDK_arm64 -framework DataStore -framework QuartzCore -framework AudioToolbox -framework AVFoundation -framework UIKit -framework CoreGraphics -framework CoreData -Xlinker -dependency_info -Xlinker /Users/harshadkhedekar/Library/Developer/Xcode/DerivedData/TestScanner-fsxgnfdpdqvxdlasdbbjeurajlkj/Build/Intermediates/TestScanner.build/Debug-iphonesimulator/TestScanner.build/Objects-normal/x86_64/TestScanner_dependency_info.dat -o /Users/harshadkhedekar/Library/Developer/Xcode/DerivedData/TestScanner-fsxgnfdpdqvxdlasdbbjeurajlkj/Build/Intermediates/TestScanner.build/Debug-iphonesimulator/TestScanner.build/Objects-normal/x86_64/TestScanner
ld: framework not found DataStore
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I tried adding the Framework Search paths to "$(SRCROOT)/DataStore" and "$(inherited)". But still I am this issue is not fixed. Can I know the root cause of this issue. When I create a blank project and add custom framework to it, the blank project is build successfully. I am using Xcode 7 Beta 3 version.
Thanks