반응형
SG Player
git clone https://github.com/libobjc/SGPlayer.git
cd SGPlayer
git checkout 2.0.1 -B latest\n
./build.sh iOS build
cd SGPlayer
cd /Users/zerosoft/Desktop/workSpace/IOS/SGPlayer2
./build.sh iOS build
demo/demo.xcworkspace Xcode로 open
Frameworks, Libraries, and Embedded Content에 Dependency 추가
- SGPlayer.framework
- AVFoundation.framework
- AudioToolBox.framework
- VideoToolBox.framework
- libiconv.tbd
- libbz2.tbd
- libz.tbd
SGPlayer.framework 클릭 후 Target Membership에서 IOS 선택 후 시작
Error Msg
- Xcrun: error: unable to lookup item 'Path' in SDK iphoneos -> : sudo xcode-select --switch /Applications/Xcode.app
- libavformat/avformat.h' file not found -> 1. SGPlayer를 삭제 2. : brew install sdl2 ffmpeg 3. 다시 빌드시작
반응형
'OS > IOS' 카테고리의 다른 글
Swift 사용 라이브러리 (0) | 2020.07.27 |
---|---|
IOS 배포 준비 (1) | 2020.07.22 |
SGPlayer + mms옵션 빌드 (0) | 2020.07.07 |