Iina: Command PhaseScriptExecution failed with a nonzero exit code - EXPANDED_CODE_SIGN_IDENTITY

Created on 20 Nov 2018  路  3Comments  路  Source: iina/iina



System and IINA version:

  • macOS 10.14
  • IINA 1.0.0-beta4 (build 92)

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:

  • [ ] MPV does not have this problem.


How often does this happen?

Tried to do a clean installation a couple times. Same issue every time.

question

Most helpful comment

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

All 3 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

matthewdias picture matthewdias  路  3Comments

Pash237 picture Pash237  路  3Comments

gferreroferri picture gferreroferri  路  3Comments

orchick picture orchick  路  3Comments

darkbrow picture darkbrow  路  3Comments