[MAC] Compiling on OSX Lion / Xcode 4.1`

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
i5Js Offline
Senior Member
Posts: 227
Joined: Dec 2009
Reputation: 0
Post: #41
Thanks Davilla, I'll try it.
find quote
i5Js Offline
Senior Member
Posts: 227
Joined: Dec 2009
Reputation: 0
Post: #42
Well,I've followed the instructions, but I've got his error at the end of compiling:

Code:
/bin/sh -c /Users/i5Js/xbmc/build/XBMC-IOS.build/Release-iphoneos/XBMC.build/Script-3234980612AF0B3400657FF1.sh

iPhone Developer: no identity found
Command /bin/sh failed with exit code 1
Command /bin/sh failed with exit code 1
Touch build/Release-iphoneos/XBMC.app
    cd /Users/i5Js/xbmc
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:
/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin"
    /usr/bin/touch -c /Users/i5Js/xbmc/build/Release-iphoneos/XBMC.app

** BUILD FAILED **


The following build commands failed:
XBMC:
    PhaseScriptExecution codesign /Users/i5Js/xbmc/build/XBMC-IOS.build/Release-iphoneos/XBMC.build/Script-3234980612AF0B3400657FF1.sh
(1 failure)

Any ideas?

BR
(This post was last modified: 2012-05-27 19:35 by i5Js.)
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,397
Joined: Feb 2008
Reputation: 58
Post: #43
you erred in creating the cert and did not use the name 'iPhone Developer'


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
i5Js Offline
Senior Member
Posts: 227
Joined: Dec 2009
Reputation: 0
Post: #44
(2012-05-27 18:45)davilla Wrote:  you erred in creating the cert and did not use the name 'iPhone Developer'

Thanks again Davilla... New error Huh

Code:
/bin/sh -c /Users/i5Js/xbmc/build/XBMC-IOS.build/Release-iphoneos/XBMC.build/Script-3234980612AF0B3400657FF1.sh

/Users/i5Js/xbmc/build/Release-iphoneos/XBMC.app/: User interaction is not allowed.
Command /bin/sh failed with exit code 1
Command /bin/sh failed with exit code 1
Touch build/Release-iphoneos/XBMC.app
    cd /Users/i5Js/xbmc
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/opt/local/bin:/opt/local/sbin
:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin"
    /usr/bin/touch -c /Users/i5Js/xbmc/build/Release-iphoneos/XBMC.app

** BUILD FAILED **


The following build commands failed:
XBMC:
    PhaseScriptExecution codesign /Users/i5Js/xbmc/build/XBMC-IOS.build/Release-iphoneos/XBMC.build/Script-3234980612AF0B3400657FF1.sh
(1 failure)

BR
(This post was last modified: 2012-05-27 19:37 by i5Js.)
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,397
Joined: Feb 2008
Reputation: 58
Post: #45
http://imame4all.googlecode.com/svn-hist..._xcode.txt


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
i5Js Offline
Senior Member
Posts: 227
Joined: Dec 2009
Reputation: 0
Post: #46
(2012-05-27 19:41)davilla Wrote:  http://imame4all.googlecode.com/svn-hist..._xcode.txt

It's funny: using Xcode compile fine, but with command line give me that error... I don't know why!... Anyway, it worked, I'm going to test it.

Thanks for all Davilla.

BR
find quote
i5Js Offline
Senior Member
Posts: 227
Joined: Dec 2009
Reputation: 0
Post: #47
Hello again,

I'm trying to build xbmc for osx following the instructions, but it fail in the final step:

Code:
kaya:xbmc i5Js$ xcodebuild -sdk macosx10.4 -project XBMC.xcodeproj -target XBMC.app -configuration Release build
Build settings from command line:
    PLATFORM_NAME = macosx
    SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk


=== BUILD NATIVE TARGET XBMC OF PROJECT XBMC WITH CONFIGURATION Release ===
Check dependencies
LLVM GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file Application.cpp)
LLVM GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file Application.cpp)
Mac OS X deployment target '10.6' for architecture 'x86_64' and variant 'normal' is greater than the maximum value '10.4' for the Mac OS X 10.4 SDK.
[WARN]Mac OS X deployment target '10.6' for architecture 'x86_64' and variant 'normal' is greater than the maximum value '10.4' for the Mac OS X 10.4 SDK.
** BUILD FAILED **

I don't know why is using x64 and SDK 10.6 What's wrong??

Thx.
(This post was last modified: 2012-06-03 22:47 by i5Js.)
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,665
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #48
you are using sdk 10.4 - its not supported anymore ... use xcodebuild -sdk macosx10.6 or 10.7 if you are on lion ...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
i5Js Offline
Senior Member
Posts: 227
Joined: Dec 2009
Reputation: 0
Post: #49
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
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,397
Joined: Feb 2008
Reputation: 58
Post: #50
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 ?


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
Post Reply