Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build of tvos target fails after cocoapod install #94

Open
mgrider opened this issue Jan 20, 2016 · 4 comments
Open

build of tvos target fails after cocoapod install #94

mgrider opened this issue Jan 20, 2016 · 4 comments

Comments

@mgrider
Copy link

mgrider commented Jan 20, 2016

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
Copy link
Author

mgrider commented Feb 21, 2016

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
Copy link
Author

mgrider commented Feb 21, 2016

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

@kstenerud
Copy link
Owner

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.

@bruno1308
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants