xioxin / biliATV

bilibili apple tv app
GNU General Public License v3.0
173 stars 32 forks source link

编译的时候遇到了大量关于libtool的错误 #19

Open manakanemu opened 6 years ago

manakanemu commented 6 years ago

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lavcodec error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lavcodec is not an object file (not allowed in a library) error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lavfilter error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lavfilter is not an object file (not allowed in a library) error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lavformat error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lavformat is not an object file (not allowed in a library) error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lavutil error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lavutil is not an object file (not allowed in a library) error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lcrypto error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lcrypto is not an object file (not allowed in a library) error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lssl error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lssl is not an object file (not allowed in a library) error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lswresample error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lswresample is not an object file (not allowed in a library) error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lswscale error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lswscale is not an object file (not allowed in a library) 请问这是为什么呢

Xummer commented 6 years ago

直接 clone 下来我也无法运行,重新建一个工程解决了😂

manakanemu commented 6 years ago

请问您是指新建一个工程然后把原工程的文件一个一个包括进来吗 @Xummer

Xummer commented 6 years ago

@skjgsk 是的 submodule 也是重新添加

manakanemu commented 6 years ago

@Xummer 非常感谢!

manakanemu commented 6 years ago

解决问题的时候发现xcode9.2以后的版本会报错,9.2以前的版本没问题

Xummer commented 6 years ago

@skjgsk 更新最新版本的 DaMuPlayer 解决了

mengxingshifendeni commented 6 years ago

@Xummer thx ,这些问题解决了,现在面临的是QR显示不出来的问题,接口试了下能显示二维码,但是在控件上就是显示不出来,在研究解决办法,xcode9.4 tvos11.4

mengxingshifendeni commented 6 years ago

@Xummer 找到问题了,AppDelegate.swift里面tvBaseURL 的事儿,应该吧coding的注释掉用git的地址

Xummer commented 6 years ago

@mengxingshifendeni 可能是作者太忙,没同步到 coding 上

xioxin commented 6 years ago

我忘记了 ....

xioxin commented 6 years ago

由于工作原因 现在没什么时间看电视 几乎也不使用AppleTV 导致这个项目搁置了 我甚至忘记了 前端代码是跑在coding上的了 .... 惭愧

patricorgi commented 5 years ago

Xcode 10.2 下这个问题还存在…

Libtool /Users/patrick/Library/Developer/Xcode/DerivedData/biliATV-cyslmwnjwqajnwakitvmdbjwtfjj/Build/Products/Debug-appletvsimulator/SGPlayer.framework/SGPlayer normal x86_64 (in target: SGPlayer tvOS)
    cd /Users/patrick/Downloads/biliATV/DanMuPlayer/SGPlayer
    export TVOS_DEPLOYMENT_TARGET=9.0
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only x86_64 -D -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator12.2.sdk -L/Users/patrick/Library/Developer/Xcode/DerivedData/biliATV-cyslmwnjwqajnwakitvmdbjwtfjj/Build/Products/Debug-appletvsimulator -L/Users/patrick/Downloads/biliATV/DanMuPlayer/SGPlayer/SGPlayer/Classes/Core/SGFFPlayer/ffmpeg/lib-tvOS -L/Users/patrick/Downloads/biliATV/DanMuPlayer/SGPlayer/SGPlayer/Classes/Core/SGFFPlayer/ffmpeg/lib-tvOS -filelist /Users/patrick/Library/Developer/Xcode/DerivedData/biliATV-cyslmwnjwqajnwakitvmdbjwtfjj/Build/Intermediates.noindex/SGPlayer.build/Debug-appletvsimulator/SGPlayer\ tvOS.build/Objects-normal/x86_64/SGPlayer.LinkFileList /Users/patrick/Library/Developer/Xcode/DerivedData/biliATV-cyslmwnjwqajnwakitvmdbjwtfjj/Build/Products/Debug-appletvsimulator/SGPlatform.framework/SGPlatform -lavcodec -lavfilter -lavformat -lavutil -lcrypto -lssl -lswresample -lswscale -o /Users/patrick/Library/Developer/Xcode/DerivedData/biliATV-cyslmwnjwqajnwakitvmdbjwtfjj/Build/Products/Debug-appletvsimulator/SGPlayer.framework/SGPlayer

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lcrypto
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lcrypto is not an object file (not allowed in a library)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lssl
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lssl is not an object file (not allowed in a library)
Command Libtool failed with a nonzero exit code