ios - Archive build with split pods across app and watchkit extension -


i have been unable cocoapods build deployable ios app requires different pods app , watchkit extension. have tried format suggested in thread: include pods in main target , not in watchkit extension

but has numerous failures, including not finding headers. here's closest can get:

source 'https://github.com/cocoapods/specs.git'  link_with 'railtime-watchkit-extension'  pod 'reachability' pod 'iginterfacedatatable'  target :'railtime', :exclusive=>true     pod 'asihttprequest', '~> 1.8.2'     pod 'bpxluuidhandler', '~> 0.0.1'     pod 'mbprogresshud', '~> 0.9'     pod 'appirater', '~> 2.0.4' end 

this works fine simulator, fails when trying install on device. first error is:

ld: library not found -lpods-railtime-watchkit-extension

i'm using latest cocoapods right .37. no errors generated when performing pod install.

any appreciated!

ken

here's general format use watchkit app. see if helps:

source 'https://github.com/cocoapods/specs.git'  target 'railtime-watchkit-extension'  link_with 'railtime-watchkit-extension'  pod 'reachability' pod 'iginterfacedatatable'  end  target :'railtime'  link_with 'railtime'  pod 'asihttprequest', '~> 1.8.2' pod 'bpxluuidhandler', '~> 0.0.1' pod 'mbprogresshud', '~> 0.9' pod 'appirater', '~> 2.0.4'  end 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -