Posts: 16,946
Joined: Feb 2011
Reputation:
256
you are using sdk 10.4 - its not supported anymore ... use xcodebuild -sdk macosx10.6 or 10.7 if you are on lion ...
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: 228
Joined: Dec 2009
Reputation:
0
i5Js
Senior Member
Posts: 228
So, I've to install lastest xcode? Because I've only 10.4,10.5 and 10.6 sdk installed...
Thanks for your answer.
BR
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
use 10.6 sdk, just like Memphiz said.
instead of
"kaya:xbmc i5Js$ xcodebuild -sdk macosx10.4 -project XBMC.xcodeproj -target XBMC.app -configuration Release build"
do
""kaya:xbmc i5Js$ xcodebuild -sdk macosx10.6 -project XBMC.xcodeproj -target XBMC.app -configuration Release build""
see the change ?
Posts: 16,946
Joined: Feb 2011
Reputation:
256
2012-06-04, 12:43
(This post was last modified: 2012-06-04, 12:43 by Memphiz.)
davilla i think the arch is missing in the xcodebuild command (should be i386 as he seems to just following the current readme). Not sure how this has to be done ... but i guess:
xcodebuild ARCHS=i386 ONLY_ACTIVE_ARCH=NO -sdk macosx10.6 -project XBMC.xcodeproj -target XBMC.app -configuration Release build
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: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
xcode 3.x needs 'ARCHS=i386' or 'ARCHS=x86_64' in the xcodebuild line. xcode4 has a -arch setting and that should be used under xcode4.
Posts: 16,946
Joined: Feb 2011
Reputation:
256
I bet a stale dependency ... just in case its something with metadata in AirTunes -
make -C tools/darwin/depends/libshairport distclean
make -C tools/darwin/depends/libshairport
then rerun the xcodebuild cmd.
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: 228
Joined: Dec 2009
Reputation:
0
i5Js
Senior Member
Posts: 228
Great!!!! Worked like a charm!!!
Thanks a lot Memphiz
Posts: 228
Joined: Dec 2009
Reputation:
0
i5Js
Senior Member
Posts: 228
one question, it would be better compile it for 64bits or 32bits?