System and IINA version:
Expected behavior:
Hi all,
Just tried to set up the environment to run the project, but the build is failing.
What did I do.
1) Cloned a repo.
2) Created a branch
3) pod install
4) open iina.xcworkspace
5) Build
Actual behavior:
Build failed
Log below
Crash report:
PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/alex/Library/Developer/Xcode/DerivedData/iina-fqempmidinyyalewrspdyamviimx/Build/Intermediates.noindex/iina.build/Debug/iina.build/Script-DFB4E0114268BBFB043A6097.sh (in target: iina)
cd /Users/alex/Documents/OSD/r0.4/iina
/bin/sh -c /Users/alex/Library/Developer/Xcode/DerivedData/iina-fqempmidinyyalewrspdyamviimx/Build/Intermediates.noindex/iina.build/Debug/iina.build/Script-DFB4E0114268BBFB043A6097.sh
mkdir -p /Users/alex/Library/Developer/Xcode/DerivedData/iina-fqempmidinyyalewrspdyamviimx/Build/Products/Debug/IINA.app/Contents/Frameworks
rsync --delete -av --filter P .*.?????? --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "/Users/alex/Library/Developer/Xcode/DerivedData/iina-fqempmidinyyalewrspdyamviimx/Build/Products/Debug/GRMustache.swift/Mustache.framework" "/Users/alex/Library/Developer/Xcode/DerivedData/iina-fqempmidinyyalewrspdyamviimx/Build/Products/Debug/IINA.app/Contents/Frameworks"
building file list ... done
Mustache.framework/Versions/A/
Mustache.framework/Versions/A/Mustache
Mustache.framework/Versions/A/Resources/Info.plist
sent 1261805 bytes received 70 bytes 2523750.00 bytes/sec
total size is 1261255 speedup is 1.00
/Users/alex/Documents/OSD/r0.4/iina/Pods/Target Support Files/Pods-iina/Pods-iina-frameworks.sh: line 104: EXPANDED_CODE_SIGN_IDENTITY: unbound variable
Command PhaseScriptExecution failed with a nonzero exit code
Showing All Messages
:-1: mkdir -p /Users/alex/Library/Developer/Xcode/DerivedData/iina-fqempmidinyyalewrspdyamviimx/Build/Products/Debug/IINA.app/Contents/Frameworks
:-1: rsync --delete -av --filter P .*.?????? --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "/Users/alex/Library/Developer/Xcode/DerivedData/iina-fqempmidinyyalewrspdyamviimx/Build/Products/Debug/GRMustache.swift/Mustache.framework" "/Users/alex/Library/Developer/Xcode/DerivedData/iina-fqempmidinyyalewrspdyamviimx/Build/Products/Debug/IINA.app/Contents/Frameworks"
:-1: building file list ... done
:-1: Mustache.framework/Versions/A/
:-1: Mustache.framework/Versions/A/Mustache
:-1: Mustache.framework/Versions/A/Resources/Info.plist
:-1:
:-1: sent 1261805 bytes received 70 bytes 2523750.00 bytes/sec
:-1: total size is 1261255 speedup is 1.00
:-1: /Users/alex/Documents/OSD/r0.4/iina/Pods/Target Support Files/Pods-iina/Pods-iina-frameworks.sh: line 104: EXPANDED_CODE_SIGN_IDENTITY: unbound variable
Command PhaseScriptExecution failed with a nonzero exit code
mpv log:
Steps to reproduce:
How often does this happen?
Tried to do a clean installation a couple times. Same issue every time.
Please follow the instructions in README.md on develop branch.
There's a bug in cocoapods 1.5.*, so that you cannot complie IINA with it. Thankfully the bug was fixed in their master branch. We are using pre-release of cocoapods (currently 1.6.0 beta2) to avoid that bug. You can install the pre-release version of cocoapods via
sudo gem install cocoapods --pre
@alejx Thank you!
You actually don't need to upgrade CocoaPods if building with Legacy Build System of Xcode 10
Most helpful comment
Please follow the instructions in README.md on develop branch.