XCode library not found for -lPods- - ios

I'm Publishing an app to Apple store and I got this error after clicking on product->archive
Library not found for -lPods-Kefan Optics
The app developed by Ionic 4 and Cordova
The error details:
Ld /Users/esham/Library/Developer/Xcode/DerivedData/Kefan_Optics-bvddltavdgfpjtgrsrqnckhvxasw/Build/Intermediates.noindex/ArchiveIntermediates/Kefan\ Optics/InstallationBuildProductsLocation/Applications/Kefan\ Optics.app/Kefan\ Optics normal arm64 (in target 'Kefan Optics' from project 'Kefan Optics')
cd /Volumes/Partion-2/Projects/kefan/platforms/ios
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios11.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk -L/Users/esham/Library/Developer/Xcode/DerivedData/Kefan_Optics-bvddltavdgfpjtgrsrqnckhvxasw/Build/Intermediates.noindex/ArchiveIntermediates/Kefan\ Optics/BuildProductsPath/Release-iphoneos -F/Users/esham/Library/Developer/Xcode/DerivedData/Kefan_Optics-bvddltavdgfpjtgrsrqnckhvxasw/Build/Intermediates.noindex/ArchiveIntermediates/Kefan\ Optics/BuildProductsPath/Release-iphoneos -F/Volumes/Partion-2/Projects/kefan/platforms/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework -filelist /Users/esham/Library/Developer/Xcode/DerivedData/Kefan_Optics-bvddltavdgfpjtgrsrqnckhvxasw/Build/Intermediates.noindex/ArchiveIntermediates/Kefan\ Optics/IntermediateBuildFilesPath/Kefan\ Optics.build/Release-iphoneos/Kefan\ Optics.build/Objects-normal/arm64/Kefan\ Optics.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/esham/Library/Developer/Xcode/DerivedData/Kefan_Optics-bvddltavdgfpjtgrsrqnckhvxasw/Build/Intermediates.noindex/ArchiveIntermediates/Kefan\ Optics/IntermediateBuildFilesPath/Kefan\ Optics.build/Release-iphoneos/Kefan\ Optics.build/Objects-normal/arm64/Kefan\ Optics_lto.o -Xlinker -final_output -Xlinker /Applications/Kefan\ Optics.app/Kefan\ Optics -fobjc-arc -fobjc-link-runtime -ObjC -ObjC -framework CoreGraphics -framework OneSignal -framework SystemConfiguration -framework UIKit -framework UserNotifications -framework WebKit /Users/esham/Library/Developer/Xcode/DerivedData/Kefan_Optics-bvddltavdgfpjtgrsrqnckhvxasw/Build/Intermediates.noindex/ArchiveIntermediates/Kefan\ Optics/BuildProductsPath/Release-iphoneos/libCordova.a -weak_framework WebKit -weak_framework SystemConfiguration -framework CoreTelephony -lPods-Kefan\ Optics -framework CoreLocation -Xlinker -dependency_info -Xlinker /Users/esham/Library/Developer/Xcode/DerivedData/Kefan_Optics-bvddltavdgfpjtgrsrqnckhvxasw/Build/Intermediates.noindex/ArchiveIntermediates/Kefan\ Optics/IntermediateBuildFilesPath/Kefan\ Optics.build/Release-iphoneos/Kefan\ Optics.build/Objects-normal/arm64/Kefan\ Optics_dependency_info.dat -o /Users/esham/Library/Developer/Xcode/DerivedData/Kefan_Optics-bvddltavdgfpjtgrsrqnckhvxasw/Build/Intermediates.noindex/ArchiveIntermediates/Kefan\ Optics/InstallationBuildProductsLocation/Applications/Kefan\ Optics.app/Kefan\ Optics

The solution was simply opening the xxx.xcworkspace instead of xxx.xcodeproj

Related

after installing google map sdk failed to build project

