iOSDevLog / ijkplayer

Bilibili/ijkplayer cocoapods,iOS video player based on FFmpeg n3.3, with MediaCodec, VideoToolbox support.
GNU Lesser General Public License v2.1
80 stars 34 forks source link

ijkplayer-Swift 不能打包 #4

Closed kingslay closed 6 years ago

kingslay commented 7 years ago

ijkplayer-Swift 这个项目可以跑在模拟器.但是不能打包.你可以打包吗?

jiaxianhua commented 7 years ago
ld: bitcode bundle could not be generated because '/Users/iosdevlog/SourceTree/github/iOSDevLog/ijkplayer/ijkplayer-Swift/Pods/ijkplayer/IJKMediaFramework.framework/IJKMediaFramework(IJKAVMoviePlayerController.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build file '/Users/iosdevlog/SourceTree/github/iOSDevLog/ijkplayer/ijkplayer-Swift/Pods/ijkplayer/IJKMediaFramework.framework/IJKMediaFramework' for architecture armv7
ld: warning: ignoring file , missing required architecture (null) in file  (4 slices)
clang: error: linker command failed with exit code 1 (use -v to see invocation)

ld: bitcode 的问题吗?

如果是,请选中 target->ijkplayer-> Build Settings -> Enable Bitcode 把yes-> no。 不启用bitcode,再试试看!