ios-nearby icon indicating copy to clipboard operation
ios-nearby copied to clipboard

Podfile throw exception

Open yanayhollander opened this issue 9 years ago • 3 comments

platform :ios, '7.0'
pod 'NearbyMessages', '~> 0.9'
link_with 'NearbyMessagesExample', 'NearbyMessagesExampleSwift'

so try this way

target 'NearbyMessagesExample' do
  platform :ios, '9.3'
   pod 'NearbyMessages', '~> 0.9'
end

 target 'NearbyMessagesExampleSwift' do
  platform :ios, '9.3'
   pod 'NearbyMessages', '~> 0.9'
end

and there is an build error

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

so i couldn't run the sample.

yanayhollander avatar Jun 06 '16 10:06 yanayhollander

Be sure to open the .xcworkspace file. If you open the .xcodeproj file, you'll get that error message.

dan-webb avatar Jun 07 '16 16:06 dan-webb

Thanks for replying, Dan.

I'm definitely opening the .xcworkspace file and I'm still getting this error.

AaronBaker avatar Sep 26 '16 01:09 AaronBaker

I'm sorry about the problems you're seeing; I wish I could reproduce the problem and help you solve it. My only recommendation is to check the CocoaPod Troubleshooting page for helpful ideas, and email their support group(s) if you don't find the cause of the problem.

dan-webb avatar Sep 27 '16 00:09 dan-webb