build of tvos target fails after cocoapod install
Should I be using the feature/tvos branch? Here's my podfile:
platform :ios, '9.0'
# Uncomment this line if you're using Swift
# use_frameworks!
inhibit_all_warnings!
target 'ActionGo' do
pod 'ObjectAL-for-iPhone'
end
target 'ActionGoTests' do
pod 'ObjectAL-for-iPhone'
end
target 'ActionGo-TV' do
pod 'ObjectAL-for-iPhone'
end
Note that if I don't include the first line, I cannot install the ObjectAL-for-iPhone cocoapod at all. Also, my iPhone target compiles just fine.
Here's my build failed error:
ld: library not found for -lObjectAL-for-iPhone
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Worth noting, I have also tried the following podfile:
inhibit_all_warnings!
def shared_pods
pod 'ObjectAL-for-iPhone'
end
target 'ActionGo' do
platform :ios, '9.0'
shared_pods
end
target 'ActionGo-TV' do
platform :tvos, '9.0'
shared_pods
end
The result there is also that I cannot install the podfile. I get this error:
[!] The platform of the target `ActionGo-TV` (tvOS 9.0) is not compatible with `ObjectAL-for-iPhone (2.5.2)`, which does not support `tvos`.
I have also tried specifying the feature/tvos branch in my podfile, with the same result.
The tvos branch is only minimally tested, and doesn't have an updated podfile yet. I'll be getting a tvos device hopefully soon and will be able to add proper support then.
Then why does it say 'ObjectAL for iPhone, Apple TV, and Mac'? :/