I am integrating a Google Maps API. I have created a new project, installed a Google Maps pod, opened xcworkspace and built a project. It is giving following error:
Ld /Users/nxgen/Library/Developer/Xcode/DerivedData/GoogleMapTest2-dvqnpyvsumrrzbfpshbwaiyutzip/Build/Products/Debug-iphonesimulator/GoogleMapTest2.app/GoogleMapTest2 normal x86_64 (in target 'GoogleMapTest2' from project 'GoogleMapTest2')
cd /Users/nxgen/Documents/GoogleMapTest2
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios13.7-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.7.sdk -L/Users/nxgen/Library/Developer/Xcode/DerivedData/GoogleMapTest2-dvqnpyvsumrrzbfpshbwaiyutzip/Build/Products/Debug-iphonesimulator -F/Users/nxgen/Library/Developer/Xcode/DerivedData/GoogleMapTest2-dvqnpyvsumrrzbfpshbwaiyutzip/Build/Products/Debug-iphonesimulator -F/Users/nxgen/Documents/GoogleMapTest2/Pods/GoogleMaps/Base/Frameworks -F/Users/nxgen/Documents/GoogleMapTest2/Pods/GoogleMaps/Maps/Frameworks -filelist /Users/nxgen/Library/Developer/Xcode/DerivedData/GoogleMapTest2-dvqnpyvsumrrzbfpshbwaiyutzip/Build/Intermediates.noindex/GoogleMapTest2.build/Debug-iphonesimulator/GoogleMapTest2.build/Objects-normal/x86_64/GoogleMapTest2.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #loader_path/Frameworks -Xlinker -rpath -Xlinker #executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/nxgen/Library/Developer/Xcode/DerivedData/GoogleMapTest2-dvqnpyvsumrrzbfpshbwaiyutzip/Build/Intermediates.noindex/GoogleMapTest2.build/Debug-iphonesimulator/GoogleMapTest2.build/Objects-normal/x86_64/GoogleMapTest2_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 -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/nxgen/Library/Developer/Xcode/DerivedData/GoogleMapTest2-dvqnpyvsumrrzbfpshbwaiyutzip/Build/Intermediates.noindex/GoogleMapTest2.build/Debug-iphonesimulator/GoogleMapTest2.build/Objects-normal/x86_64/GoogleMapTest2.swiftmodule -ObjC -lc++ -lz -framework Accelerate -framework CoreData -framework CoreGraphics -framework CoreImage -framework CoreLocation -framework CoreTelephony -framework CoreText -framework GLKit -framework GoogleMaps -framework GoogleMapsBase -framework GoogleMapsCore -framework ImageIO -framework Metal -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -framework UIKit -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/nxgen/Library/Developer/Xcode/DerivedData/GoogleMapTest2-dvqnpyvsumrrzbfpshbwaiyutzip/Build/Intermediates.noindex/GoogleMapTest2.build/Debug-iphonesimulator/GoogleMapTest2.build/GoogleMapTest2.app-Simulated.xcent -framework Pods_GoogleMapTest2 -Xlinker -dependency_info -Xlinker /Users/nxgen/Library/Developer/Xcode/DerivedData/GoogleMapTest2-dvqnpyvsumrrzbfpshbwaiyutzip/Build/Intermediates.noindex/GoogleMapTest2.build/Debug-iphonesimulator/GoogleMapTest2.build/Objects-normal/x86_64/GoogleMapTest2_dependency_info.dat -o /Users/nxgen/Library/Developer/Xcode/DerivedData/GoogleMapTest2-dvqnpyvsumrrzbfpshbwaiyutzip/Build/Products/Debug-iphonesimulator/GoogleMapTest2.app/GoogleMapTest2
Undefined symbols for architecture x86_64:
"_CTRadioAccessTechnologyNRNSA", referenced from:
___GMSCellNetworkTypeForRadioType_block_invoke in GoogleMaps
"_CTRadioAccessTechnologyNR", referenced from:
___GMSCellNetworkTypeForRadioType_block_invoke in GoogleMaps
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbol: _CTRadioAccessTechnologyNRNSA
Undefined symbol: _CTRadioAccessTechnologyNR
Can some one please help me to fix it?

Framework not found FBLPromises Problem with Pods

