ObjectAL-for-iPhone icon indicating copy to clipboard operation
ObjectAL-for-iPhone copied to clipboard

build of tvos target fails after cocoapod install

Open mgrider opened this issue 9 years ago • 4 comments

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)

mgrider avatar Jan 20 '16 19:01 mgrider

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`.

mgrider avatar Feb 21 '16 04:02 mgrider

I have also tried specifying the feature/tvos branch in my podfile, with the same result.

mgrider avatar Feb 21 '16 04:02 mgrider

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.

kstenerud avatar Feb 22 '16 17:02 kstenerud

Then why does it say 'ObjectAL for iPhone, Apple TV, and Mac'? :/

bruno1308 avatar May 02 '16 16:05 bruno1308