Posts: 785
Joined: Feb 2015
Reputation:
38
Rechi
Team-Kodi Member
Posts: 785
Use any text pasting site. Dropbox is also fine.
Posts: 59
Joined: Jul 2015
Reputation:
0
OK I posted a gist of the Xcode log <https://gist.github.com/pteeson/c6425d206b79c58c92ee7822dd83fd91>
I also have the Terminal output for steps 1 - 5 if needed.
<https://github.com/xbmc/xbmc/blob/master/docs/README.macOS.md>
System Version: macOS 10.12.6 (16G1510)
Kernel Version: Darwin 16.7.0
Boot Volume: Sierra 10.12.6
Boot Mode: Normal
Computer Name: Gandalf
User Name: Peter Teeson (pteeson)
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
Step 2 Prerequisites
Gandalf:~ pteeson$ java --version
java 10.0.2 2018-07-17
Java SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
Gandalf:~ pteeson$ xcodebuild -version
Xcode 9.2
Build version 9C40b
Gandalf:~ pteeson$ xcode-select -p
/Applications/Xcode.app/Contents/Developer
Posts: 785
Joined: Feb 2015
Reputation:
38
Rechi
Team-Kodi Member
Posts: 785
Can you start Kodi? From your build log it should be possible (Ld [...]/kodi.bin normal x86_64). Stupid Xcode counted some error string outputs of the compiler as errors. Those are only warnings, but the source code line contains error as string.
Posts: 59
Joined: Jul 2015
Reputation:
0
Interesting.
My first attempt was (a) Build - got 8 errors (b) Hit Build again - errors disappeared warnings increased. ( c) execute the Debug binary -it worked. See earlier post.
This second attempt (a) Build - got 8 errors (b) execute the Debug binary -it worked. ( c) Hit Build again - errors disappeared warnings increased.
In addition I did an Xcode Clean and Build - Debug binary works. Bottom of log showed 159 Warnings which does not match Summary of 28.
I have these questions:
( i) Does building on High Sierra exhibit the same symptoms - i.e. phony errors?
( ii) Do we care about fixing this for Sierra if it's possible?
Posts: 16,946
Joined: Feb 2011
Reputation:
256
Those phony errors are independent of OS X or Xcode version. If you have an idea for a fix this is welcome of course. Those errors are mostly from shell scripts that get called (or even generated by cmake?) that have trigger words like „error“ in it or may even indicate an error via return code. Obviously those errors can‘t be fatal Else the binary wouldn‘t work ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 59
Joined: Jul 2015
Reputation:
0
OK I'll forget about it. I am now attempting to make a small edit to README.macOS.md.
For development I always keep my projects on HD's other than the boot one.
That way when I boot from different macOS' they are available to me.
So I forked XBMC (pteeson/xbmc) and cloned to my local machine /Volumes/Data-b/kodi.
Then Gandalf:kodi pteeson$ git checkout -b macos-readme
Then made the edit to /kodi/docs/README.macOS.md
Then Gandalf:kodi pteeson$ git push --set-upstream origin macos-readme
Identity added: /Users/pteeson/.ssh/id_rsa (/Users/pteeson/.ssh/id_rsa)
Branch macos-readme set up to track remote branch macos-readme from origin.
Everything up-to-date
Gandalf:kodi pteeson$ git config --global push.default simple
Gandalf:kodi pteeson$ git branch
* macos-readme
master
Gandalf:kodi pteeson$ git push origin
Everything up-to-date
But when I look in the pteeson/xbmc repo the change is not reflected in the document.
Where might I have gone wrong?
Posts: 785
Joined: Feb 2015
Reputation:
38
Rechi
Team-Kodi Member
Posts: 785
You missed git add and git commit.
Posts: 59
Joined: Jul 2015
Reputation:
0
Not 100% sure but I think it's done and the pull as well. Is there anything else I am supposed to do about this?
Many thanks for everyone's patience in educating me.
I DL'd the Git manual and will now work through as much of it as I need for future Kodi stuff.
I have an RPi2B and an RPi3B+.
Xcode 9 has the ability to have several toolchains - Kodi makes use of this.
So my questions are these:
Is it realistic to cross compile for the RPi's on Xcode which supports ARM 7 at least?
If so is it sufficient to set the arch in Xcode? If not will a VBOX Ubuntu work?
If not what else can I do?
Posts: 16,946
Joined: Feb 2011
Reputation:
256
Xcode won’t work (you would miss the whole depends build).
Ubuntu VM will work.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 16,946
Joined: Feb 2011
Reputation:
256
I don’t see the pull request btw. Not sure if it was merged already.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 59
Joined: Jul 2015
Reputation:
0
Well I'm swimming in the dark here in spite of using the Git V2 manual.
Made the suggested change on my local repo.
Then committed and it appears in my remote repo.
Then pushed it. But now there are 2 commits.
The new one has the title "Modified as per comments"
I'm totally confused and feel really stupid....