googlesamples / ios-nearby

68 stars 30 forks source link

Podfile throw exception #9

Open yanayhollander opened 8 years ago

yanayhollander commented 8 years ago
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.

dan-webb commented 8 years ago

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

AaronBaker commented 8 years ago

Thanks for replying, Dan.

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

dan-webb commented 8 years ago

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.