I really stuck with problem Framework not found FBLPromises Problem. I also noticed
I try a lot of different solutions:
Excluded architect arm64
Build active architecture only
Reinstalled Pods
Deployment target everywhere is ios 14.0
My pod file
platform :ios, '14.0'
target 'Monopoly Money Counter' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
pod 'Google-Mobile-Ads-SDK'
end
I am using M1 Mac. Really looking for a solution for a few days. Does anyone know how to fix this problem?
Here is a full error overview
Ld /Users/Serg/Library/Developer/Xcode/DerivedData/Monopoly_Money_Counter-dlchnwqjswrpalbdpoofeqhxekuc/Build/Products/Debug-iphonesimulator/Monopoly\ Money\ Counter.app/Monopoly\ Money\ Counter normal (in target 'Monopoly Money Counter' from project 'Monopoly Money Counter')
cd /Users/Serg/Documents/GitHub/iOS-Courses/iOS-Dev-2.0/Xcodes/MMC
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios15.2-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk -L/Users/Serg/Library/Developer/Xcode/DerivedData/Monopoly_Money_Counter-dlchnwqjswrpalbdpoofeqhxekuc/Build/Products/Debug-iphonesimulator -F/Users/Serg/Library/Developer/Xcode/DerivedData/Monopoly_Money_Counter-dlchnwqjswrpalbdpoofeqhxekuc/Build/Products/Debug-iphonesimulator -filelist /Users/Serg/Library/Developer/Xcode/DerivedData/Monopoly_Money_Counter-dlchnwqjswrpalbdpoofeqhxekuc/Build/Intermediates.noindex/Monopoly\ Money\ Counter.build/Debug-iphonesimulator/Monopoly\ Money\ Counter.build/Objects-normal/x86_64/Monopoly\ Money\ Counter.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #loader_path/Frameworks -Xlinker -rpath -Xlinker #executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/Serg/Library/Developer/Xcode/DerivedData/Monopoly_Money_Counter-dlchnwqjswrpalbdpoofeqhxekuc/Build/Intermediates.noindex/Monopoly\ Money\ Counter.build/Debug-iphonesimulator/Monopoly\ Money\ Counter.build/Objects-normal/x86_64/Monopoly\ Money\ Counter_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 -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/Serg/Library/Developer/Xcode/DerivedData/Monopoly_Money_Counter-dlchnwqjswrpalbdpoofeqhxekuc/Build/Intermediates.noindex/Monopoly\ Money\ Counter.build/Debug-iphonesimulator/Monopoly\ Money\ Counter.build/Objects-normal/x86_64/Monopoly_Money_Counter.swiftmodule -ObjC -lc++ -lsqlite3 -lz -framework AVFoundation -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreMedia -framework CoreTelephony -framework CoreVideo -framework FBLPromises -framework GoogleAppMeasurement -framework GoogleAppMeasurementIdentitySupport -framework GoogleMobileAds -framework GoogleUtilities -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -framework UserMessagingPlatform -framework WebKit -framework nanopb -weak_framework AdSupport -weak_framework JavaScriptCore -weak_framework SafariServices -weak_framework WebKit -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/Serg/Library/Developer/Xcode/DerivedData/Monopoly_Money_Counter-dlchnwqjswrpalbdpoofeqhxekuc/Build/Intermediates.noindex/Monopoly\ Money\ Counter.build/Debug-iphonesimulator/Monopoly\ Money\ Counter.build/Monopoly\ Money\ Counter.app-Simulated.xcent -framework FBLPromises -framework GoogleUtilities -framework nanopb -framework GoogleAppMeasurement -framework GoogleAppMeasurementIdentitySupport -framework GoogleMobileAds -framework UserMessagingPlatform -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/Serg/Library/Developer/Xcode/DerivedData/Monopoly_Money_Counter-dlchnwqjswrpalbdpoofeqhxekuc/Build/Intermediates.noindex/Monopoly\ Money\ Counter.build/Debug-iphonesimulator/Monopoly\ Money\ Counter.build/Objects-normal/x86_64/Monopoly\ Money\ Counter_dependency_info.dat -o /Users/Serg/Library/Developer/Xcode/DerivedData/Monopoly_Money_Counter-dlchnwqjswrpalbdpoofeqhxekuc/Build/Products/Debug-iphonesimulator/Monopoly\ Money\ Counter.app/Monopoly\ Money\ Counter
Adding this to end of podfile fixed the error for me.
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64 i386"
end
end
end
Reference:
https://github.com/flutter/flutter/issues/94914#issuecomment-992898782

error: library not found for -lPods

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.

linker command failed with exit code 1 Firebase iOS Swift

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)

ld: framework not found "CustomFrameworkName"

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

Resources